Description
In the Linux kernel, the following vulnerability has been resolved:

bpf: sockmap: fix tail fragment offset in bpf_msg_push_data

When bpf_msg_push_data() inserts data in the middle of a scatterlist
entry, it splits the original entry into a left fragment and a right
fragment.

The right fragment offset is page-local, but the code advances it with
`start`, which is the message-global insertion point. For inserts into a
non-first SG entry, this over-advances the offset and leaves the split
layout inconsistent.

Advance the right fragment offset by the fragment-local delta,
`start - offset`, which matches the length removed from the front of the
original entry.
Published: 2026-07-19
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw occurs in the Linux kernel’s BPF sockmap implementation during data insertion into a scatterlist entry. When a fragment is split, the code incorrectly advances the right fragment offset, leading to an inconsistent split layout. This miscalculation can corrupt kernel memory locations, which could potentially be exploited for privilege escalation if an attacker can trigger the fault through crafted BPF programs. The potential is inferred rather than directly stated in the documentation.

Affected Systems

The vulnerability affects Linux kernel versions that contain the buggy bpf_msg_push_data implementation. All Linux kernel releases containing the affected code are at risk. No specific vendor or distribution names are given.

Risk and Exploitability

The CVSS score of 8.4 indicates high severity, and the EPSS score of less than 1% shows that exploitation is currently unlikely. The description notes that the bug can corrupt kernel memory; if an attacker can trigger the fault—potentially through crafted BPF programs—there is a potential for elevated privileges, which is inferred. The vulnerability is not listed in CISA KEV, suggesting that publicly known exploits have not yet appeared. No specific attack vector or proof of exploitation is disclosed.

Generated by OpenCVE AI on August 4, 2026 at 18:15 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that implements the corrected bpf_msg_push_data, ensuring that the offset calculation uses the fragment-local delta.
  • Configure the kernel to restrict BPF program execution to trusted users or disable BPF JIT for untrusted code to mitigate similar bugs.
  • Enforce mandatory access control policies (SELinux, AppArmor) so that BPF programs run with minimal privileges, reducing the impact of potential kernel memory corruption.

Generated by OpenCVE AI on August 4, 2026 at 18:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Wed, 22 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-823
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Sun, 19 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: bpf: sockmap: fix tail fragment offset in bpf_msg_push_data When bpf_msg_push_data() inserts data in the middle of a scatterlist entry, it splits the original entry into a left fragment and a right fragment. The right fragment offset is page-local, but the code advances it with `start`, which is the message-global insertion point. For inserts into a non-first SG entry, this over-advances the offset and leaves the split layout inconsistent. Advance the right fragment offset by the fragment-local delta, `start - offset`, which matches the length removed from the front of the original entry.
Title bpf: sockmap: fix tail fragment offset in bpf_msg_push_data
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:37:21.277Z

Reserved: 2026-07-19T07:54:57.021Z

Link: CVE-2026-63926

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63926 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T18:30:12Z

Weaknesses
  • CWE-823

    Use of Out-of-range Pointer Offset