VDB

CVE-2026-64508

CVE-2026-64508 PUBLISHED

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.

PackageEcosystemFixed in
kernel-rt-moduleserrata.rockylinux.org6.12.0-211.65.1.el10, 5.14.0-687.57.1.el9
kernel-rt-debug-modules-coreerrata.rockylinux.org6.12.0-211.65.1.el10, 5.14.0-687.57.1.el9
kernel-toolserrata.rockylinux.org6.12.0-211.65.1.el10, 5.14.0-687.57.1.el9
kernel-tools-libs-develerrata.rockylinux.org6.12.0-211.65.1.el10, 5.14.0-687.57.1.el9
kernel-toolsAmazon Linux1:6.1.186-228.374.amzn2023
kernel-debug-coreerrata.rockylinux.org6.12.0-211.65.1.el10, 5.14.0-687.57.1.el9
kernel-debug-develerrata.rockylinux.org6.12.0-211.65.1.el10, 5.14.0-687.57.1.el9
kernel-debug-devel-matchederrata.rockylinux.org6.12.0-211.65.1.el10
kernel-64k-debugerrata.rockylinux.org5.14.0-687.57.1.el9
kernel-rt-develerrata.rockylinux.org5.14.0-687.57.1.el9
kernel-debug-uki-virterrata.rockylinux.org5.14.0-687.57.1.el9
kernel-coreerrata.rockylinux.org6.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

VendorProductVersions
LinuxLinux57631054fae6dcc9c892ae6310b58bbb6f6e5048, 57631054fae6dcc9c892ae6310b58bbb6f6e5048, 57631054fae6dcc9c892ae6310b58bbb6f6e5048
LinuxLinux5.18, 0, 6.1.183
amazon:2023kernel-tools0
amazon:2023kernel-devel0
amazon:2023kernel-headers0
amazon:2023kernel6.12-tools-devel0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.12-headers0
amazon:2023bpftool6.180
amazon:2023kernel-modules-extra0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023bpftool6.120
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.12-modules-extra0
amazon:2023python3-perf6.120
LinuxLinux7.2, 57631054fae6dcc9c892ae6310b58bbb6f6e5048, 57631054fae6dcc9c892ae6310b58bbb6f6e5048
amazon:2023python3-perf0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.180

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›