Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98532 Overview
CVE-2026-98532 is a Linux kernel vulnerability in the IPv6 subsystem. The function ipv6_find_hdr() walks the IPv6 extension header chain and skips each header by the length that header declares. The returned offset is never validated against skb->len, so it can point past the end of the packet.
When Open vSwitch installs that offset as the transport header, update_ipv6_checksum() reads and writes the transport checksum field out of bounds. KASAN reports a slab-use-after-free read inside inet_proto_csum_replace16() triggered through ovs_packet_cmd_execute().
Critical Impact
A crafted IPv6 packet with malformed extension headers can cause out-of-bounds memory access in kernel space, leading to information disclosure, memory corruption, or kernel crash.
Affected Products
- Linux kernel (IPv6 subsystem, net/ipv6/exthdrs_core.c)
- Open vSwitch kernel datapath (openvswitch) consuming the returned offset
- Distributions shipping affected stable kernel branches prior to the referenced fix commits
Discovery Timeline
- 2026-10-18 - CVE-2026-98532 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-98532
Vulnerability Analysis
The defect lives in ipv6_find_hdr(), which iterates the IPv6 extension header chain to locate a specific next-header value. On each iteration it advances by the length returned from ipv6_optlen(), which can be as large as 2048 bytes. The function never compares the accumulating offset against the socket buffer length skb->len.
A malformed chain whose declared header length overruns the packet causes *offset to point outside the linear data area. Downstream consumers trust that offset as the start of the transport header. In Open vSwitch, update_ipv6_checksum() then calls inet_proto_csum_replace16() to patch the transport checksum at that location.
KASAN captured the resulting slab-use-after-free: a 2-byte read at offset 390 inside a freed 704-byte skbuff_small_head region. The call chain traverses ovs_execute_actions() and ovs_packet_cmd_execute(), invoked through a generic Netlink message handled by genl_rcv_msg().
Root Cause
The root cause is missing bounds validation on the cumulative offset while walking extension headers. ipv6_find_hdr() already returns -EBADMSG on malformed chains, but the per-header length is not checked for packet containment. The upstream fix rejects any header whose declared length does not fit in the packet, bounding the behavior at the source rather than in each caller.
Attack Vector
An attacker-supplied IPv6 packet containing a crafted extension header chain triggers the condition. On systems using Open vSwitch for IPv6 processing with actions that modify transport-layer fields, parsing such a packet drives an out-of-bounds read and write in slab memory. The reachable path is network-adjacent and does not require authentication to the host.
See the kernel commits for the exact patch in net/ipv6/exthdrs_core.c: Kernel commit 543354c6efb2 and Kernel commit ca96b38730e3.
Detection Methods for CVE-2026-98532
Indicators of Compromise
- KASAN reports of slab-use-after-free in inet_proto_csum_replace16 originating from ovs_execute_actions() or do_execute_actions().
- Kernel oops or panic traces referencing ipv6_find_hdr, set_ipv6_addr, or update_ipv6_checksum on IPv6 traffic.
- Unexplained Open vSwitch datapath errors or dropped flows when processing IPv6 packets with extension headers.
Detection Strategies
- Enable KASAN on test and staging kernels to surface out-of-bounds reads and writes in the IPv6 extension header path.
- Monitor dmesg and syslog for BUG: KASAN entries referencing inet_proto_csum_replace16 or ipv6_find_hdr.
- Inspect IPv6 traffic at ingress for extension headers whose declared length exceeds remaining packet bytes.
Monitoring Recommendations
- Collect kernel ring buffer output centrally and alert on BUG:, WARNING:, or general protection fault events in networking symbols.
- Track Open vSwitch flow-execution errors and correlate with sudden spikes in malformed IPv6 extension headers.
- Baseline IPv6 extension header distribution per interface and flag outliers for review.
How to Mitigate CVE-2026-98532
Immediate Actions Required
- Apply the upstream kernel patches that reject extension headers whose declared length does not fit in the packet.
- Rebuild and redeploy stable kernels incorporating the referenced commits across hosts that forward or terminate IPv6 traffic.
- Prioritize patching nodes running Open vSwitch, including Kubernetes workers and OpenStack compute nodes.
Patch Information
Fixes are available in the stable kernel tree. Review and apply the series referenced in the NVD entry, including Kernel commit 1c70275ca87e, Kernel commit 1d4282856588, Kernel commit 4254d5878c32, Kernel commit 531255de8971, Kernel commit 543354c6efb2, Kernel commit ca96b38730e3, Kernel commit dc92cb972e86, and Kernel commit ee319bd3a0e9.
Workarounds
- Where feasible, disable or restrict Open vSwitch actions that rewrite IPv6 addresses on untrusted traffic until kernels are patched.
- Drop IPv6 packets containing uncommon or malformed extension header chains at upstream firewalls or edge routers.
- Limit exposure of hosts running vulnerable kernels to networks that can originate crafted IPv6 traffic.
# Confirm the running kernel contains the fix after upgrade
uname -r
grep -i 'ipv6_find_hdr' /proc/kallsyms | head -n 2
# Example: block IPv6 packets with Hop-by-Hop headers at the edge
ip6tables -A FORWARD -m ipv6header --header hop-by-hop --soft -j DROP
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

