netfilter: nfnetlink_log: cope with concurrent instance destruction
- 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.111, 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: netfilter: nfnetlink_log: cope with concurrent instance destruction Instances are refcounted. However, only memory release happens on the 1 -> 0 transition; the unlink from hashes can occur with any refcount. Uncooperative userspace can force a situation where a queue is pending for destruction from netlink event while a different socket with same portid processes an UNBIND request. With right timing, this will unhash the instance again: Oops: general protection fault, [..] Call Trace: <TASK> nfulnl_recv_config+0x31a/0xd50 nfnetlink_rcv_msg+0x7c2/0xeb0
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 0597f2680d666a3bcf101ac0c771ba7e50016bbd · fixed in c5c89beaa628d6ac527c6eb2e01b2b52eb417f59; From 0597f2680d666a3bcf101ac0c771ba7e50016bbd · fixed in 042465e7d3d3127e21f04e42c1639e2518b98915; From 0597f2680d666a3bcf101ac0c771ba7e50016bbd · fixed in 291685fc8d2e4cf75ed3a23c810883653f407f46; From 0597f2680d666a3bcf101ac0c771ba7e50016bbd · fixed in 3161186a2ff81288e9a5f35daf1911153764ecae; From 0597f2680d666a3bcf101ac0c771ba7e50016bbd · fixed in 0234d7ca0317be0a623300e1693cd794bbfdf8af; From 0597f2680d666a3bcf101ac0c771ba7e50016bbd · fixed in 1a7a8ac9a9f0ad0d410c901cb6f233833518844c; From 0597f2680d666a3bcf101ac0c771ba7e50016bbd · fixed in e2dd0f1f8c4e6334699ea6382e52f6da0c7e45eb; From 0597f2680d666a3bcf101ac0c771ba7e50016bbd · fixed in 387d744fa7e499d2c3748a4e60e02ebb24e7fb16
- Linux Linux
2.6.14
- KernelLinux
From 2.6.14 · 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.111; From 6.13.0 · fixed in 6.18.53; From 6.19.0 · fixed in 7.2.7
References 8
git.kernel.org
- stable/c/c5c89beaa628d6ac527c6eb2e01b2b52eb417f59
- stable/c/042465e7d3d3127e21f04e42c1639e2518b98915
- stable/c/291685fc8d2e4cf75ed3a23c810883653f407f46
- stable/c/3161186a2ff81288e9a5f35daf1911153764ecae
- stable/c/0234d7ca0317be0a623300e1693cd794bbfdf8af
- stable/c/1a7a8ac9a9f0ad0d410c901cb6f233833518844c
- stable/c/e2dd0f1f8c4e6334699ea6382e52f6da0c7e45eb
- stable/c/387d744fa7e499d2c3748a4e60e02ebb24e7fb16