# ext4: fix inode leak in ext4_xattr_inode_create() on an error path

CVE record · `CVE-2022-50845`

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

Published by the CVE Program (CNA: Linux) at 30 Dec 2025, 12:11 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: `bd3b963b273e247e13979f98812a6e4979b5c1e4 to before 0f709e08caffb41bbc9b38b9a4c1bd0769794007` (git)
  - affected: `bd3b963b273e247e13979f98812a6e4979b5c1e4 to before eab94a46560f68d4bcd15222701ced479f84f427` (git)
  - affected: `bd3b963b273e247e13979f98812a6e4979b5c1e4 to before 9ef603086c5b796fde1c7f22a17d0fc826ba54cb` (git)
  - affected: `bd3b963b273e247e13979f98812a6e4979b5c1e4 to before 9882601ee689975c1c0076ee65bf222a2a35e535` (git)
  - affected: `bd3b963b273e247e13979f98812a6e4979b5c1e4 to before 322cf639b0b7f137543072c55545adab782b3a25` (git)
  - affected: `bd3b963b273e247e13979f98812a6e4979b5c1e4 to before fdaaf45786dc8c17a72901021772520fceb18f8c` (git)
  - affected: `bd3b963b273e247e13979f98812a6e4979b5c1e4 to before 70e5b46beba64706430a87a6d516054225e8ac8a` (git)
  - affected: `bd3b963b273e247e13979f98812a6e4979b5c1e4 to before e4db04f7d3dbbe16680e0ded27ea2a65b10f766a` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.13`
  - unaffected: `before 4.13` (semver)
  - unaffected: `4.14.303 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.270 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.229 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.163 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.87 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.18 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1.4 to 6.1.*, inclusive` (semver)
  - unaffected: `6.2 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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.0025, the 16th percentile, on 19 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 30 Dec 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/0f709e08caffb41bbc9b38b9a4c1bd0769794007>
- <https://git.kernel.org/stable/c/eab94a46560f68d4bcd15222701ced479f84f427>
- <https://git.kernel.org/stable/c/9ef603086c5b796fde1c7f22a17d0fc826ba54cb>
- <https://git.kernel.org/stable/c/9882601ee689975c1c0076ee65bf222a2a35e535>
- <https://git.kernel.org/stable/c/322cf639b0b7f137543072c55545adab782b3a25>
- <https://git.kernel.org/stable/c/fdaaf45786dc8c17a72901021772520fceb18f8c>
- <https://git.kernel.org/stable/c/70e5b46beba64706430a87a6d516054225e8ac8a>
- <https://git.kernel.org/stable/c/e4db04f7d3dbbe16680e0ded27ea2a65b10f766a>

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

---

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