# CVE-2026-23385: netfilter: nf_tables: clone set on flush only

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 7% of CVEs (2026-11-30)
- Published: 2026-03-25T10:28:03.460Z
- Modified: 2026-10-30T13:18:37.993Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nf_tables: clone set on flush only

Syzbot with fault injection triggered a failing memory allocation with
GFP_KERNEL which results in a WARN splat:

iter.err
WARNING: net/netfilter/nf_tables_api.c:845 at nft_map_deactivate+0x34e/0x3c0 net/netfilter/nf_tables_api.c:845, CPU#0: syz.0.17/5992
Modules linked in:
CPU: 0 UID: 0 PID: 5992 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:nft_map_deactivate+0x34e/0x3c0 net/netfilter/nf_tables_api.c:845
Code: 8b 05 86 5a 4e 09 48 3b 84 24 a0 00 00 00 75 62 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc e8 63 6d fa f7 90 <0f> 0b 90 43
+80 7c 35 00 00 0f 85 23 fe ff ff e9 26 fe ff ff 89 d9
RSP: 0018:ffffc900045af780 EFLAGS: 00010293
RAX: ffffffff89ca45bd RBX: 00000000fffffff4 RCX: ffff888028111e40
RDX: 0000000000000000 RSI: 00000000fffffff4 RDI: 0000000000000000
RBP: ffffc900045af870 R08: 0000000000400dc0 R09: 00000000ffffffff
R10: dffffc0000000000 R11: fffffbfff1d141db R12: ffffc900045af7e0
R13: 1ffff920008b5f24 R14: dffffc0000000000 R15: ffffc900045af920
FS:  000055557a6a5500(0000) GS:ffff888125496000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb5ea271fc0 CR3: 000000003269e000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 __nft_release_table+0xceb/0x11f0 net/netfilter/nf_tables_api.c:12115
 nft_rcv_nl_event+0xc25/0xdb0 net/netfilter/nf_tables_api.c:12187
 notifier_call_chain+0x19d/0x3a0 kernel/notifier.c:85
 blocking_notifier_call_chain+0x6a/0x90 kernel/notifier.c:380
 netlink_release+0x123b/0x1ad0 net/netlink/af_netlink.c:761
 __sock_release net/socket.c:662 [inline]
 sock_close+0xc3/0x240 net/socket.c:1455

Restrict set clone to the flush set command in the preparation phase.
Add NFT_ITER_UPDATE_CLONE and use it for this purpose, update the rbtree
and pipapo backends to only clone the set when this iteration type is
used.

As for the existing NFT_ITER_UPDATE type, update the pipapo backend to
use the existing set clone if available, otherwise use the existing set
representation. After this update, there is no need to clone a set that
is being deleted, this includes bound anonymous set.

An alternative approach to NFT_ITER_UPDATE_CLONE is to add a .clone
interface and call it from the flush set path.

(As written by CVE List.)

## Affected

- Linux Linux: from 11fb04a111934eb8fbed077cd943719ed16c6447 before 9e63e1c2b171d30f5351b89b0a5d3926902f9ca6; from 744dc9a47a8458ed49becd6123a092c7dae82b8b before e38f054f0af98224003e600545726fbd96379cfb; from 3f1d886cc7c3525d4dbeee24bfa9bb3fe0d48ddc before 454306ceb94dc47a52443181082c91204c007a74; from 3f1d886cc7c3525d4dbeee24bfa9bb3fe0d48ddc before 9154945a6394029822bd08c24cef5a3f86d0424a; from 3f1d886cc7c3525d4dbeee24bfa9bb3fe0d48ddc before b7f67282ca2be14b727dd698b50e10cf5d8c66f9; from 3f1d886cc7c3525d4dbeee24bfa9bb3fe0d48ddc before fb7fb4016300ac622c964069e286dc83166a5d52; 7c80229aa6e2707e59aa80cc041127cf9a79bcc9; from 6.1.184 before 6.1.191; from 6.6.148 before 6.6.151; from 5.15.217 before 5.16; 6.10 (not affected: before 6.10; from 6.1.191 up to 6.1.*; from 6.6.151 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.17 up to 6.18.*; from 6.19.7 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.10.1 before 6.18.17; from 6.19 before 6.19.7; 6.10; 7.0

## References

- <https://git.kernel.org/stable/c/9e63e1c2b171d30f5351b89b0a5d3926902f9ca6>
- <https://git.kernel.org/stable/c/e38f054f0af98224003e600545726fbd96379cfb>
- <https://git.kernel.org/stable/c/454306ceb94dc47a52443181082c91204c007a74>
- <https://git.kernel.org/stable/c/9154945a6394029822bd08c24cef5a3f86d0424a> (patch)
- <https://git.kernel.org/stable/c/b7f67282ca2be14b727dd698b50e10cf5d8c66f9> (patch)
- <https://git.kernel.org/stable/c/fb7fb4016300ac622c964069e286dc83166a5d52> (patch)

## Sources

- CVE List: [CVE-2026-23385](https://www.cve.org/CVERecord?id=CVE-2026-23385), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-23385](https://nvd.nist.gov/vuln/detail/CVE-2026-23385), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-23385 · Whole record: https://cve.day/CVE-2026-23385.json · Rebuilt by cve.day 2026-11-25T22:59:16.705Z
