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.
https://git.kernel.org/stable/c/d559e06a5ab7c064100aafd5c826eadd0f1c6216
https://git.kernel.org/stable/c/9461613afc59acef44a0071b0dd5075f6e993ffe
https://git.kernel.org/stable/c/8137a39e08e838ced234044384740ceeb99ed388
https://git.kernel.org/stable/c/597320337c3da06c92a9e95cfc755da66fedc476
https://git.kernel.org/stable/c/46432f2e76f7c385d82506304a2928e7d293289f
https://git.kernel.org/stable/c/2e9be1302f25c9be51c2fb8c907bc6d8a1050e33
https://git.kernel.org/stable/c/1d1184411599a7c2217560bab3bbe641c6d03b95
https://git.kernel.org/stable/c/07a3ec8fdc5a1267c00cd6fd1cf8bbb5cda913c1