# ext4: fix mb_cache_entry's e_refcnt leak in ext4_xattr_block_cache_find()

CVE record · `CVE-2024-39276`

- **Identifiers:** `CVE-2024-39276`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 25 Jun 2024
- **Updated:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 25 Jun 2024, 14:22 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: `b878c8a7f08f0c225b6a46ba1ac867e9c5d17807 to before 9ad75e78747b5a50dc5a52f0f8e92e920a653f16` (git)
  - affected: `fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to before 896a7e7d0d555ad8b2b46af0c2fa7de7467f9483` (git)
  - affected: `fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to before 76dc776153a47372719d664e0fc50d6355791abb` (git)
  - affected: `fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to before 681ff9a09accd8a4379f8bd30b7a1641ee19bb3e` (git)
  - affected: `fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to before e941b712e758f615d311946bf98216e79145ccd9` (git)
  - affected: `fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to before a95df6f04f2c37291adf26a74205cde0314d4577` (git)
  - affected: `fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to before b37c0edef4e66fb21a2fbc211471195a383e5ab8` (git)
  - affected: `fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to before 0c0b4a49d3e7f49690a6827a41faeffad5df7e21` (git)
  - affected: `9da1f6d06b7a6d068e68fcfd7cbbf6b586d888e1` (git)
  - affected: `81313ed2c705d958744882a269bf4a5e3ddec95e` (git)
  - affected: `4.19.14 to before 4.19.316` (semver)
  - affected: `4.14.92 to before 4.15` (semver)
  - and 1 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.0`
  - unaffected: `before 5.0` (semver)
  - unaffected: `4.19.316 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.278 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.219 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.161 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.94 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.34 to 6.6.*, inclusive` (semver)
  - unaffected: `6.9.5 to 6.9.*, inclusive` (semver)
  - unaffected: `6.10 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## 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

- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0023, the 14th 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 25 Jun 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/9ad75e78747b5a50dc5a52f0f8e92e920a653f16>
- <https://git.kernel.org/stable/c/896a7e7d0d555ad8b2b46af0c2fa7de7467f9483>
- <https://git.kernel.org/stable/c/76dc776153a47372719d664e0fc50d6355791abb>
- <https://git.kernel.org/stable/c/681ff9a09accd8a4379f8bd30b7a1641ee19bb3e>
- <https://git.kernel.org/stable/c/e941b712e758f615d311946bf98216e79145ccd9>
- <https://git.kernel.org/stable/c/a95df6f04f2c37291adf26a74205cde0314d4577>
- <https://git.kernel.org/stable/c/b37c0edef4e66fb21a2fbc211471195a383e5ab8>
- <https://git.kernel.org/stable/c/0c0b4a49d3e7f49690a6827a41faeffad5df7e21>

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

---

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