# jbd2: fix data-race and null-ptr-deref in jbd2_journal_dirty_metadata()

CVE record · `CVE-2025-38337`

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

Published by the CVE Program (CNA: Linux) at 10 Jul 2025, 08:15 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: `6e06ae88edae77379bef7c0cb7d3c2dd88676867 to before 5c1a34ff5b0bfdfd2f9343aa9b08d25df618bac5` (git)
  - affected: `6e06ae88edae77379bef7c0cb7d3c2dd88676867 to before ec669e5bf409f16e464bfad75f0ba039a45de29a` (git)
  - affected: `6e06ae88edae77379bef7c0cb7d3c2dd88676867 to before 43d5e3bb5f1dcd91e30238ea0b59a5f77063f84e` (git)
  - affected: `6e06ae88edae77379bef7c0cb7d3c2dd88676867 to before 23361b479f2700c00960d3ae9cdc8ededa762d47` (git)
  - affected: `6e06ae88edae77379bef7c0cb7d3c2dd88676867 to before 2e7c64d7a92c031d016f11c8e8cb05131ab7b75a` (git)
  - affected: `6e06ae88edae77379bef7c0cb7d3c2dd88676867 to before f78b38af3540b4875147b7b884ee11a27b3dbf4c` (git)
  - affected: `6e06ae88edae77379bef7c0cb7d3c2dd88676867 to before a377996d714afb8d4d5f4906336f78510039da29` (git)
  - affected: `6e06ae88edae77379bef7c0cb7d3c2dd88676867 to before af98b0157adf6504fade79b3e6cb260c4ff68e37` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.3`
  - unaffected: `before 4.3` (semver)
  - unaffected: `5.4.295 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.239 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.186 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.142 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.95 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.35 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.4 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16 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's jbd2 journaling code, used by ext4, has a null pointer dereference and a data race in jbd2_journal_dirty_metadata(). The source gives few details on how it can be triggered. Upgrade to 5.4.295, 5.10.239, 5.15.186, 6.1.142, or a later release in those series.

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.0020, the 10th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 10 Jul 2025, 08:15 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-38337)
- 10 Jul 2025, 09:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-38337)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/5c1a34ff5b0bfdfd2f9343aa9b08d25df618bac5>
- <https://git.kernel.org/stable/c/ec669e5bf409f16e464bfad75f0ba039a45de29a>
- <https://git.kernel.org/stable/c/43d5e3bb5f1dcd91e30238ea0b59a5f77063f84e>
- <https://git.kernel.org/stable/c/23361b479f2700c00960d3ae9cdc8ededa762d47>
- <https://git.kernel.org/stable/c/2e7c64d7a92c031d016f11c8e8cb05131ab7b75a>
- <https://git.kernel.org/stable/c/f78b38af3540b4875147b7b884ee11a27b3dbf4c>
- <https://git.kernel.org/stable/c/a377996d714afb8d4d5f4906336f78510039da29>
- <https://git.kernel.org/stable/c/af98b0157adf6504fade79b3e6cb260c4ff68e37>

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

---

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