{"id":"CVE-2025-37948","summary":"arm64: bpf: Add BHB mitigation to the epilogue for cBPF programs","details":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64: bpf: Add BHB mitigation to the epilogue for cBPF programs\n\nA malicious BPF program may manipulate the branch history to influence\nwhat the hardware speculates will happen next.\n\nOn exit from a BPF program, emit the BHB mititgation sequence.\n\nThis is only applied for 'classic' cBPF programs that are loaded by\nseccomp.","modified":"2026-04-03T13:14:43.141218048Z","published":"2025-05-20T16:01:44.452Z","related":["MGASA-2025-0182","MGASA-2025-0183","SUSE-SU-2025:01918-1","SUSE-SU-2025:01964-1","SUSE-SU-2025:01965-1","SUSE-SU-2025:01983-1","SUSE-SU-2025:02000-1","SUSE-SU-2025:02254-1","SUSE-SU-2025:02262-1","SUSE-SU-2025:02264-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02321-1","SUSE-SU-2025:02333-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37948.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0dfefc2ea2f29ced2416017d7e5b1253a54c2735"},{"type":"WEB","url":"https://git.kernel.org/stable/c/38c345fd54afd9d6ed8d3fcddf3f6ea23887bf78"},{"type":"WEB","url":"https://git.kernel.org/stable/c/42a20cf51011788f04cf2adbcd7681f02bdb6c27"},{"type":"WEB","url":"https://git.kernel.org/stable/c/852b8ae934b5cbdc62496fa56ce9969aa2edda7f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8fe5c37b0e08a97cf0210bb75970e945aaaeebab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/993f63239c219696aef8887a4e7d3a16bf5a8ece"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c6a8735d841bcb7649734bb3a787bb174c67c0d8"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37948.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37948"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.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/osv-test-cve-osv-conversion/osv-output/CVE-2025-37948.json"}}],"schema_version":"1.7.5"}