netfilter: nfnetlink_queue: hold nfnl mutex in event notifier
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 07a3ec8fdc5a1267c00cd6fd1cf8bbb5cda913c1, Kernel 1d1184411599a7c2217560bab3bbe641c6d03b95, Kernel 2e9be1302f25c9be51c2fb8c907bc6d8a1050e33 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: netfilter: nfnetlink_queue: hold nfnl mutex in event notifier We must serialize the release notifier and the config netlink function. A concurrent thread can issue close() which can call the release function while unrelated socket processes UNBIND request for same portid: Oops: general protection fault, [..] RIP: 0010:__instance_destroy+0x60/0x210 [nfnetlink_queue] Call Trace: nfqnl_recv_config+0x9b0/0xdc0 [nfnetlink_queue] nfnetlink_rcv_msg+0x7c2/0xeb0 ? __pfx_nfnetlink_rcv_msg+0x10/0x10 After this, parallel UNBIND and URELEASE events are impossible. This change isn't nice, but its the shortest fix given instances are not refcounted and the nfnetlink config callback drops the rcu read lock early due to need for sleeping allocations.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =2.6.14, >=7af4cc3fa158ff1dda6e7451c7e6afa6b0bb85cb <07a3ec8fdc5a1267c00cd6fd1cf8bbb5cda913c1, >=7af4cc3fa158ff1dda6e7451c7e6afa6b0bb85cb <1d1184411599a7c2217560bab3bbe641c6d03b95, >=7af4cc3fa158ff1dda6e7451c7e6afa6b0bb85cb <2e9be1302f25c9be51c2fb8c907bc6d8a1050e33, >=7af4cc3fa158ff1dda6e7451c7e6afa6b0bb85cb <46432f2e76f7c385d82506304a2928e7d293289f, >=7af4cc3fa158ff1dda6e7451c7e6afa6b0bb85cb <597320337c3da06c92a9e95cfc755da66fedc476, >=7af4cc3fa158ff1dda6e7451c7e6afa6b0bb85cb <8137a39e08e838ced234044384740ceeb99ed388, >=7af4cc3fa158ff1dda6e7451c7e6afa6b0bb85cb <9461613afc59acef44a0071b0dd5075f6e993ffe, >=7af4cc3fa158ff1dda6e7451c7e6afa6b0bb85cb <d559e06a5ab7c064100aafd5c826eadd0f1c6216 | 07a3ec8fdc5a1267c00cd6fd1cf8bbb5cda913c1, 1d1184411599a7c2217560bab3bbe641c6d03b95, 2e9be1302f25c9be51c2fb8c907bc6d8a1050e33, 46432f2e76f7c385d82506304a2928e7d293289f, 597320337c3da06c92a9e95cfc755da66fedc476, 8137a39e08e838ced234044384740ceeb99ed388, 9461613afc59acef44a0071b0dd5075f6e993ffe, d559e06a5ab7c064100aafd5c826eadd0f1c6216 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket