8.8high
netfilter: bridge: fix stale prevhdr pointer in br_ip6_fragment()
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: bridge: fix stale prevhdr pointer in br_ip6_fragment() br_ip6_fragment() gets prevhdr, a pointer into the skb head, from ip6_find_1stfragopt(), then calls skb_checksum_help(). For a cloned skb skb_checksum_help() reallocates the head via pskb_expand_head(), leaving prevhdr dangling. It is later dereferenced in ip6_frag_next(), causing a use-after-free write. Save prevhdr's offset before skb_checksum_help() and recompute it after, like commit ef0efcd3bd3f ("ipv6: Fix dangling pointer when ipv6 fragment"). BUG: KASAN: slab-use-after-free in ip6_frag_next (net/ipv6/ip6_output.c:857) Write of size 1 at addr ffff888013ff5016 by task exploit/141 Call Trace: ... kasan_report (mm/kasan/report.c:595) ip6_frag_next (net/ipv6/ip6_output.c:857) br_ip6_fragment (net/ipv6/netfilter.c:212) nf_ct_bridge_post (net/bridge/netfilter/nf_conntrack_bridge.c:407) nf_hook_slow (net/netfilter/core.c:619) br_forward_finish (net/bridge/br_forward.c:66) __br_forward (net/bridge/br_forward.c:115) maybe_deliver (net/bridge/br_forward.c:191) br_flood (net/bridge/br_forward.c:245) br_handle_frame_finish (net/bridge/br_input.c:229) br_handle_frame (net/bridge/br_input.c:442) ... packet_sendmsg (net/packet/af_packet.c:3114) ... do_syscall_64 (arch/x86/entry/syscall_64.c:94) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) Kernel panic - not syncing: Fatal exception in interrupt
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 764dd163ac922f8683b5bcd3007251ce7b26cd33 before 8c10778ec674b67a07ea042fcba64270f3f38a5a, from 764dd163ac922f8683b5bcd3007251ce7b26cd33 before 2731efa6364e47934c96eb69e01ea131e8af8030, from 764dd163ac922f8683b5bcd3007251ce7b26cd33 before 00c06ef8c018493943891a7d0ca82b71b24f3180, from 764dd163ac922f8683b5bcd3007251ce7b26cd33 before c141f69d0a0fb16964dbc293650047e69bda8af7, from 764dd163ac922f8683b5bcd3007251ce7b26cd33 before f2e6596d10783557aeb9668da2a3b4d19deb2001, from 764dd163ac922f8683b5bcd3007251ce7b26cd33 before 1c4f67c89fd27c4df4c70b135c2c59627698b3c0, from 764dd163ac922f8683b5bcd3007251ce7b26cd33 before 4ac981a8b7ce7aec99a52d08f8a8953e8e120067, from 764dd163ac922f8683b5bcd3007251ce7b26cd33 before 86f3ce81dd2b4b0aa2c3016c989a943e4b1b643d and 1 more Not affected: before 5.3, from 5.10.261 up to 5.10.*, from 5.15.212 up to 5.15.*, from 6.1.178 up to 6.1.*, from 6.6.145 up to 6.6.*, from 6.12.97 up to 6.12.* | CVE List |
| linux linux_kernel | from 5.3 before 5.10.261, from 5.11 before 5.15.212, from 5.16 before 6.1.178, from 6.2 before 6.6.145, from 6.7 before 6.12.97, from 6.13 before 6.18.40, from 6.19 before 7.1.5, 7.2 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-64554 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-64554 changed 2026-11-13 | Public domain |