RDMA/hfi1: Free RX data on late probe failure
- 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.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.52, and 1 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
Summary
In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: Free RX data on late probe failure hfi1_init_dd() allocates the shared AIP/VNIC RX support before returning. If hfi1_init() or hfi1_register_ib_device() later fails, init_one() tears down the device data without calling hfi1_free_rx(). This leaks netdev_rx and its dummy netdev. Free the RX support after IB unregistration and before postinit_cleanup(), as done on normal device removal.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 4730f4a6c6b2065589c0822af00aa45e639bbc36 · fixed in cfad037c6d305876b877abc39fd4d7e2185e44f3; From 4730f4a6c6b2065589c0822af00aa45e639bbc36 · fixed in d1c91cb02e05fdd93411de707cc5c3c08375df9e; From 4730f4a6c6b2065589c0822af00aa45e639bbc36 · fixed in 10e5e37495096b58f07adc4020de2701efc3a9e0; From 4730f4a6c6b2065589c0822af00aa45e639bbc36 · fixed in cd06c17afb08b37995f66cf560c2332a769b8f80; From 4730f4a6c6b2065589c0822af00aa45e639bbc36 · fixed in 149a14ec70887ad14e820a7ca15738ded3d2d493; From 4730f4a6c6b2065589c0822af00aa45e639bbc36 · fixed in 83fe4e4f4fbf01d3832a24511c0ddfaccf5df9d8; From 4730f4a6c6b2065589c0822af00aa45e639bbc36 · fixed in 8e17e101e04a3dc062e2719da57ff78c1c060632
- Linux Linux
5.8
- KernelLinux
From 5.8.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6
References 7
git.kernel.org
- stable/c/cfad037c6d305876b877abc39fd4d7e2185e44f3
- stable/c/d1c91cb02e05fdd93411de707cc5c3c08375df9e
- stable/c/10e5e37495096b58f07adc4020de2701efc3a9e0
- stable/c/cd06c17afb08b37995f66cf560c2332a769b8f80
- stable/c/149a14ec70887ad14e820a7ca15738ded3d2d493
- stable/c/83fe4e4f4fbf01d3832a24511c0ddfaccf5df9d8
- stable/c/8e17e101e04a3dc062e2719da57ff78c1c060632