# arm64: bpf: Add BHB mitigation to the epilogue for cBPF programs

CVE record · `CVE-2025-37948`

- **Identifiers:** `CVE-2025-37948`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 20 May 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 20 May 2025, 16:01 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before c6a8735d841bcb7649734bb3a787bb174c67c0d8` (git)
  - affected: `0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before 993f63239c219696aef8887a4e7d3a16bf5a8ece` (git)
  - affected: `0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before 8fe5c37b0e08a97cf0210bb75970e945aaaeebab` (git)
  - affected: `0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before 42a20cf51011788f04cf2adbcd7681f02bdb6c27` (git)
  - affected: `0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before 38c345fd54afd9d6ed8d3fcddf3f6ea23887bf78` (git)
  - affected: `0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before 852b8ae934b5cbdc62496fa56ce9969aa2edda7f` (git)
  - affected: `0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before 0dfefc2ea2f29ced2416017d7e5b1253a54c2735` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.7`
  - unaffected: `before 3.7` (semver)
  - unaffected: `5.10.239 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.186 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.139 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.91 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.29 to 6.12.*, inclusive` (semver)
  - unaffected: `6.14.7 to 6.14.*, inclusive` (semver)
  - unaffected: `6.15 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Linux kernel on arm64 is affected in versions from 3.7 up to fixed releases in the 5.10, 5.15, 6.1 and 6.6 branches (and later mainline fixes), as listed by the CNA. The source describes a malicious BPF program manipulating branch history to influence hardware speculation; the mitigation applies to classic cBPF programs loaded by seccomp. The source gives few details on the exact attack conditions. Upgrade to a fixed kernel version from the stable branch for your release; no workaround is listed.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0022, the 12th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 20 May 2025, 16:01 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-37948)
- 20 May 2025, 16:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-37948)

## Sources

- [CVE List: CVE-2025-37948](https://www.cve.org/CVERecord?id=CVE-2025-37948)
- [NVD: CVE-2025-37948](https://nvd.nist.gov/vuln/detail/CVE-2025-37948)

### References from the CNA

- <https://git.kernel.org/stable/c/c6a8735d841bcb7649734bb3a787bb174c67c0d8>
- <https://git.kernel.org/stable/c/993f63239c219696aef8887a4e7d3a16bf5a8ece>
- <https://git.kernel.org/stable/c/8fe5c37b0e08a97cf0210bb75970e945aaaeebab>
- <https://git.kernel.org/stable/c/42a20cf51011788f04cf2adbcd7681f02bdb6c27>
- <https://git.kernel.org/stable/c/38c345fd54afd9d6ed8d3fcddf3f6ea23887bf78>
- <https://git.kernel.org/stable/c/852b8ae934b5cbdc62496fa56ce9969aa2edda7f>
- <https://git.kernel.org/stable/c/0dfefc2ea2f29ced2416017d7e5b1253a54c2735>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-37948>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-37948/>. Everything for agents: <https://agentprime.io/llms.txt>.
