CVE-2026-64508
bpf: Support for hardening against JIT spraying
Reported by linux · Published July 25, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-rt-modules | errata.rockylinux.org | 6.12.0-211.65.1.el10, 5.14.0-687.57.1.el9 |
| kernel-rt-debug-modules-core | errata.rockylinux.org | 6.12.0-211.65.1.el10, 5.14.0-687.57.1.el9 |
| kernel-tools | errata.rockylinux.org | 6.12.0-211.65.1.el10, 5.14.0-687.57.1.el9 |
| kernel-tools-libs-devel | errata.rockylinux.org | 6.12.0-211.65.1.el10, 5.14.0-687.57.1.el9 |
| kernel-tools | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel-debug-core | errata.rockylinux.org | 6.12.0-211.65.1.el10, 5.14.0-687.57.1.el9 |
| kernel-debug-devel | errata.rockylinux.org | 6.12.0-211.65.1.el10, 5.14.0-687.57.1.el9 |
| kernel-debug-devel-matched | errata.rockylinux.org | 6.12.0-211.65.1.el10 |
| kernel-64k-debug | errata.rockylinux.org | 5.14.0-687.57.1.el9 |
| kernel-rt-devel | errata.rockylinux.org | 5.14.0-687.57.1.el9 |
| kernel-debug-uki-virt | errata.rockylinux.org | 5.14.0-687.57.1.el9 |
| kernel-core | errata.rockylinux.org | 6.12.0-211.65.1.el10, 5.14.0-687.57.1.el9 |
58 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 57631054fae6dcc9c892ae6310b58bbb6f6e5048, 57631054fae6dcc9c892ae6310b58bbb6f6e5048, 57631054fae6dcc9c892ae6310b58bbb6f6e5048 |
| Linux | Linux | 5.18, 0, 6.1.183 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| Linux | Linux | 7.2, 57631054fae6dcc9c892ae6310b58bbb6f6e5048, 57631054fae6dcc9c892ae6310b58bbb6f6e5048 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18 | 0 |
…and 18 more
Timeline
- Jul 25, 2026 EPSS Score (15 in total, the first dated here)
- Jul 25, 2026 Coalition ESS Score
- Jul 25, 2026 CVE Published
- Jul 26, 2026 Security Advisory (23 in total, the first dated here)
- Aug 9, 2026 CVE Updated
- Aug 12, 2026 Distribution Patch (26 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64508
vulnetix vdb fixes CVE-2026-64508
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64508/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart