Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
30dc5e63d6a5ad24894b5512d10b228d73645a44 to < 52c13c63bb3662c108244e7447055e30bf40244eaffected30dc5e63d6a5ad24894b5512d10b228d73645a44 to < 8a91609032d47e77bcb37bc8f6e88d89340d2709affected30dc5e63d6a5ad24894b5512d10b228d73645a44 to < ce8a379598bd4058081416abea4279fd05a95374affected30dc5e63d6a5ad24894b5512d10b228d73645a44 to < 2fbac8a56004b6ce54fbfe845d4b25da6e0b55e8affected30dc5e63d6a5ad24894b5512d10b228d73645a44 to < 88e429a4e9bac3d2138011c5ca06254331f2587faffected30dc5e63d6a5ad24894b5512d10b228d73645a44 to < e15eb536be4f646ce683d2867572b2200be877f7affected30dc5e63d6a5ad24894b5512d10b228d73645a44 to < 117871cdb8927542abd7b65ce5995bf0265a8c05affected30dc5e63d6a5ad24894b5512d10b228d73645a44 to < 33fb59da49c4c3f5c2ec9f9d4447a56857a02c02affected
Linux Linux
Default version status: affected
3.16affected0 to < 3.16unaffected5.10.271 to ≤ 5.10.*unaffected5.15.222 to ≤ 5.15.*unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.112 to ≤ 6.12.*unaffected6.18.54 to ≤ 6.18.*unaffected7.2.8 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/52c13c63bb3662c108244e7447055e30bf40244e ↗
- https://git.kernel.org/stable/c/8a91609032d47e77bcb37bc8f6e88d89340d2709 ↗
- https://git.kernel.org/stable/c/ce8a379598bd4058081416abea4279fd05a95374 ↗
- https://git.kernel.org/stable/c/2fbac8a56004b6ce54fbfe845d4b25da6e0b55e8 ↗
- https://git.kernel.org/stable/c/88e429a4e9bac3d2138011c5ca06254331f2587f ↗
- https://git.kernel.org/stable/c/e15eb536be4f646ce683d2867572b2200be877f7 ↗
- https://git.kernel.org/stable/c/117871cdb8927542abd7b65ce5995bf0265a8c05 ↗
- https://git.kernel.org/stable/c/33fb59da49c4c3f5c2ec9f9d4447a56857a02c02 ↗