# ext4: avoid crash when inline data creation follows DIO write

CVE record · `CVE-2022-50435`

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

Published by the CVE Program (CNA: Linux) at 1 Oct 2025, 11: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: `378f32bab3714f04c4e0c3aee4129f6703805550 to before fb98cb61efff3b2a1964939465ccaaf906af1d4f` (git)
  - affected: `378f32bab3714f04c4e0c3aee4129f6703805550 to before d8e4af8314df54d94cf2a541cf9c8626afe81d41` (git)
  - affected: `378f32bab3714f04c4e0c3aee4129f6703805550 to before 89db2b50469bdbccb06ab072096d9d403124abac` (git)
  - affected: `378f32bab3714f04c4e0c3aee4129f6703805550 to before 771f15782d95760cde352c8d4bfd6f2c70719568` (git)
  - affected: `378f32bab3714f04c4e0c3aee4129f6703805550 to before 4bb26f2885ac6930984ee451b952c5a6042f2c0e` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.5`
  - unaffected: `before 5.5` (semver)
  - unaffected: `5.10.150 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.75 to 5.15.*, inclusive` (semver)
  - unaffected: `5.19.17 to 5.19.*, inclusive` (semver)
  - unaffected: `6.0.3 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1 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 ext4 filesystem code from version 5.5 onward is affected until fixed stable releases are installed. A local user who writes a file with direct I/O, then truncates it and writes again, can trigger a kernel BUG and crash the system. Upgrade to 5.10.150, 5.15.75, 5.19.17, 6.0.3, 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.0016, the 5th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 1 Oct 2025, 11:42 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2022-50435)
- 1 Oct 2025, 12:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-50435)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/fb98cb61efff3b2a1964939465ccaaf906af1d4f>
- <https://git.kernel.org/stable/c/d8e4af8314df54d94cf2a541cf9c8626afe81d41>
- <https://git.kernel.org/stable/c/89db2b50469bdbccb06ab072096d9d403124abac>
- <https://git.kernel.org/stable/c/771f15782d95760cde352c8d4bfd6f2c70719568>
- <https://git.kernel.org/stable/c/4bb26f2885ac6930984ee451b952c5a6042f2c0e>

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

---

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