In the Linux kernel, the following vulnerability has been resolved: flow_dissector: avoid u16 truncation of hlen in bpf_flow_dissect()… (CVE-2026-98950)
Description
A vulnerability in the Linux kernel's flow_dissector component was resolved to prevent u16 truncation of the hlen parameter in the bpf_flow_dissect() function. The issue caused offsets to be incorrectly clamped when hlen exceeded 65535, potentially forcing offset values to zero even if valid. This bug is similar to a previously fixed truncation issue but affected the BPF path specifically. The fix involves capping hlen to the maximum value of a 16-bit unsigned integer before clamping. The vulnerability was discovered during code review and has been addressed.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's bpf_flow_dissect() function sanitizes offsets using clamp_t(u16, ..., hlen). When hlen exceeds 65535, it is truncated due to the u16 type, causing offsets nhoff and thoff to be set to zero incorrectly. This truncation leads to improper handling of packet dissecting offsets in BPF flow dissectors. The vulnerability is analogous to a prior truncation bug fixed in the flow_dissector but was not covered in the BPF path. The resolution caps hlen at U16_MAX before clamping to prevent truncation errors.
Potential Impact
Incorrect offset calculations in the BPF flow dissector could lead to improper packet processing within the kernel networking stack. While the exact exploitation impact is not detailed, such bugs can affect packet classification or filtering accuracy. No known exploits are reported in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to cap hlen to U16_MAX before clamping in bpf_flow_dissect(). Users should update to the kernel version containing this fix once available. Patch status is not explicitly confirmed in the provided data; check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4jwg-g8h6-9gv7
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98950"]
Threat ID: 6adbaad0d73cc49347b2058f
Added to database: 10/23/2026, 18:43:28 UTC
Last enriched: 10/23/2026, 18:59:48 UTC
Last updated: 10/23/2026, 22:05:11 UTC
Views: 4
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.