Linux
RDMA/siw: Fix potential NULL pointer dereference in header processing
In the Linux kernel, the following vulnerability has been resolved: RDMA/siw: Fix potential NULL pointer dereference in header processing If siw_get_hdr() returns -EINVAL before set_rx_fpdu_context(), qp->rx_fpdu can be NULL. The error path in siw_tcp_rx_data() dereferences qp->rx_fpdu->more_ddp_segs without checking, which may lead to a NULL pointer deref. Only check more_ddp_segs when rx_fpdu is present. KASAN splat: [ 101.384271] KASAN: null-ptr-deref in range [0x00000000000000c0-0x00000000000000c7] [ 101.385869] RIP: 0010:siw_tcp_rx_data+0x13ad/0x1e50
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8b6a361b8c482f22ac99c3273285ff16b23fba91, < ab61841633d10e56a58c1493a262f0d02dba2f5e
- >= 8b6a361b8c482f22ac99c3273285ff16b23fba91, < 8564dcc12fbb372d984ab45768cae9335777b274
- >= 8b6a361b8c482f22ac99c3273285ff16b23fba91, < ab957056192d6bd068b3759cb2077d859cca01f0
- >= 8b6a361b8c482f22ac99c3273285ff16b23fba91, < ffba40b67663567481fa8a1ed5d2da36897c175d
- >= 8b6a361b8c482f22ac99c3273285ff16b23fba91, < 87b7a036d2c73d5bb3ae2d47dee23de465db3355
- >= 8b6a361b8c482f22ac99c3273285ff16b23fba91, < 714c99e1dc8f85f446e05be02ba83972e981a817
- >= 8b6a361b8c482f22ac99c3273285ff16b23fba91, < ce025f7f5d070596194315eb2e4e89d568b8a755
- >= 8b6a361b8c482f22ac99c3273285ff16b23fba91, < 14ab3da122bd18920ad57428f6cf4fade8385142
Fixed in ab61841633d10e56a58c1493a262f0d02dba2f5e, 8564dcc12fbb372d984ab45768cae9335777b274, ab957056192d6bd068b3759cb2077d859cca01f0, ffba40b67663567481fa8a1ed5d2da36897c175d, 87b7a036d2c73d5bb3ae2d47dee23de465db3355, 714c99e1dc8f85f446e05be02ba83972e981a817, ce025f7f5d070596194315eb2e4e89d568b8a755, 14ab3da122bd18920ad57428f6cf4fade8385142
- 5.3
Fixed in 0, 5.10.252, 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.14, 6.19.4, 7.0
Mitigation
Upgrade Linux to ab61841633d10e56a58c1493a262f0d02dba2f5e or 8564dcc12fbb372d984ab45768cae9335777b274 or ab957056192d6bd068b3759cb2077d859cca01f0 or ffba40b67663567481fa8a1ed5d2da36897c175d or 87b7a036d2c73d5bb3ae2d47dee23de465db3355 or 714c99e1dc8f85f446e05be02ba83972e981a817 or ce025f7f5d070596194315eb2e4e89d568b8a755 or 14ab3da122bd18920ad57428f6cf4fade8385142 or later.
Upgrade Linux to 0 or 5.10.252 or 5.15.202 or 6.1.165 or 6.6.128 or 6.12.75 or 6.18.14 or 6.19.4 or 7.0 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.