arm64: bpf: Add BHB mitigation to the epilogue for cBPF programs
In the Linux kernel, the following vulnerability has been resolved: arm64: bpf: Add BHB mitigation to the epilogue for cBPF programs A malicious BPF program may manipulate the branch history to influence what the hardware speculates will happen next. On exit from a BPF program, emit the BHB mititgation sequence. This is only applied for 'classic' cBPF programs that are loaded by seccomp.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.239, 5.15.186, 6.1.139, 6.12.29, 6.14.7, 6.6.91
- CVEs
- CVE-2025-37948
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 01:01 UTC · Revision 1
Source evidence
arm64: bpf: Add BHB mitigation to the epilogue for cBPF programs
core-osv · Original sourcePublished 20 May 2025, 16:01 UTC
In the Linux kernel, the following vulnerability has been resolved: arm64: bpf: Add BHB mitigation to the epilogue for cBPF programs A malicious BPF program may manipulate the branch history to influence what the hardware speculates will happen next. On exit from a BPF program, emit the BHB mititgation sequence. This is only applied for 'classic' cBPF programs that are loaded by seccomp.
osv:CVE-2025-37948
Kernel
Fixed versions: 5.10.239, 5.15.186, 6.1.139, 6.6.91, 6.12.29, 6.14.7
Complete source record
{
"id": "2d0250b21b640dce350ec2fbab1217de9f1281ff2f1af0b75648754c94d7c98b",
"url": "https://osv.dev/vulnerability/CVE-2025-37948",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "arm64: bpf: Add BHB mitigation to the epilogue for cBPF programs",
"summary": "In the Linux kernel, the following vulnerability has been resolved: arm64: bpf: Add BHB mitigation to the epilogue for cBPF programs A malicious BPF program may manipulate the branch history to influence what the hardware speculates will happen next. On exit from a BPF program, emit the BHB mititgation sequence. This is only applied for 'classic' cBPF programs that are loaded by seccomp.",
"evidence": "osv:CVE-2025-37948",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.239",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.186",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.139",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.91",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.29",
"evidence": "/affected/1/ranges"
},
{
"value": "6.14.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-37948",
"aliases": [
"CVE-2025-37948"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "0be7320a635c2e434e8b67e0e9474a85ceb421c4"
},
{
"fixed": "c6a8735d841bcb7649734bb3a787bb174c67c0d8"
},
{
"fixed": "993f63239c219696aef8887a4e7d3a16bf5a8ece"
},
{
"fixed": "8fe5c37b0e08a97cf0210bb75970e945aaaeebab"
},
{
"fixed": "42a20cf51011788f04cf2adbcd7681f02bdb6c27"
},
{
"fixed": "38c345fd54afd9d6ed8d3fcddf3f6ea23887bf78"
},
{
"fixed": "852b8ae934b5cbdc62496fa56ce9969aa2edda7f"
},
{
"fixed": "0dfefc2ea2f29ced2416017d7e5b1253a54c2735"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37948.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.7.0"
},
{
"fixed": "5.10.239"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.186"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.139"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.91"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.29"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.14.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37948.json"
}
}
],
"modified": "2026-10-28T02:30:48.714789254Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0dfefc2ea2f29ced2416017d7e5b1253a54c2735",
"https://git.kernel.org/stable/c/38c345fd54afd9d6ed8d3fcddf3f6ea23887bf78",
"https://git.kernel.org/stable/c/42a20cf51011788f04cf2adbcd7681f02bdb6c27",
"https://git.kernel.org/stable/c/852b8ae934b5cbdc62496fa56ce9969aa2edda7f",
"https://git.kernel.org/stable/c/8fe5c37b0e08a97cf0210bb75970e945aaaeebab",
"https://git.kernel.org/stable/c/993f63239c219696aef8887a4e7d3a16bf5a8ece",
"https://git.kernel.org/stable/c/c6a8735d841bcb7649734bb3a787bb174c67c0d8",
"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html",
"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37948.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-37948",
"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/2025/37xxx/CVE-2025-37948.json"
}
},
"related_cves": [
{
"value": "CVE-2025-37948",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 516815,
"published_at": "2025-05-20T16:01:44.452+00:00"
}