CVE-2026-23399
nf_tables: nft_dynset: fix possible stateful expression memleak in error path
Reported by linux · Published March 28, 2026
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
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-livepatch-6.1.175-219.357 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel-modules-extra | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
| Linux | Linux | d1354873cbe3b344899c4311ac05897fd83e3f21, c88a9fd26cee365bec932196f76175772a941cca, 5.11, 31641c682db73353e4647e40735c7f2a75ff58ef, 0548a13b5a145b16e4da0628b5936baf35f51b43 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 563125a73ac30d7036ae69ca35c40500562c1de4, 563125a73ac30d7036ae69ca35c40500562c1de4, 563125a73ac30d7036ae69ca35c40500562c1de4 |
| Linux | Linux | 5.11, 0, 5.15.209 |
| amazon:2023 | kernel-livepatch-6.1.175-219.357 | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.6, 3.1.7 |
| amazon:2023 | bpftool6.12 | 0 |
| linux | linux_kernel | 5.11, 5.11, 5.11 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | 3.1.6, 3.1.7 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-devel | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | 3.1.7, 3.1.6 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | perf6.18 | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.7, 3.1.6 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel-livepatch-6.12.79-101.147 | 0 |
…and 32 more
Timeline
- Mar 28, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 28, 2026 CVE Published
- Mar 28, 2026 PoC Published
- Mar 29, 2026 Security Advisory (25 in total, the first dated here)
- Apr 27, 2026 CVE Updated
- May 18, 2026 EPSS Score (22 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (23 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-23399
vulnetix vdb fixes CVE-2026-23399
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-23399/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart