- Home
- Vulnerabilities
- CVE-2026-23398
CVE-2026-23398
icmp: fix NULL pointer dereference in icmp_tag_validation()
Summary
In the Linux kernel, the following vulnerability has been resolved: icmp: fix NULL pointer dereference in icmp_tag_validation() icmp_tag_validation() unconditionally dereferences the result of rcu_dereference(inet_protos[proto]) without checking for NULL. The inet_protos[] array is sparse -- only about 15 of 256 protocol numbers have registered handlers. When ip_no_pmtu_disc is set to 3 (hardened PMTU mode) and the kernel receives an ICMP Fragmentation Needed error with a quoted inner IP header containing an unregistered protocol number, the NULL dereference causes a kernel panic in softirq context. Oops: general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] RIP: 0010:icmp_unreach (net/ipv4/icmp.c:1085 net/ipv4/icmp.c:1143) Call Trace: <IRQ> icmp_rcv (net/ipv4/icmp.c:1527) ip_protocol_deliver_rcu (net/ipv4/ip_input.c:207) ip_local_deliver_finish (net/ipv4/ip_input.c:242) ip_local_deliver (net/ipv4/ip_input.c:262) ip_rcv (net/ipv4/ip_input.c:573) __netif_receive_skb_one_core (net/core/dev.c:6164) process_backlog (net/core/dev.c:6628) handle_softirqs (kernel/softirq.c:561) </IRQ> Add a NULL check before accessing icmp_strict_tag_validation. If the protocol has no registered handler, return false since it cannot perform strict tag validation.
Affected products and versions
Linux (10 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Linux | 3.14 |
— | CNA (vendor or assigner) |
| Linux kernel | from 3.14.1 (included) to 5.10.253 (excluded) |
— | NVD |
| Linux kernel | from 5.11 (included) to 5.15.203 (excluded) |
— | NVD |
| Linux kernel | from 5.16 (included) to 6.1.167 (excluded) |
— | NVD |
| Linux kernel | from 6.2 (included) to 6.6.130 (excluded) |
— | NVD |
| Linux kernel | from 6.7 (included) to 6.12.78 (excluded) |
— | NVD |
| Linux kernel | from 6.13 (included) to 6.18.20 (excluded) |
— | NVD |
| Linux kernel | from 6.19 (included) to 6.19.10 (excluded) |
— | NVD |
| Linux kernel | 3.14 |
— | NVD |
| Linux kernel | 7.0 |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
- — CERT-FR advisory (certfr:CERTFR-2026-AVI-1298)
CERT-FR advisories
- CERTFR-2026-AVI-1298 — Multiples vulnérabilités dans les produits Siemens (13 octobre 2026) 13 Oct 2026
References
- https://git.kernel.org/stable/c/1e4e2f5e48cec0cccaea9815fb9486c084ba41e2Patch
- https://git.kernel.org/stable/c/1f9f2c6d4b2a613b7756fc5679c5116ba2ca0161Patch
- https://git.kernel.org/stable/c/571d9d7b650f02d1e38c01128817868bceac9eddPatch
- https://git.kernel.org/stable/c/614aefe56af8e13331e50220c936fc0689cf5675Patch
- https://git.kernel.org/stable/c/9647e99d2a617c355d2b378be0ff6d0e848fd579Patch
- https://git.kernel.org/stable/c/b61529c357f1ee4d64836eb142a542d2e7ad67cePatch
- https://git.kernel.org/stable/c/d783fa413c702ff0f8f8bea63f862e28eeaf39e3Patch
- https://git.kernel.org/stable/c/d938dd5a0ad780c891ea3bc94cae7405f11e618aPatch
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Weakness
- CWE-476 · Corruption mémoire