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

x86/bugs: Enable IBPB flush on BPF JIT allocation

Enable hardening against JIT spraying when Spectre-v2 mitigations are in
use. Specifically, issue an IBPB flush on BPF JIT memory reuse. Skip
enabling the IBPB flush if the BPF dispatcher is already using a retpoline
sequence.

This hardening applies only when BPF-JIT is in use. Guard the enabling
under CONFIG_BPF_JIT so that bugs.c still builds with CONFIG_BPF_JIT=n.
Published: 2026-07-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel omitted an IBPB flush when allocating memory for BPF Just‑In‑Time programs, which creates a speculative execution window that could be exploited by a Spectre‑v2 side‑channel attack to read data from reused JIT memory. This weakness is categorized as CWE‑515. The patch now issues an IBPB flush on each BPF JIT allocation unless a retpoline sequence is already in use, closing the speculative window and preventing the intended leakage.

Affected Systems

All Linux kernel builds that enable CONFIG_BPF_JIT without incorporating the commit adding the IBPB flush are potentially vulnerable. The CVE data does not specify fixed versions; therefore any distribution running such kernels, regardless of version, can be impacted.

Risk and Exploitability

The EPSS score is less than 1 %, indicating that practical exploitation is considered unlikely in the wild. The vulnerability is not listed in CISA KEV. An attacker would need to be able to load BPF JIT programs, which typically requires local or privileged access; this requirement is inferred from the fact that BPF JIT is a privileged kernel feature, not directly stated in the description. Because the patch eliminates the speculative window, the overall risk has been substantially reduced.

Generated by OpenCVE AI on August 2, 2026 at 12:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel version that includes the commit adding IBPB flush for BPF JIT allocations
  • If upgrade cannot be performed immediately, disable BPF JIT by setting net.core.bpf_jit_compiler to 0 or compiling the kernel with CONFIG_BPF_JIT=n
  • Ensure that Spectre mitigation options such as ibpb or spectre_v2=on are enabled in the kernel command line

Generated by OpenCVE AI on August 2, 2026 at 12:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
Debian DSA Debian DSA DSA-6405-1 linux security update
History

Wed, 29 Jul 2026 12:15:00 +0000

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

None

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'}

threat_severity

Moderate


Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: x86/bugs: Enable IBPB flush on BPF JIT allocation Enable hardening against JIT spraying when Spectre-v2 mitigations are in use. Specifically, issue an IBPB flush on BPF JIT memory reuse. Skip enabling the IBPB flush if the BPF dispatcher is already using a retpoline sequence. This hardening applies only when BPF-JIT is in use. Guard the enabling under CONFIG_BPF_JIT so that bugs.c still builds with CONFIG_BPF_JIT=n.
Title x86/bugs: Enable IBPB flush on BPF JIT allocation
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-07-27T04:37:45.561Z

Reserved: 2026-07-19T15:36:31.793Z

Link: CVE-2026-64507

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-07-25T10:17:36.810

Modified: 2026-07-27T05:16:55.487

Link: CVE-2026-64507

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-64507 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T12:30:05Z

Weaknesses