CVE-2026-100026
published high CVSS 3.1 · 8.1netfilter: nf_reject: initialize IPCB at inet ingress
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux97540d9e879f62894350d7e10e538e02e21df08d to < f632c1de908d7a1fbb38eb03d2d6e1d66acf67f3 · 117ca1f8920cf4087bf82f44bd2a51b49d6aae63 to < 1510864608ef10479b668d8ab25d1b304e3cc655 · 117ca1f8920cf4087bf82f44bd2a51b49d6aae63 to < 67b669e40106676dd86b694ab5a91851f3aac892 · 117ca1f8920cf4087bf82f44bd2a51b49d6aae63 to < bbc829f4f9886218f1c42672a36f3ddd7dc78fdd · 117ca1f8920cf4087bf82f44bd2a51b49d6aae63 to < a042722d9f6a3c21599cba1e5d7a24e61a90439b · 117ca1f8920cf4087bf82f44bd2a51b49d6aae63 to < 306a7db6aaa192e6ff1bd235bae4613d855af87f · 117ca1f8920cf4087bf82f44bd2a51b49d6aae63 to < b5ed456d3b474204e3152b36abe2e8035025f026 · 117ca1f8920cf4087bf82f44bd2a51b49d6aae63 to < 73a73d442f9986353fe284bd1b504d0313d0f153 · 5.10.241 to < 5.10.275 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.11 (affected) · 0 to < 5.11 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_reject: initialize IPCB at inet ingress The inet ingress hook runs before ip_rcv_core() and ip6_rcv_core(), so neither IPCB nor IP6CB has been initialized when nft_reject_inet passes a packet to nf_send_unreach() or nf_send_unreach6(). skb->cb can therefore retain metadata from an earlier protocol layer. For IPv4, icmp_send() treats IPCB(skb)->opt as parsed IPv4 options. Stale option offsets can make __ip_options_echo() copy an attacker-controlled length into its 40-byte reply option buffer and overflow the stack. On an unpatched v7.2-rc5 kernel, the IPv4 reproducer produced: BUG: KASAN: stack-out-of-bounds in __ip_options_echo() Write of size 255 For IPv6, icmpv6_send() consumes IP6CB(skb) as parsed IPv6 metadata. It always uses iif for source selection and, when MIP6 is enabled, uses dsthao as an extension-header offset. These fields must not be stale. For NF_INET_INGRESS, clear the address-family-specific control block and restore its input interface before constructing the ICMP error. This matches similar initialization normally performed by ip_rcv_core() and ip6_rcv_core().
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - The attacker sends one IPv4 packet whose outer header carries a Record Route or Timestamp option and wraps an inner IPv4 packet (IPIP, GRE or VXLAN). ip_rcv_options() stores the option offsets in IPCB(skb)->opt. ip_tunnel_rcv()/gro_cells_receive() do not clear that cb, and nft_do_chain_inet_ingress()->nf_send_unreach() passes it to icmp_send() against the inner header. AC:H - The remote sender cannot set up the precondition. An admin must have bound an nftables inet-family ingress chain with a reject rule to a tunnel device that accepts the attacker's packet (IPIP endpoint or VXLAN VNI match). Once that exists, the attacker picks the option offset and the inner length byte, and the overflow fires every time. PR:N - ipip_tunnel_rcv(), ip_tunnel_rcv() and the inet ingress hook do no sender authentication, and nf_send_unreach() runs on any packet the reject rule matches. CAP_NET_ADMIN is needed only to install the chain, which is the admin's step. A user-namespace local variant exists but scores lower (AV:L/AC:L/PR:L = 7.8). UI:N - No user takes any action. Tunnel decapsulation and the ingress chain run in softirq when the packet arrives, and the reject verdict calls icmp_send() on the attacker's packet straight away. S:U - The out-of-bounds writes hit __icmp_send()'s stack frame and an ICMP socket cork allocation inside the receiving host kernel. No VM, IOMMU or sandbox boundary is crossed. C:H - __ip_options_echo() copies up to 255 bytes from skb_network_header()+rr. On a short inner packet this reads past its end, and the copied bytes become reply options that icmp_push_reply() writes into the ICMP error sent back to the attacker. The same stack and heap overflows also corrupt kernel data that could be built into a wider read. I:H - The stale rr/ts offset makes __ip_options_echo() memcpy() an attacker-chosen length (one inner-packet byte) of inner-packet bytes into the 40-byte icmp_param->replyopts on __icmp_send()'s stack (KASAN: write of size 255). The wrapped u8 optlen then makes ip_setup_cork() copy up to 268 bytes into its 56-byte kmalloc cork->opt. A:H - The stack overflow overwrites __icmp_send()'s locals and canary, so the host crashes in __stack_chk_fail() or on a corrupted pointer. icmpv4_global_allow() still lets a steady stream of ICMP errors through, so every matching tunnelled packet can crash it again.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 97540d9e879f62894350d7e10e538e02e21df08d to < f632c1de908d7a1fbb38eb03d2d6e1d66acf67f3 (affected · git)117ca1f8920cf4087bf82f44bd2a51b49d6aae63 to < 1510864608ef10479b668d8ab25d1b304e3cc655 (affected · git)117ca1f8920cf4087bf82f44bd2a51b49d6aae63 to < 67b669e40106676dd86b694ab5a91851f3aac892 (affected · git)117ca1f8920cf4087bf82f44bd2a51b49d6aae63 to < bbc829f4f9886218f1c42672a36f3ddd7dc78fdd (affected · git)117ca1f8920cf4087bf82f44bd2a51b49d6aae63 to < a042722d9f6a3c21599cba1e5d7a24e61a90439b (affected · git)117ca1f8920cf4087bf82f44bd2a51b49d6aae63 to < 306a7db6aaa192e6ff1bd235bae4613d855af87f (affected · git)117ca1f8920cf4087bf82f44bd2a51b49d6aae63 to < b5ed456d3b474204e3152b36abe2e8035025f026 (affected · git)117ca1f8920cf4087bf82f44bd2a51b49d6aae63 to < 73a73d442f9986353fe284bd1b504d0313d0f153 (affected · git)5.10.241 to < 5.10.275 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.11 (affected)0 to < 5.11 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/1510864608ef10479b668d8ab25d1b304e3cc655
- https://git.kernel.org/stable/c/306a7db6aaa192e6ff1bd235bae4613d855af87f
- https://git.kernel.org/stable/c/67b669e40106676dd86b694ab5a91851f3aac892
- https://git.kernel.org/stable/c/73a73d442f9986353fe284bd1b504d0313d0f153
- https://git.kernel.org/stable/c/a042722d9f6a3c21599cba1e5d7a24e61a90439b
- https://git.kernel.org/stable/c/b5ed456d3b474204e3152b36abe2e8035025f026
- https://git.kernel.org/stable/c/bbc829f4f9886218f1c42672a36f3ddd7dc78fdd
- https://git.kernel.org/stable/c/f632c1de908d7a1fbb38eb03d2d6e1d66acf67f3
Provider assertions
1Linux · cna
netfilter: nf_reject: initialize IPCB at inet ingress
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f49cce58e2d0e2cbda600fecf99348ad92f05d7a16c2f26f93a829f39087db09
- Ingested
- 01 Dec 2026, 05:47:22 UTC
- Source record
- Official CVE record