RDMA/core: Wait for RCU callbacks before unloading ib_core
- 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.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, 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
Summary
In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Wait for RCU callbacks before unloading ib_core put_gid_ndev() is queued with call_rcu() and implemented in ib_core. Stopping the workqueues does not drain callbacks already queued, so RCU could invoke it after the module code has been unloaded. synchronize_rcu() does not wait for callbacks. Wait for them after all producers have stopped.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 943bd984b108b3bb778790c2da4ae8d186b547e6 · fixed in 82dfd1df456227279b1c8c648983a530f2612098; From 943bd984b108b3bb778790c2da4ae8d186b547e6 · fixed in 1646e123e56c3ad679fbfb571e8eef6386efb729; From 943bd984b108b3bb778790c2da4ae8d186b547e6 · fixed in 8e4f1677c09d75d738099f42afcf65d8587b664a; From 943bd984b108b3bb778790c2da4ae8d186b547e6 · fixed in 7853af5f15738dc00aebaa1fc9f1f0df40f6f603; From 943bd984b108b3bb778790c2da4ae8d186b547e6 · fixed in 0d5817fa4819abdc445fa77b5be4f0d49334a864; From 943bd984b108b3bb778790c2da4ae8d186b547e6 · fixed in 9d998297fdaf47492f6679287f6552879d1a7e3a; From 943bd984b108b3bb778790c2da4ae8d186b547e6 · fixed in 48b72fa0d209a92fb51b834a6080171cfa207b2c; From 943bd984b108b3bb778790c2da4ae8d186b547e6 · fixed in 7d75592114d1664623c8cf191a12b38052c04483
- Linux Linux
5.2
- KernelLinux
From 5.2.0 · fixed in 5.10.270; From 5.11.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 8
git.kernel.org
- stable/c/82dfd1df456227279b1c8c648983a530f2612098
- stable/c/1646e123e56c3ad679fbfb571e8eef6386efb729
- stable/c/8e4f1677c09d75d738099f42afcf65d8587b664a
- stable/c/7853af5f15738dc00aebaa1fc9f1f0df40f6f603
- stable/c/0d5817fa4819abdc445fa77b5be4f0d49334a864
- stable/c/9d998297fdaf47492f6679287f6552879d1a7e3a
- stable/c/48b72fa0d209a92fb51b834a6080171cfa207b2c
- stable/c/7d75592114d1664623c8cf191a12b38052c04483