In the Linux kernel, the following vulnerability has been resolved: flow_dissector: avoid u16 truncation of skb->len when computing thoff… (CVE-2026-98955)
Description
A vulnerability in the Linux kernel's flow_dissector component caused incorrect computation of the transport header offset (thoff) due to 16-bit truncation of skb->len. This could lead to the transport header pointer being set incorrectly inside the Ethernet header. The issue affects handling of large skbs (socket buffers) exceeding 64KB, which are common with certain network features like GSO and BIG TCP. The vulnerability has been resolved by changing the comparison to use 32-bit integers and capping the offset when it cannot fit in 16 bits, reporting dissection failure instead of returning incorrect offsets.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's __skb_flow_dissect() function computed key_control->thoff using a min_t(u16, ...) macro, which truncated skb->len to 16 bits before comparison. When skb->len exceeded 65535 bytes, this truncation caused thoff to be set to an incorrect small value, leading to transport header pointers referencing incorrect locations inside the Ethernet header. This issue affected large skbs, which are common due to features like AF_PACKET with PACKET_VNET_HDR, BIG TCP, and certain tun_get_user() frame dissections. The fix involved switching to 32-bit comparisons and capping thoff to U16_MAX when necessary, reporting dissection failure rather than silently returning incorrect offsets.
Potential Impact
Incorrect computation of the transport header offset can cause kernel network stack functions to misinterpret packet headers, potentially leading to incorrect packet processing. While the vulnerability does not specify direct exploitation or impact scenarios, it may cause network packet handling errors or instability in affected kernel versions when processing large skbs.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by changing the offset computation to use 32-bit comparisons and capping the offset when it cannot fit in 16 bits. Users should apply the official kernel update that includes this fix. No additional mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-935w-9g6m-g833
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98955"]
Threat ID: 6adbaad0d73cc49347b20589
Added to database: 10/23/2026, 18:43:28 UTC
Last enriched: 10/23/2026, 18:59:18 UTC
Last updated: 10/23/2026, 22:05:19 UTC
Views: 3
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.