# btrfs: fix deadlock with fiemap and extent locking

CVE record · `CVE-2024-35784`

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

Published by the CVE Program (CNA: Linux) at 17 May 2024, 12:24 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: `1506fcc8189cdd4b95e06df7845a09f18b4526a6 to before 06d3879bb51be205a04b3da752cfd121a3367fb1` (git)
  - affected: `1506fcc8189cdd4b95e06df7845a09f18b4526a6 to before ded566b4637f1b6b4c9ba74e7d0b8493e93f19cf` (git)
  - affected: `1506fcc8189cdd4b95e06df7845a09f18b4526a6 to before 89bca7fe6382d61e88c67a0b0e7bce315986fb8b` (git)
  - affected: `1506fcc8189cdd4b95e06df7845a09f18b4526a6 to before b0ad381fa7690244802aed119b478b4bdafc31dd` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.29`
  - unaffected: `before 2.6.29` (semver)
  - unaffected: `6.1.191 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.24 to 6.6.*, inclusive` (semver)
  - unaffected: `6.7.12 to 6.7.*, inclusive` (semver)
  - unaffected: `6.8 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.

> The Linux kernel btrfs filesystem code, in versions from commit 1506fcc8189cdd4b95e06df7845a09f18b4526a6 up to the fixed commits listed for each branch, and in 2.6.29 through the point where fixes landed, can deadlock during fiemap calls. The source gives few details on who can trigger it, but a deadlock here stems from a page fault while an extent lock is held during fiemap. Users should upgrade to a fixed kernel: 6.1.191 or later in the 6.1 series, 6.6.24 or later in 6.6, 6.7.12 or later in 6.7, or 6.8 or later. No workaround is listed.

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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.0017, the 6th percentile, on 21 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 17 May 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/06d3879bb51be205a04b3da752cfd121a3367fb1>
- <https://git.kernel.org/stable/c/ded566b4637f1b6b4c9ba74e7d0b8493e93f19cf>
- <https://git.kernel.org/stable/c/89bca7fe6382d61e88c67a0b0e7bce315986fb8b>
- <https://git.kernel.org/stable/c/b0ad381fa7690244802aed119b478b4bdafc31dd>

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

---

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