Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
8b6a361b8c482f22ac99c3273285ff16b23fba91 to < ab61841633d10e56a58c1493a262f0d02dba2f5eaffected8b6a361b8c482f22ac99c3273285ff16b23fba91 to < 8564dcc12fbb372d984ab45768cae9335777b274affected8b6a361b8c482f22ac99c3273285ff16b23fba91 to < ab957056192d6bd068b3759cb2077d859cca01f0affected8b6a361b8c482f22ac99c3273285ff16b23fba91 to < ffba40b67663567481fa8a1ed5d2da36897c175daffected8b6a361b8c482f22ac99c3273285ff16b23fba91 to < 87b7a036d2c73d5bb3ae2d47dee23de465db3355affected8b6a361b8c482f22ac99c3273285ff16b23fba91 to < 714c99e1dc8f85f446e05be02ba83972e981a817affected8b6a361b8c482f22ac99c3273285ff16b23fba91 to < ce025f7f5d070596194315eb2e4e89d568b8a755affected8b6a361b8c482f22ac99c3273285ff16b23fba91 to < 14ab3da122bd18920ad57428f6cf4fade8385142affected
Linux Linux
Default version status: affected
5.3affected0 to < 5.3unaffected5.10.252 to ≤ 5.10.*unaffected5.15.202 to ≤ 5.15.*unaffected6.1.165 to ≤ 6.1.*unaffected6.6.128 to ≤ 6.6.*unaffected6.12.75 to ≤ 6.12.*unaffected6.18.14 to ≤ 6.18.*unaffected6.19.4 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/ab61841633d10e56a58c1493a262f0d02dba2f5e ↗
- https://git.kernel.org/stable/c/8564dcc12fbb372d984ab45768cae9335777b274 ↗
- https://git.kernel.org/stable/c/ab957056192d6bd068b3759cb2077d859cca01f0 ↗
- https://git.kernel.org/stable/c/ffba40b67663567481fa8a1ed5d2da36897c175d ↗
- https://git.kernel.org/stable/c/87b7a036d2c73d5bb3ae2d47dee23de465db3355 ↗
- https://git.kernel.org/stable/c/714c99e1dc8f85f446e05be02ba83972e981a817 ↗
- https://git.kernel.org/stable/c/ce025f7f5d070596194315eb2e4e89d568b8a755 ↗
- https://git.kernel.org/stable/c/14ab3da122bd18920ad57428f6cf4fade8385142 ↗
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html ↗
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html ↗
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html ↗