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

bpf: Return proper address for non-zero offsets in insn array

The map_direct_value_addr() function of the instruction
array map incorrectly adds offset to the resulting address.
This is a bug, because later the resolve_pseudo_ldimm64()
function adds the offset. Fix it. Corresponding selftests
are added in a consequent commit.
Published: 2026-05-27
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel BPF subsystem contains a flaw in the map_direct_value_addr function where an offset is added to a target address. Later, the resolve_pseudo_ldimm64 routine adds the same offset again, producing an address that extends beyond the intended memory region. A BPF program that can be loaded by the system may therefore access memory outside its allocated area, potentially causing out‑of‑bounds reads or writes and resulting in memory corruption. The weakness is consistent with CWE‑823, the dereference of a null pointer or other improper memory reference.

Affected Systems

Every Linux kernel build that includes the original implementation of map_direct_value_addr is affected. The vulnerability was fixed in a kernel commit that corrected the offset calculation, and subsequent releases incorporate the patch. Identifying which kernels contain the unpatched code requires checking kernel version history or the presence of the specific patch.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity; the EPSS score of < 1% points to a very low probability of exploitation in the wild. The vulnerability is not listed in CISA KEV. An attacker would need the ability to load a custom BPF program, a privilege normally reserved for root or similarly privileged users. No publicly documented exploits exist, so the current risk remains primarily theoretical with a moderate impact should the flaw be triggered.

Generated by OpenCVE AI on June 17, 2026 at 00:30 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a kernel version that includes the map_direct_value_addr fix
  • If an upgrade is not possible, cherry‑pick the commit that corrects the double offset calculation and rebuild the kernel
  • If BPF or XDP functionality is not required, disable the subsystems to reduce the attack surface

Generated by OpenCVE AI on June 17, 2026 at 00:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 16 Jun 2026 06:30:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
Metrics cvssV3_1

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


Thu, 28 May 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
CWE-787

Thu, 28 May 2026 00:15:00 +0000


Wed, 27 May 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
CWE-787

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: bpf: Return proper address for non-zero offsets in insn array The map_direct_value_addr() function of the instruction array map incorrectly adds offset to the resulting address. This is a bug, because later the resolve_pseudo_ldimm64() function adds the offset. Fix it. Corresponding selftests are added in a consequent commit.
Title bpf: Return proper address for non-zero offsets in insn array
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-05-27T12:18:25.572Z

Reserved: 2026-05-13T15:03:33.089Z

Link: CVE-2026-45967

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-27T14:17:13.567

Modified: 2026-06-16T02:43:49.600

Link: CVE-2026-45967

cve-icon Redhat

Severity :

Publid Date: 2026-05-27T00:00:00Z

Links: CVE-2026-45967 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-17T00:45:04Z

Weaknesses