Skip to main content
EPSS 0.2%top 95%

Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: bpf: Reject negative const offsets for buffer pointers The verifier rejects… (CVE-2026-68462)

0
Medium
Published: 08/17/2026 (08/17/2026, 00:00:00 UTC)
Source: GCVE Database
Product: linux-hwe-edge

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Reject negative const offsets for buffer pointers The verifier rejects variable offsets for PTR_TO_TP_BUFFER and PTR_TO_BUF accesses, but it currently accepts a constant negative offset produced by pointer arithmetic. Commit 022ac0750883 ("bpf: use reg->var_off instead of reg->off for pointers") moved constant pointer offsets from reg->off to reg->var_off. However, __check_buffer_access() continued to check only the instruction offset. An access with reg->var_off equal to -8 and an instruction offset of zero therefore passes verification. For writable raw tracepoints, the access end is also calculated from the unsigned reg->var_off.value. An eight-byte access starting at -8 wraps the calculated end to zero, allowing the program to load and attach without increasing max_tp_access. After ensuring that reg->var_off is constant, calculate the effective access start using signed arithmetic and reject it when it is negative. Use the validated start to calculate the access end for both PTR_TO_TP_BUFFER and PTR_TO_BUF.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/15/2026, 17:12:31 UTC

Technical Analysis

The Linux kernel BPF verifier previously accepted constant negative offsets for PTR_TO_TP_BUFFER and PTR_TO_BUF accesses due to incomplete checks in __check_buffer_access(). While variable offsets were rejected, constant negative offsets produced by pointer arithmetic passed verification because the verifier only checked instruction offsets, not the updated reg->var_off field. This allowed an eight-byte access starting at a negative offset to wrap around, potentially leading to incorrect memory access validation. The fix ensures reg->var_off is constant, calculates the effective access start using signed arithmetic, and rejects accesses with negative starts, thereby preventing this bypass.

Potential Impact

This vulnerability could allow BPF programs to bypass verifier checks related to buffer pointer offsets, potentially leading to unsafe memory accesses within the kernel. However, no known exploits are reported in the wild. The impact is limited to the kernel's BPF verifier component and could affect the security of programs relying on BPF for tracing or filtering.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to reject negative constant offsets for buffer pointers in the BPF verifier. Users should apply the official kernel updates that include this patch once available. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-r48x-xhw6-jmg8
Osv Schema Version
1.4.0
Aliases
["CVE-2026-68462"]

Threat ID: 6a808b79bf8831d539502b19

Added to database: 08/15/2026, 15:53:29 UTC

Last enriched: 08/15/2026, 17:12:31 UTC

Last updated: 09/30/2026, 03:28:30 UTC

Views: 69

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses