← Back to search

CVE-2026-98532

8.1 HIGH

Published 2026-10-18 · Updated 2026-10-24

AI risk analysis

Summary
In the Linux kernel, ipv6_find_hdr() can return an offset beyond the packet boundary when processing IPv6 extension headers with large declared lengths, leading to out-of-bounds memory access in openvswitch when updating IPv6 checksums.
Exploitability
Exploitation requires network packets that trigger the vulnerable ipv6_find_hdr() path in openvswitch; high attack complexity (AC:H) and no authentication required (PR:N) mean remote exploitation is possible but not trivial.
Blast radius
Successful exploitation could allow a remote attacker to read or modify kernel memory via use-after-free, potentially leading to privilege escalation or system compromise.
Detection
Look for KASAN use-after-free reports in kernel logs referencing inet_proto_csum_replace16 and ovs_ipv6_oob, or unexpected slab corruption events around skbuff_small_head objects.
Prioritized remediation
Apply the kernel patch that bounds the offset returned by ipv6_find_hdr() to skb->len; no fixed kernel version is named in the description, so upgrade to the latest stable kernel release once the patch is included.
kernelipv6use-after-freeopenvswitchout-of-bounds

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

In the Linux kernel, the following vulnerability has been resolved: ipv6: do not let ipv6_find_hdr() return an offset past the packet end ipv6_find_hdr() walks the extension header chain, skipping each header by the length that header itself declares. ipv6_optlen() returns up to 2048, and the skip is never checked against skb->len, so the offset stored in *offset can point past the end of the packet. openvswitch installs that offset as the transport header, and update_ipv6_checksum() then reads and writes the transport checksum field out of bounds: BUG: KASAN: slab-use-after-free in inet_proto_csum_replace16+0x445/0x470 Read of size 2 at addr ffff88810b754b06 by task ovs_ipv6_oob/629 CPU: 4 UID: 1000 PID: 629 Comm: ovs_ipv6_oob Tainted: G N 7.3.0-rc3+ #348 Call Trace: inet_proto_csum_replace16+0x445/0x470 set_ipv6_addr+0x3dd/0x460 do_execute_actions+0x6a3d/0x7c40 ovs_execute_actions+0xfd/0x480 ovs_packet_cmd_execute+0xc38/0xf20 genl_rcv_msg+0x59e/0x870 netlink_rcv_skb+0x18b/0x450 genl_rcv+0x2d/0x40 netlink_unicast+0x6bc/0xa20 The buggy address belongs to the object at ffff88810b754980 which belongs to the cache skbuff_small_head of size 704 The buggy address is located 390 bytes inside of freed 704-byte region [ffff88810b754980, ffff88810b754c40) Other callers use that offset too, so bound it here rather than in one caller. Reject a header whose declared length does not fit in the packet. ipv6_find_hdr() already fails with -EBADMSG on a malformed chain, so this adds no new failure mode.

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.