In the Linux kernel, the following vulnerability has been resolved: ipv6: do not let ipv6_find_hdr() return an offset past the packet end… (CVE-2026-98532)
Description
A vulnerability in the Linux kernel's ipv6_find_hdr() function could allow it to return an offset beyond the end of a packet. This occurs because the function skips extension headers based on their declared length without verifying that the skip stays within the packet bounds. This flaw can lead to out-of-bounds reads and writes when other kernel components, such as openvswitch, use the offset to access transport headers, potentially causing use-after-free errors. The issue has been resolved by adding bounds checking to reject headers whose declared length exceeds the packet size.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability (CVE-2026-98532) involves the ipv6_find_hdr() function, which walks the IPv6 extension header chain by skipping headers according to their declared length. The function ipv6_optlen() can return lengths up to 2048, but the skip is not checked against the actual packet length (skb->len). Consequently, the offset stored can point past the packet end. This leads to out-of-bounds memory access when openvswitch installs this offset as the transport header and update_ipv6_checksum() reads and writes the transport checksum field beyond the packet boundary. The kernel's KASAN detected a slab-use-after-free error triggered by this flaw. The fix bounds the offset within the packet to prevent such invalid memory accesses, rejecting headers with lengths that do not fit within the packet. No new failure modes were introduced as ipv6_find_hdr() already fails on malformed header chains.
Potential Impact
This vulnerability can cause out-of-bounds memory access in kernel space, leading to use-after-free conditions and potential kernel crashes or memory corruption. It affects kernel components that rely on ipv6_find_hdr() for header parsing, such as openvswitch, which may read or write beyond allocated memory. While no active exploits are known, the flaw could be leveraged to destabilize the kernel or escalate privileges if exploited.
Mitigation Recommendations
A fix is available that adds bounds checking in ipv6_find_hdr() to ensure the offset does not exceed the packet length, rejecting malformed headers. Users should apply the official Linux kernel updates that include this patch. Since this is a kernel vulnerability, updating to a patched kernel version is the recommended remediation. No additional mitigations are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-75wf-hf48-gmfv
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98532"]
Threat ID: 6ad520b02cdf04f656993ae4
Added to database: 10/18/2026, 19:40:32 UTC
Last enriched: 10/18/2026, 20:19:29 UTC
Last updated: 10/18/2026, 22:02:57 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.