{"api_version":"1","generated_at":"2026-07-31T21:33:28+00:00","cve":"CVE-2026-64508","urls":{"html":"https://cve.report/CVE-2026-64508","api":"https://cve.report/api/cve/CVE-2026-64508.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-64508","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-64508"},"summary":{"title":"bpf: Support for hardening against JIT spraying","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Support for hardening against JIT spraying\n\nThe BPF JIT allocator packs many small programs into larger executable\nallocations and reuses space within those allocations as programs are\nloaded and freed. When fresh code is written into space that a previous\nprogram occupied, an indirect jump into the new program can reuse a branch\nprediction left behind by the old one.\n\nFlush the indirect branch predictors before reusing JIT memory so that\nindirect jumps into a newly written program don't reuse predictions from an\nold program that occupied the same space.\n\nIntroduce bpf_arch_pred_flush_enabled static key and bpf_arch_pred_flush\nstatic call for flushing the branch predictors on JIT memory reuse.\nArchitectures that need a flush, can update it to a predictor flush\nfunction. By default, its a NOP and does not emit any CALL.\n\nAllocations larger than a pack are not covered by this flush. That is safe\nbecause cBPF programs (the unprivileged attack surface) are bounded well\nbelow a pack size. Issue a warning if this assumption is ever violated\nwhile the flush is active.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-07-25 10:17:36","updated_at":"2026-07-27 05:16:55"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/eed774da601268dae674e14d54a15e3624691f52","name":"https://git.kernel.org/stable/c/eed774da601268dae674e14d54a15e3624691f52","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/96cce16e26dd02a8678f1e87f88a4b5cdb63b995","name":"https://git.kernel.org/stable/c/96cce16e26dd02a8678f1e87f88a4b5cdb63b995","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7a6c171c6a1ac6d1509752dac131d941a3de0b37","name":"https://git.kernel.org/stable/c/7a6c171c6a1ac6d1509752dac131d941a3de0b37","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8ff183ee4d8c452960df58175a094828c0513b2e","name":"https://git.kernel.org/stable/c/8ff183ee4d8c452960df58175a094828c0513b2e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6e52c240c43a601b681e3a4e58fc5685114d4726","name":"https://git.kernel.org/stable/c/6e52c240c43a601b681e3a4e58fc5685114d4726","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-64508","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64508","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 57631054fae6dcc9c892ae6310b58bbb6f6e5048 6e52c240c43a601b681e3a4e58fc5685114d4726 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 57631054fae6dcc9c892ae6310b58bbb6f6e5048 eed774da601268dae674e14d54a15e3624691f52 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 57631054fae6dcc9c892ae6310b58bbb6f6e5048 8ff183ee4d8c452960df58175a094828c0513b2e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 57631054fae6dcc9c892ae6310b58bbb6f6e5048 7a6c171c6a1ac6d1509752dac131d941a3de0b37 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 57631054fae6dcc9c892ae6310b58bbb6f6e5048 96cce16e26dd02a8678f1e87f88a4b5cdb63b995 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.18 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.145 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.97 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.39 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.4 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"64508","cve":"CVE-2026-64508","epss":"0.001570000","percentile":"0.053080000","score_date":"2026-07-29","updated_at":"2026-07-30 00:09:16"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["include/linux/filter.h","kernel/bpf/core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"6e52c240c43a601b681e3a4e58fc5685114d4726","status":"affected","version":"57631054fae6dcc9c892ae6310b58bbb6f6e5048","versionType":"git"},{"lessThan":"eed774da601268dae674e14d54a15e3624691f52","status":"affected","version":"57631054fae6dcc9c892ae6310b58bbb6f6e5048","versionType":"git"},{"lessThan":"8ff183ee4d8c452960df58175a094828c0513b2e","status":"affected","version":"57631054fae6dcc9c892ae6310b58bbb6f6e5048","versionType":"git"},{"lessThan":"7a6c171c6a1ac6d1509752dac131d941a3de0b37","status":"affected","version":"57631054fae6dcc9c892ae6310b58bbb6f6e5048","versionType":"git"},{"lessThan":"96cce16e26dd02a8678f1e87f88a4b5cdb63b995","status":"affected","version":"57631054fae6dcc9c892ae6310b58bbb6f6e5048","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["include/linux/filter.h","kernel/bpf/core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.18"},{"lessThan":"5.18","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.145","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.97","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.39","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.145","versionStartIncluding":"5.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.97","versionStartIncluding":"5.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.39","versionStartIncluding":"5.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.4","versionStartIncluding":"5.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2-rc2","versionStartIncluding":"5.18","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Support for hardening against JIT spraying\n\nThe BPF JIT allocator packs many small programs into larger executable\nallocations and reuses space within those allocations as programs are\nloaded and freed. When fresh code is written into space that a previous\nprogram occupied, an indirect jump into the new program can reuse a branch\nprediction left behind by the old one.\n\nFlush the indirect branch predictors before reusing JIT memory so that\nindirect jumps into a newly written program don't reuse predictions from an\nold program that occupied the same space.\n\nIntroduce bpf_arch_pred_flush_enabled static key and bpf_arch_pred_flush\nstatic call for flushing the branch predictors on JIT memory reuse.\nArchitectures that need a flush, can update it to a predictor flush\nfunction. By default, its a NOP and does not emit any CALL.\n\nAllocations larger than a pack are not covered by this flush. That is safe\nbecause cBPF programs (the unprivileged attack surface) are bounded well\nbelow a pack size. Issue a warning if this assumption is ever violated\nwhile the flush is active."}],"providerMetadata":{"dateUpdated":"2026-07-27T04:37:46.726Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/6e52c240c43a601b681e3a4e58fc5685114d4726"},{"url":"https://git.kernel.org/stable/c/eed774da601268dae674e14d54a15e3624691f52"},{"url":"https://git.kernel.org/stable/c/8ff183ee4d8c452960df58175a094828c0513b2e"},{"url":"https://git.kernel.org/stable/c/7a6c171c6a1ac6d1509752dac131d941a3de0b37"},{"url":"https://git.kernel.org/stable/c/96cce16e26dd02a8678f1e87f88a4b5cdb63b995"}],"title":"bpf: Support for hardening against JIT spraying","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-64508","datePublished":"2026-07-25T08:52:01.732Z","dateReserved":"2026-07-19T15:36:31.793Z","dateUpdated":"2026-07-27T04:37:46.726Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-25 10:17:36","lastModifiedDate":"2026-07-27 05:16:55","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"64508","Ordinal":"1","Title":"bpf: Support for hardening against JIT spraying","CVE":"CVE-2026-64508","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"64508","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Support for hardening against JIT spraying\n\nThe BPF JIT allocator packs many small programs into larger executable\nallocations and reuses space within those allocations as programs are\nloaded and freed. When fresh code is written into space that a previous\nprogram occupied, an indirect jump into the new program can reuse a branch\nprediction left behind by the old one.\n\nFlush the indirect branch predictors before reusing JIT memory so that\nindirect jumps into a newly written program don't reuse predictions from an\nold program that occupied the same space.\n\nIntroduce bpf_arch_pred_flush_enabled static key and bpf_arch_pred_flush\nstatic call for flushing the branch predictors on JIT memory reuse.\nArchitectures that need a flush, can update it to a predictor flush\nfunction. By default, its a NOP and does not emit any CALL.\n\nAllocations larger than a pack are not covered by this flush. That is safe\nbecause cBPF programs (the unprivileged attack surface) are bounded well\nbelow a pack size. Issue a warning if this assumption is ever violated\nwhile the flush is active.","Type":"Description","Title":"bpf: Support for hardening against JIT spraying"}]}}}