RDMA/siw: Fix potential NULL pointer dereference in header processing
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.252, 5.15.202, 6.1.165, 6.6.128, 6.12.75, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
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
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 8b6a361b8c482f22ac99c3273285ff16b23fba91 · fixed in ab61841633d10e56a58c1493a262f0d02dba2f5e; From 8b6a361b8c482f22ac99c3273285ff16b23fba91 · fixed in 8564dcc12fbb372d984ab45768cae9335777b274; From 8b6a361b8c482f22ac99c3273285ff16b23fba91 · fixed in ab957056192d6bd068b3759cb2077d859cca01f0; From 8b6a361b8c482f22ac99c3273285ff16b23fba91 · fixed in ffba40b67663567481fa8a1ed5d2da36897c175d; From 8b6a361b8c482f22ac99c3273285ff16b23fba91 · fixed in 87b7a036d2c73d5bb3ae2d47dee23de465db3355; From 8b6a361b8c482f22ac99c3273285ff16b23fba91 · fixed in 714c99e1dc8f85f446e05be02ba83972e981a817; From 8b6a361b8c482f22ac99c3273285ff16b23fba91 · fixed in ce025f7f5d070596194315eb2e4e89d568b8a755; From 8b6a361b8c482f22ac99c3273285ff16b23fba91 · fixed in 14ab3da122bd18920ad57428f6cf4fade8385142
- Linux Linux
5.3
- KernelLinux
From 5.3.0 · fixed in 5.10.252; From 5.11.0 · fixed in 5.15.202; From 5.16.0 · fixed in 6.1.165; From 6.2.0 · fixed in 6.6.128; From 6.7.0 · fixed in 6.12.75; From 6.13.0 · fixed in 6.18.14; From 6.19.0 · fixed in 6.19.4
References 8
git.kernel.org
- stable/c/ab61841633d10e56a58c1493a262f0d02dba2f5e
- stable/c/8564dcc12fbb372d984ab45768cae9335777b274
- stable/c/ab957056192d6bd068b3759cb2077d859cca01f0
- stable/c/ffba40b67663567481fa8a1ed5d2da36897c175d
- stable/c/87b7a036d2c73d5bb3ae2d47dee23de465db3355
- stable/c/714c99e1dc8f85f446e05be02ba83972e981a817
- stable/c/ce025f7f5d070596194315eb2e4e89d568b8a755
- stable/c/14ab3da122bd18920ad57428f6cf4fade8385142