CVE-2026-23399

nf_tables: nft_dynset: fix possible stateful expression memleak in error path

State
Published
Severity
Not scored
Published
Mar 28, 2026
Updated
Oct 15, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 563125a73ac30d7036ae69ca35c40500562c1de4 to before eb7bf413e59945df03d4567b73ce464eebe2f4eaAffected
  • 563125a73ac30d7036ae69ca35c40500562c1de4 to before 4357dbb1d9c35ca0b4443d71c98a48e6666f7689Affected
  • 563125a73ac30d7036ae69ca35c40500562c1de4 to before e6661add2d9c6913e1dad97336595e23a2bed195Affected
  • 563125a73ac30d7036ae69ca35c40500562c1de4 to before d1354873cbe3b344899c4311ac05897fd83e3f21Affected
  • 563125a73ac30d7036ae69ca35c40500562c1de4 to before 31641c682db73353e4647e40735c7f2a75ff58efAffected
  • 563125a73ac30d7036ae69ca35c40500562c1de4 to before c88a9fd26cee365bec932196f76175772a941ccaAffected
  • 563125a73ac30d7036ae69ca35c40500562c1de4 to before 0548a13b5a145b16e4da0628b5936baf35f51b43Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.136 through 6.6.*Not affected
  • 6.12.78 through 6.12.*Not affected
  • 6.18.20 through 6.18.*Not affected
  • 6.19.10 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.