RDMA/core: fix refcount bug in iwpm_get_nlmsg_request()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e15eb536be4f646ce683d2867572b2200be877f7, Kernel 117871cdb8927542abd7b65ce5995bf0265a8c05, Kernel 2fbac8a56004b6ce54fbfe845d4b25da6e0b55e8 and 12 more.
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().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=30dc5e63d6a5ad24894b5512d10b228d73645a44 <e15eb536be4f646ce683d2867572b2200be877f7, >=30dc5e63d6a5ad24894b5512d10b228d73645a44 <117871cdb8927542abd7b65ce5995bf0265a8c05, >=30dc5e63d6a5ad24894b5512d10b228d73645a44 <2fbac8a56004b6ce54fbfe845d4b25da6e0b55e8, >=30dc5e63d6a5ad24894b5512d10b228d73645a44 <33fb59da49c4c3f5c2ec9f9d4447a56857a02c02, >=30dc5e63d6a5ad24894b5512d10b228d73645a44 <52c13c63bb3662c108244e7447055e30bf40244e, >=30dc5e63d6a5ad24894b5512d10b228d73645a44 <88e429a4e9bac3d2138011c5ca06254331f2587f, >=30dc5e63d6a5ad24894b5512d10b228d73645a44 <8a91609032d47e77bcb37bc8f6e88d89340d2709, >=30dc5e63d6a5ad24894b5512d10b228d73645a44 <ce8a379598bd4058081416abea4279fd05a95374, =3.16 | e15eb536be4f646ce683d2867572b2200be877f7, 117871cdb8927542abd7b65ce5995bf0265a8c05, 2fbac8a56004b6ce54fbfe845d4b25da6e0b55e8, 33fb59da49c4c3f5c2ec9f9d4447a56857a02c02, 52c13c63bb3662c108244e7447055e30bf40244e, 88e429a4e9bac3d2138011c5ca06254331f2587f, 8a91609032d47e77bcb37bc8f6e88d89340d2709, ce8a379598bd4058081416abea4279fd05a95374 |
| linux-kernel: Kernel | >=5.11.0 <5.15.222, >=5.16.0 <6.1.189, >=6.13.0 <6.18.54, >=6.19.0 <7.2.8, >=6.2.0 <6.6.158, >=6.7.0 <6.12.112, >=3.16.0 <5.10.271 | 5.15.222, 6.1.189, 6.18.54, 7.2.8, 6.6.158, 6.12.112, 5.10.271 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket