RDMA/core: fix refcount bug in iwpm_get_nlmsg_request()
- 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.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, 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: fix refcount bug in iwpm_get_nlmsg_request() iwpm_get_nlmsg_request() initializes refcount after list_add_tail() making it accessible to global list where another CPU can kref_get() on nlmsg_request causing a refcount "addition on 0" bug. Fix this by initializing kref before list_add_tail() so refcount for nlmsg_request can be incremented/decremented normally. In addition, also initialize every field before list_add_tail().
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 30dc5e63d6a5ad24894b5512d10b228d73645a44 · fixed in 52c13c63bb3662c108244e7447055e30bf40244e; From 30dc5e63d6a5ad24894b5512d10b228d73645a44 · fixed in 8a91609032d47e77bcb37bc8f6e88d89340d2709; From 30dc5e63d6a5ad24894b5512d10b228d73645a44 · fixed in ce8a379598bd4058081416abea4279fd05a95374; From 30dc5e63d6a5ad24894b5512d10b228d73645a44 · fixed in 2fbac8a56004b6ce54fbfe845d4b25da6e0b55e8; From 30dc5e63d6a5ad24894b5512d10b228d73645a44 · fixed in 88e429a4e9bac3d2138011c5ca06254331f2587f; From 30dc5e63d6a5ad24894b5512d10b228d73645a44 · fixed in e15eb536be4f646ce683d2867572b2200be877f7; From 30dc5e63d6a5ad24894b5512d10b228d73645a44 · fixed in 117871cdb8927542abd7b65ce5995bf0265a8c05; From 30dc5e63d6a5ad24894b5512d10b228d73645a44 · fixed in 33fb59da49c4c3f5c2ec9f9d4447a56857a02c02
- Linux Linux
3.16
- KernelLinux
From 3.16.0 · fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.54; From 6.19.0 · fixed in 7.2.8
References 8
git.kernel.org
- stable/c/52c13c63bb3662c108244e7447055e30bf40244e
- stable/c/8a91609032d47e77bcb37bc8f6e88d89340d2709
- stable/c/ce8a379598bd4058081416abea4279fd05a95374
- stable/c/2fbac8a56004b6ce54fbfe845d4b25da6e0b55e8
- stable/c/88e429a4e9bac3d2138011c5ca06254331f2587f
- stable/c/e15eb536be4f646ce683d2867572b2200be877f7
- stable/c/117871cdb8927542abd7b65ce5995bf0265a8c05
- stable/c/33fb59da49c4c3f5c2ec9f9d4447a56857a02c02