{"id":"CVE-2026-23399","summary":"nf_tables: nft_dynset: fix possible stateful expression memleak in error path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnf_tables: nft_dynset: fix possible stateful expression memleak in error path\n\nIf cloning the second stateful expression in the element via GFP_ATOMIC\nfails, then the first stateful expression remains in place without being\nreleased.\n\n   unreferenced object (percpu) 0x607b97e9cab8 (size 16):\n     comm \"softirq\", pid 0, jiffies 4294931867\n     hex dump (first 16 bytes on cpu 3):\n       00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n     backtrace (crc 0):\n       pcpu_alloc_noprof+0x453/0xd80\n       nft_counter_clone+0x9c/0x190 [nf_tables]\n       nft_expr_clone+0x8f/0x1b0 [nf_tables]\n       nft_dynset_new+0x2cb/0x5f0 [nf_tables]\n       nft_rhash_update+0x236/0x11c0 [nf_tables]\n       nft_dynset_eval+0x11f/0x670 [nf_tables]\n       nft_do_chain+0x253/0x1700 [nf_tables]\n       nft_do_chain_ipv4+0x18d/0x270 [nf_tables]\n       nf_hook_slow+0xaa/0x1e0\n       ip_local_deliver+0x209/0x330","modified":"2026-07-15T01:48:58.143677130Z","published":"2026-03-28T07:16:09.888Z","related":["SUSE-SU-2026:21834-1","SUSE-SU-2026:21841-1","SUSE-SU-2026:21845-1","SUSE-SU-2026:21860-1","SUSE-SU-2026:21876-1","SUSE-SU-2026:21877-1","SUSE-SU-2026:21916-1","SUSE-SU-2026:21919-1","SUSE-SU-2026:2217-1","SUSE-SU-2026:2238-1","openSUSE-SU-2026:20826-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23399.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0548a13b5a145b16e4da0628b5936baf35f51b43"},{"type":"WEB","url":"https://git.kernel.org/stable/c/31641c682db73353e4647e40735c7f2a75ff58ef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4357dbb1d9c35ca0b4443d71c98a48e6666f7689"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c88a9fd26cee365bec932196f76175772a941cca"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1354873cbe3b344899c4311ac05897fd83e3f21"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e6661add2d9c6913e1dad97336595e23a2bed195"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb7bf413e59945df03d4567b73ce464eebe2f4ea"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23399.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23399"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"563125a73ac30d7036ae69ca35c40500562c1de4"},{"fixed":"eb7bf413e59945df03d4567b73ce464eebe2f4ea"},{"fixed":"4357dbb1d9c35ca0b4443d71c98a48e6666f7689"},{"fixed":"e6661add2d9c6913e1dad97336595e23a2bed195"},{"fixed":"d1354873cbe3b344899c4311ac05897fd83e3f21"},{"fixed":"31641c682db73353e4647e40735c7f2a75ff58ef"},{"fixed":"c88a9fd26cee365bec932196f76175772a941cca"},{"fixed":"0548a13b5a145b16e4da0628b5936baf35f51b43"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23399.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.209"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.175"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.136"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.78"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.20"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23399.json"}}],"schema_version":"1.7.5"}