7.5high
netfilter: nf_flow_table: drop existing skb dst before skb_dst_set_noref()
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.48% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_flow_table: drop existing skb dst before skb_dst_set_noref() Incoming skbs passing through netfilter flowtable offload hooks (or XFRM offload path) might already carry a ref-counted dst_entry assigned during earlier RX or routing steps. Calling skb_dst_set_noref() when skb already holds a ref-counted dst overwrites skb->_skb_refdst, leaking the previous dst_entry reference count and triggering a DEBUG_NET_WARN_ON_ONCE assertion in skb_dst_check_unset(): WARNING: at skb_dst_check_unset include/linux/skbuff.h:1170 WARNING: at skb_dst_set_noref include/linux/skbuff.h:1234 WARNING: at nf_flow_offload_ip_hook+0xf6c/0x2b60 net/netfilter/nf_flow_table_ip.c:864 Drop any existing dst_entry reference with skb_dst_drop(skb) before setting the non-referenced flowtable destination.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 2a79fd3908acd88e6cb0e620c314d7b1fee56a02 before 763f59b72ddaf18d0750d53083a74355f6c003c8, from 2a79fd3908acd88e6cb0e620c314d7b1fee56a02 before 4db3b48a966ed479b99cc8319ea9e46d4f7c703b, from 2a79fd3908acd88e6cb0e620c314d7b1fee56a02 before 274f544a32c08638ee887f2e27e3235b6b1237d4, from 2a79fd3908acd88e6cb0e620c314d7b1fee56a02 before 12afa450a6a6c0cce2c42b7545a9958f62d8a00c, from 2a79fd3908acd88e6cb0e620c314d7b1fee56a02 before 538e67e8c7889cf5f93951f5309d1bcb41f86036, from 2a79fd3908acd88e6cb0e620c314d7b1fee56a02 before 8aecf0bbcc72605592134c917c222207d8f63ab0, b4b1adf2e66ecc7125c4117e7aad9ff61e2cfd27, 209dedf806d31095968f54323dbe62525b077b33 and 3 more Not affected: before 4.18, from 6.1.191 up to 6.1.*, from 6.6.160 up to 6.6.*, from 6.12.114 up to 6.12.*, from 6.18.45 up to 6.18.*, from 7.1.9 up to 7.1.* | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_flow_table: drop existing skb dst before skb_dst_set_noref() Incoming skbs passing through netfilter flowtable offload hooks (or XFRM offload path) might already carry a ref-counted dst_entry assigned during earlier RX or routing steps. Calling skb_dst_set_noref() when skb already holds a ref-counted dst overwrites skb->_skb_refdst, leaking the previous dst_entry reference count and triggering a DEBUG_NET_WARN_ON_ONCE assertion in skb_dst_check_unset(): WARNING: at skb_dst_check_unset include/linux/skbuff.h:1170 WARNING: at skb_dst_set_noref include/linux/skbuff.h:1234 WARNING: at nf_flow_offload_ip_hook+0xf6c/0x2b60 net/netfilter/nf_flow_table_ip.c:864 Drop any existing dst_entry reference with skb_dst_drop(skb) before setting the non-referenced flowtable destination.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: netfilter: nf_flow_table: descartar el dst de skb existente antes de skb_dst_set_noref() Los skbs entrantes que pasan por los hooks de descarga de la tabla de flujos de netfilter (o la ruta de descarga de XFRM) podrían ya llevar un dst_entry con contador de referencias asignado durante pasos anteriores de RX o enrutamiento. Llamar a skb_dst_set_noref() cuando el skb ya contiene un dst con contador de referencias sobrescribe skb -> _skb_refdst, filtrando el contador de referencias del dst_entry anterior y disparando una aserción DEBUG_NET_WARN_ON_ONCE en skb_dst_check_unset(): ADVERTENCIA: en skb_dst_check_unset include/linux/skbuff.h:1170 ADVERTENCIA: en skb_dst_set_noref include/linux/skbuff.h:1234 ADVERTENCIA: en nf_flow_offload_ip_hook+0xf6c/0x2b60 net/netfilter/nf_flow_table_ip.c:864 Descartar cualquier referencia de dst_entry existente con skb_dst_drop(skb) antes de establecer el destino de la tabla de flujos sin referencias.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74695 changed 2026-10-30 | CVE Terms of Use |
| NVD | CVE-2026-74695 changed 2026-10-30 | Public domain |