# btrfs: harden block_group::bg_list against list_del() races

CVE record · `CVE-2025-37856`

- **Identifiers:** `CVE-2025-37856`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 9 May 2025
- **Updated:** 30 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 9 May 2025, 06:42 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: `01eca70ef8cf499d0cb6d1bbd691558e7792cf17 to before ccb20413e7c82e4429c81f10d0e36cd9c0c643cd` (git)
  - affected: `a9f189716cf15913c453299d72f69c51a9b0f86b to before 9039afe6240ae01d6caf2fa731590ac74fb8a69b` (git)
  - affected: `a9f189716cf15913c453299d72f69c51a9b0f86b to before bf089c4d1141b27332c092b1dcca5022c415a3b6` (git)
  - affected: `a9f189716cf15913c453299d72f69c51a9b0f86b to before 909e60fb469d4101c6b08cf6e622efb062bb24a1` (git)
  - affected: `a9f189716cf15913c453299d72f69c51a9b0f86b to before 185fd73e5ac06027c4be9a129e59193f6a3ef202` (git)
  - affected: `a9f189716cf15913c453299d72f69c51a9b0f86b to before 7511e29cf1355b2c47d0effb39e463119913e2f6` (git)
  - affected: `edf3b5aadb2515c808200b904baa5b70a727f0ac` (git)
  - affected: `5d19abcffd8404078dfa7d7118cec357b5e7bc58` (git)
  - affected: `6.1.47 to before 6.1.191` (semver)
  - affected: `5.15.128 to before 5.16` (semver)
  - affected: `6.4.12 to before 6.5` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.5`
  - unaffected: `before 6.5` (semver)
  - unaffected: `6.1.191 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.160 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.24 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.12 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14.3 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 btrfs is affected from version 6.5 and unaffected before it. A race involving block group list removal can corrupt a reference count and trigger a kernel WARNING, and the source gives few details on what access an attacker would need. Upgrade to 6.1.191, 6.6.160, 6.12.24, or 6.13.12 in their respective stable series.

Written 13 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

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

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

## Timeline

This record came from the full history of the CVE Program, published 9 May 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/ccb20413e7c82e4429c81f10d0e36cd9c0c643cd>
- <https://git.kernel.org/stable/c/9039afe6240ae01d6caf2fa731590ac74fb8a69b>
- <https://git.kernel.org/stable/c/bf089c4d1141b27332c092b1dcca5022c415a3b6>
- <https://git.kernel.org/stable/c/909e60fb469d4101c6b08cf6e622efb062bb24a1>
- <https://git.kernel.org/stable/c/185fd73e5ac06027c4be9a129e59193f6a3ef202>
- <https://git.kernel.org/stable/c/7511e29cf1355b2c47d0effb39e463119913e2f6>

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-37856>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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