CVE-2026-23399
Modified
Modified - Updated After Analysis
Memory Leak in Linux Kernel nf_tables Stateful Expression Handling
Publication date: 2026-03-28
Last updated on: 2026-06-01
Assigner: kernel.org
Description
Description
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
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | 5.11 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | From 6.13 (inc) to 6.18.20 (exc) |
| linux | linux_kernel | From 6.19 (inc) to 6.19.10 (exc) |
| linux | linux_kernel | From 5.11.1 (inc) to 6.12.78 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-401 | The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse. |