In the Linux kernel, the following vulnerability has been resolved: seg6: reset IP6CB after IPv6 decapsulation decap_and_validate() pulls the outer… (CVE-2026-80976)
A vulnerability in the Linux kernel's segment routing over IPv6 (seg6) implementation was resolved. The issue involves improper resetting of the IPv6 control block (IP6CB) after decapsulation of IPv6 packets, which can cause stale header information to be used when processing inner packets. This can lead to out-of-bounds memory reads detected by kernel address sanitizer (KASAN).
AI Analysis
Technical Summary
The vulnerability in the Linux kernel seg6 code arises because decap_and_validate() pulls outer SRv6 headers and sets the inner packet as the skb network header without properly resetting the IPv6 control block (IP6CB). The IP6CB retains values from the outer packet, including a large nhoff offset. When inner packets are processed by ip6_protocol_deliver_rcu(), this stale offset causes reads beyond the skb head, leading to a slab-out-of-bounds error reported by KASAN. The fix involves clearing IP6CB for the inner packet while preserving the incoming interface index and L3 slave state, and correctly setting nhoff to the inner IPv6 base-header nexthdr field.
Potential Impact
An unprivileged user can exploit this vulnerability by installing a local Segment Identifier (SID) and injecting specially crafted packets with outer extension headers. This can cause the kernel to read out-of-bounds memory, potentially leading to kernel crashes or other undefined behavior. There is no indication of known exploits in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly reset the IPv6 control block after decapsulation. Users should apply the official kernel updates that include this patch. Since no vendor advisory or patch links are provided, check the Linux kernel mailing lists or official repositories for the relevant patch and update accordingly.
In the Linux kernel, the following vulnerability has been resolved: seg6: reset IP6CB after IPv6 decapsulation decap_and_validate() pulls the outer… (CVE-2026-80976)
Description
A vulnerability in the Linux kernel's segment routing over IPv6 (seg6) implementation was resolved. The issue involves improper resetting of the IPv6 control block (IP6CB) after decapsulation of IPv6 packets, which can cause stale header information to be used when processing inner packets. This can lead to out-of-bounds memory reads detected by kernel address sanitizer (KASAN).
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel seg6 code arises because decap_and_validate() pulls outer SRv6 headers and sets the inner packet as the skb network header without properly resetting the IPv6 control block (IP6CB). The IP6CB retains values from the outer packet, including a large nhoff offset. When inner packets are processed by ip6_protocol_deliver_rcu(), this stale offset causes reads beyond the skb head, leading to a slab-out-of-bounds error reported by KASAN. The fix involves clearing IP6CB for the inner packet while preserving the incoming interface index and L3 slave state, and correctly setting nhoff to the inner IPv6 base-header nexthdr field.
Potential Impact
An unprivileged user can exploit this vulnerability by installing a local Segment Identifier (SID) and injecting specially crafted packets with outer extension headers. This can cause the kernel to read out-of-bounds memory, potentially leading to kernel crashes or other undefined behavior. There is no indication of known exploits in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly reset the IPv6 control block after decapsulation. Users should apply the official kernel updates that include this patch. Since no vendor advisory or patch links are provided, check the Linux kernel mailing lists or official repositories for the relevant patch and update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-mh5q-5qhg-xgrv
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-80976"]
Threat ID: 6aa4a02c55bf5e2cf5a86b5b
Added to database: 09/12/2026, 00:43:24 UTC
Last enriched: 09/12/2026, 01:23:45 UTC
Last updated: 09/12/2026, 03:01:23 UTC
Views: 2
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.