nf_tables: nft_dynset: fix possible stateful expression memleak in error path
- 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.15.209, 6.1.175, 6.6.136, 6.12.78, 6.18.20, and 1 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: nf_tables: nft_dynset: fix possible stateful expression memleak in error path If cloning the second stateful expression in the element via GFP_ATOMIC fails, then the first stateful expression remains in place without being released. unreferenced object (percpu) 0x607b97e9cab8 (size 16): comm "softirq", pid 0, jiffies 4294931867 hex dump (first 16 bytes on cpu 3): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 backtrace (crc 0): pcpu_alloc_noprof+0x453/0xd80 nft_counter_clone+0x9c/0x190 [nf_tables] nft_expr_clone+0x8f/0x1b0 [nf_tables] nft_dynset_new+0x2cb/0x5f0 [nf_tables] nft_rhash_update+0x236/0x11c0 [nf_tables] nft_dynset_eval+0x11f/0x670 [nf_tables] nft_do_chain+0x253/0x1700 [nf_tables] nft_do_chain_ipv4+0x18d/0x270 [nf_tables] nf_hook_slow+0xaa/0x1e0 ip_local_deliver+0x209/0x330
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 563125a73ac30d7036ae69ca35c40500562c1de4 · fixed in eb7bf413e59945df03d4567b73ce464eebe2f4ea; From 563125a73ac30d7036ae69ca35c40500562c1de4 · fixed in 4357dbb1d9c35ca0b4443d71c98a48e6666f7689; From 563125a73ac30d7036ae69ca35c40500562c1de4 · fixed in e6661add2d9c6913e1dad97336595e23a2bed195; From 563125a73ac30d7036ae69ca35c40500562c1de4 · fixed in d1354873cbe3b344899c4311ac05897fd83e3f21; From 563125a73ac30d7036ae69ca35c40500562c1de4 · fixed in 31641c682db73353e4647e40735c7f2a75ff58ef; From 563125a73ac30d7036ae69ca35c40500562c1de4 · fixed in c88a9fd26cee365bec932196f76175772a941cca; From 563125a73ac30d7036ae69ca35c40500562c1de4 · fixed in 0548a13b5a145b16e4da0628b5936baf35f51b43
- Linux Linux
5.11
- KernelLinux
From 5.11.0 · fixed in 5.15.209; From 5.16.0 · fixed in 6.1.175; From 6.2.0 · fixed in 6.6.136; From 6.7.0 · fixed in 6.12.78; From 6.13.0 · fixed in 6.18.20; From 6.19.0 · fixed in 6.19.10
References 7
git.kernel.org
- stable/c/eb7bf413e59945df03d4567b73ce464eebe2f4ea
- stable/c/4357dbb1d9c35ca0b4443d71c98a48e6666f7689
- stable/c/e6661add2d9c6913e1dad97336595e23a2bed195
- stable/c/d1354873cbe3b344899c4311ac05897fd83e3f21
- stable/c/31641c682db73353e4647e40735c7f2a75ff58ef
- stable/c/c88a9fd26cee365bec932196f76175772a941cca
- stable/c/0548a13b5a145b16e4da0628b5936baf35f51b43