x86/bugs: Enable IBPB flush on BPF JIT allocation
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.183, 6.12.97, 6.18.39, 6.6.145, 7.1.4
- CVEs
- CVE-2026-64507
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 15:49 UTC · Revision 1
Source evidence
x86/bugs: Enable IBPB flush on BPF JIT allocation
core-osv · Original sourcePublished 25 Jul 2026, 08:52 UTC
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.
osv:CVE-2026-64507
Kernel
Fixed versions: 6.1.183, 6.6.145, 6.12.97, 6.18.39, 7.1.4
Complete source record
{
"id": "c13ade0a096c749607a88285401a355632bbd0e7530918ae5aef22b117b66170",
"url": "https://osv.dev/vulnerability/CVE-2026-64507",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "x86/bugs: Enable IBPB flush on BPF JIT allocation",
"summary": "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.",
"evidence": "osv:CVE-2026-64507",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.183",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.145",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.97",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.39",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-64507",
"aliases": [
"CVE-2026-64507"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "57631054fae6dcc9c892ae6310b58bbb6f6e5048"
},
{
"fixed": "25dbcd31781e2bc3cd63d873af1fcd06f863a126"
},
{
"fixed": "cb27f3bf915cc0f20fc0c48da9059304e39ebd35"
},
{
"fixed": "9354248fc1c33a844ca1872761f6668b393e8c37"
},
{
"fixed": "8a4c8af9ae67eb072d90d1b339f14d27a82bd2a1"
},
{
"fixed": "52440e15d9628f8f239373c0f2e5e8f92feea2df"
},
{
"fixed": "a3af84b0fa00ead01fcd0e28b5d773ff25990a0d"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64507.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.18.0"
},
{
"fixed": "6.1.183"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.145"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.97"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.39"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64507.json"
}
}
],
"modified": "2026-10-28T02:30:30.326491219Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/25dbcd31781e2bc3cd63d873af1fcd06f863a126",
"https://git.kernel.org/stable/c/52440e15d9628f8f239373c0f2e5e8f92feea2df",
"https://git.kernel.org/stable/c/8a4c8af9ae67eb072d90d1b339f14d27a82bd2a1",
"https://git.kernel.org/stable/c/9354248fc1c33a844ca1872761f6668b393e8c37",
"https://git.kernel.org/stable/c/a3af84b0fa00ead01fcd0e28b5d773ff25990a0d",
"https://git.kernel.org/stable/c/cb27f3bf915cc0f20fc0c48da9059304e39ebd35",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64507.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-64507",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64507.json"
}
},
"related_cves": [
{
"value": "CVE-2026-64507",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 497004,
"published_at": "2026-07-25T08:52:01.008+00:00"
}