# CVE-2026-64508: bpf: Support for hardening against JIT spraying

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **CWE:** CWE-459
- **Published:** 2026-07-25T08:52:01.732Z
- **Modified:** 2026-11-12T19:13:11.887Z

## Who should check

- Anyone running Linux \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< 1fbafd5235ca897b322161659ebe8ba651b00b3b; \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< 6e52c240c43a601b681e3a4e58fc5685114d4726; \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< eed774da601268dae674e14d54a15e3624691f52; \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< 8ff183ee4d8c452960df58175a094828c0513b2e; \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< 7a6c171c6a1ac6d1509752dac131d941a3de0b37; \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< 96cce16e26dd02a8678f1e87f88a4b5cdb63b995
- Anyone running Linux 5.18

## Description

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

bpf: Support for hardening against JIT spraying

The BPF JIT allocator packs many small programs into larger executable
allocations and reuses space within those allocations as programs are
loaded and freed. When fresh code is written into space that a previous
program occupied, an indirect jump into the new program can reuse a branch
prediction left behind by the old one.

Flush the indirect branch predictors before reusing JIT memory so that
indirect jumps into a newly written program don't reuse predictions from an
old program that occupied the same space.

Introduce bpf\_arch\_pred\_flush\_enabled static key and bpf\_arch\_pred\_flush
static call for flushing the branch predictors on JIT memory reuse.
Architectures that need a flush, can update it to a predictor flush
function. By default, its a NOP and does not emit any CALL.

Allocations larger than a pack are not covered by this flush. That is safe
because cBPF programs (the unprivileged attack surface) are bounded well
below a pack size. Issue a warning if this assumption is ever violated
while the flush is active.

## Affected and fixed versions

- Linux: \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< 1fbafd5235ca897b322161659ebe8ba651b00b3b; \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< 6e52c240c43a601b681e3a4e58fc5685114d4726; \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< eed774da601268dae674e14d54a15e3624691f52; \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< 8ff183ee4d8c452960df58175a094828c0513b2e; \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< 7a6c171c6a1ac6d1509752dac131d941a3de0b37; \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< 96cce16e26dd02a8678f1e87f88a4b5cdb63b995 (cvelist)
- Linux: 5.18 (cvelist)

## Mitigation

- Upgrade Linux to 96cce16e26dd02a8678f1e87f88a4b5cdb63b995 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64508. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64508.md
Affected: Linux >= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, < 1fbafd5235ca897b322161659ebe8ba651b00b3b; >= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, < 6e52c240c43a601b681e3a4e58fc5685114d4726; >= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, < eed774da601268dae674e14d54a15e3624691f52; >= 57631054fae6dcc9c892ae6…
Fixed in: Linux 1fbafd5235ca897b322161659ebe8ba651b00b3b, Linux 6e52c240c43a601b681e3a4e58fc5685114d4726, Linux 8ff183ee4d8c452960df58175a094828c0513b2e, Linux 7a6c171c6a1ac6d1509752dac131d941a3de0b37, Linux 96cce16e26dd02a8678f1e87f88a4b5cdb63b995

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64508 being exploited?

There is no confirmed exploitation: CVE-2026-64508 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64508?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64508?

Linux \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< 1fbafd5235ca897b322161659ebe8ba651b00b3b; \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< 6e52c240c43a601b681e3a4e58fc5685114d4726; \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< eed774da601268dae674e14d54a15e3624691f52; \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< 8ff183ee4d8c452960df58175a094828c0513b2e; \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< 7a6c171c6a1ac6d1509752dac131d941a3de0b37; \>= 57631054fae6dcc9c892ae6310b58bbb6f6e5048, \< 96cce16e26dd02a8678f1e87f88a4b5cdb63b995; Linux 5.18.

### Is there a fix for CVE-2026-64508?

Yes. Fixed in Linux 1fbafd5235ca897b322161659ebe8ba651b00b3b, Linux 6e52c240c43a601b681e3a4e58fc5685114d4726, Linux 8ff183ee4d8c452960df58175a094828c0513b2e, Linux 7a6c171c6a1ac6d1509752dac131d941a3de0b37, Linux 96cce16e26dd02a8678f1e87f88a4b5cdb63b995. Upgrade Linux to 96cce16e26dd02a8678f1e87f88a4b5cdb63b995 or later.

### How do I check if I'm affected by CVE-2026-64508?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/1fbafd5235ca897b322161659ebe8ba651b00b3b>
- patch: <https://git.kernel.org/stable/c/6e52c240c43a601b681e3a4e58fc5685114d4726>
- patch: <https://git.kernel.org/stable/c/eed774da601268dae674e14d54a15e3624691f52>
- patch: <https://git.kernel.org/stable/c/8ff183ee4d8c452960df58175a094828c0513b2e>
- patch: <https://git.kernel.org/stable/c/7a6c171c6a1ac6d1509752dac131d941a3de0b37>
- patch: <https://git.kernel.org/stable/c/96cce16e26dd02a8678f1e87f88a4b5cdb63b995>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64508>

HTML: <https://flawdb.com/CVE-2026-64508> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64508>
