CVE-2026-80837

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2026
Last modified:
30/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> netfilter: nf_tables: don&amp;#39;t queue packet path object notifications<br /> <br /> All file:line references below are against v7.2-rc4 (ac5b0e5651b1). The<br /> trace was captured on 7.2.0-rc6-kasan72rc6 (075b74841bd0), where the same<br /> lines apply.<br /> <br /> nft_obj_notify() is exported and reached from the packet path. Its only<br /> in-tree caller is nft_quota_obj_eval() (net/netfilter/nft_quota.c:68),<br /> which notifies with GFP_ATOMIC while evaluating a rule for a transiting<br /> packet, holding no mutex.<br /> <br /> Since commit 67cc570edaa0 ("netfilter: nf_tables: coalesce multiple<br /> notifications into one skbuff") that notification is no longer sent<br /> immediately. __nft_obj_notify() queues it onto nft_net-&gt;notify_list via<br /> nft_notify_enqueue() (net/netfilter/nf_tables_api.c:1211), which is a bare<br /> list_add_tail(). notify_list has no lock of its own<br /> (include/net/netfilter/nf_tables.h:1951), it is serialised by commit_mutex:<br /> the six other enqueue sites all run inside a netlink transaction, and the<br /> drain in nft_commit_notify() (net/netfilter/nf_tables_api.c:10746) does<br /> list_del() + kfree_skb() from nf_tables_commit() with commit_mutex held.<br /> <br /> Sending packets through a chain that references a depleted quota object<br /> therefore races an unlocked list_add_tail() against list_del() +<br /> kfree_skb() on another CPU. The WRITE_ONCE(prev-&gt;next, new) in __list_add()<br /> then stores through an sk_buff that has already been freed:<br /> <br /> BUG: KASAN: slab-use-after-free in __nft_obj_notify+0x2c5/0x2d0<br /> Write of size 8 at addr ff110001047183c0 by task poc/76<br /> CPU: 0 UID: 1000 PID: 76 Comm: poc Tainted: G W 7.2.0-rc6-kasan72rc6 #4<br /> Call Trace:<br /> <br /> __nft_obj_notify (include/linux/list.h:164 include/linux/list.h:191<br /> net/netfilter/nf_tables_api.c:1211<br /> net/netfilter/nf_tables_api.c:8743)<br /> nft_quota_obj_eval (net/netfilter/nft_quota.c:68)<br /> nft_do_chain_inet<br /> nf_hook_slow<br /> __ip_local_out<br /> ip_push_pending_frames<br /> udp_send_skb<br /> udp_sendmsg<br /> __x64_sys_sendto<br /> <br /> Allocated by task 77:<br /> __alloc_skb (net/core/skbuff.c:704)<br /> __nft_obj_notify (include/net/netlink.h:1055<br /> net/netfilter/nf_tables_api.c:8731)<br /> nft_quota_obj_eval (net/netfilter/nft_quota.c:68)<br /> nft_do_chain<br /> <br /> Freed by task 79:<br /> nf_tables_commit (include/linux/skbuff.h:1332<br /> net/netfilter/nf_tables_api.c:10759<br /> net/netfilter/nf_tables_api.c:11185)<br /> nfnetlink_rcv_batch (net/netfilter/nfnetlink.c:574)<br /> netlink_unicast<br /> netlink_sendmsg<br /> <br /> The buggy address belongs to the cache skbuff_head_cache of size 232<br /> <br /> Queueing from the packet path is wrong even leaving the race aside:<br /> notify_list is only drained by nft_commit_notify() from nf_tables_commit()<br /> (:11185), so a notification enqueued outside a transaction is not sent<br /> until some later netlink batch commits, if one ever does.<br /> <br /> The gfp argument that nft_obj_notify() still takes is a leftover of the<br /> pre-67cc570edaa0 behaviour, where this path called nfnetlink_send()<br /> directly. Restore that: split the message construction out into<br /> nft_obj_notify_alloc() and let each caller decide what to do with the skb.<br /> nft_obj_notify(), the exported one reached from the packet path, sends it<br /> straight away; nf_tables_obj_notify(), which runs under commit_mutex, keeps<br /> queueing it, so transaction notifications are still coalesced.

Impact