7.8high
netfilter: nfnetlink_queue: make hash table per queue
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nfnetlink_queue: make hash table per queue Sharing a global hash table among all queues is tempting, but it can cause crash: BUG: KASAN: slab-use-after-free in nfqnl_recv_verdict+0x11ac/0x15e0 [nfnetlink_queue] [..] nfqnl_recv_verdict+0x11ac/0x15e0 [nfnetlink_queue] nfnetlink_rcv_msg+0x46a/0x930 kmem_cache_alloc_node_noprof+0x11e/0x450 struct nf_queue_entry is freed via kfree, but parallel cpu can still encounter such an nf_queue_entry when walking the list. Alternative fix is to free the nf_queue_entry via kfree_rcu() instead, but as we have to alloc/free for each skb this will cause more mem pressure.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 371de2bef6582a3f58049b3d18e190924af9c9a0 before 22730cb96093b5be0609063bbb1923dbecd61252, from 870e3e63da8e88daffe9d692a025c711658018a8 before 41e3652a178cb0eecd48e0e6e27fbb73a004046a, from 70e2e3ce4f6841e12ec1c104fc76c0e707398ec4 before 9e5ebef91120d2764aefe557c3a484b6288f341f, from e19079adcd26a25d7d3e586b1837493361fdf8b6 before 936206e3f6ff411581e615e930263d6f8b78df9d, from 6.12.75 before 6.12.83, from 6.18.14 before 6.18.24, from 6.19.4 before 6.19.14 | CVE List |
| linux linux_kernel | from 6.12.75 before 6.12.83, from 6.18.14 before 6.18.24, from 6.19.4 before 6.19.14 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: netfilter: nfnetlink_queue: make hash table per queue Sharing a global hash table among all queues is tempting, but it can cause crash: BUG: KASAN: slab-use-after-free in nfqnl_recv_verdict+0x11ac/0x15e0 [nfnetlink_queue] [..] nfqnl_recv_verdict+0x11ac/0x15e0 [nfnetlink_queue] nfnetlink_rcv_msg+0x46a/0x930 kmem_cache_alloc_node_noprof+0x11e/0x450 struct nf_queue_entry is freed via kfree, but parallel cpu can still encounter such an nf_queue_entry when walking the list. Alternative fix is to free the nf_queue_entry via kfree_rcu() instead, but as we have to alloc/free for each skb this will cause more mem pressure.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: netfilter: nfnetlink_queue: hacer tabla hash por cola Compartir una tabla hash global entre todas las colas es tentador, pero puede causar un fallo: BUG: KASAN: uso después de liberación de slab en nfqnl_recv_verdict+0x 11ac/0x 15e0 [nfnetlink_queue] [..] nfqnl_recv_verdict+0x 11ac/0x 15e0 [nfnetlink_queue] nfnetlink_rcv_msg+0x46a/0x930 kmem_cache_alloc_node_noprof+0x11e/0x450 La estructura nf_queue_entry es liberada vía kfree, pero una CPU paralela aún puede encontrar dicha nf_queue_entry al recorrer la lista. Una solución alternativa es liberar la nf_queue_entry vía kfree_rcu() en su lugar, pero como tenemos que asignar/liberar para cada skb, esto causará más presión de memoria.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43084 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-43084 changed 2026-11-11 | Public domain |