# kernfs: fix use-after-free in \_\_kernfs_remove

CVE record · `CVE-2022-50432`

- **Identifiers:** `CVE-2022-50432`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 Oct 2025
- **Updated:** 15 Oct 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: `45a140e587f3d32d8d424ed940dffb61e1739047 to before 4dfd6a477a1525773469feaf3c514b2c0fef76b5` (git)
  - affected: `45a140e587f3d32d8d424ed940dffb61e1739047 to before 02eb35131050735332658029082f61515b7dfe38` (git)
  - affected: `45a140e587f3d32d8d424ed940dffb61e1739047 to before 028cf780743eea79abffa7206b9dcfc080ad3546` (git)
  - affected: `45a140e587f3d32d8d424ed940dffb61e1739047 to before c78b0dc6fb7fb389d674e491fd376388cdfb1d53` (git)
  - affected: `45a140e587f3d32d8d424ed940dffb61e1739047 to before 6f72a3977ba9d0e5491a5c01315204272e7f9c44` (git)
  - affected: `45a140e587f3d32d8d424ed940dffb61e1739047 to before 94d2643df1e70a4c310ebb5e2c493eec33df1a06` (git)
  - affected: `45a140e587f3d32d8d424ed940dffb61e1739047 to before af1b57cc39beca203559576b3046094fc9e5eb32` (git)
  - affected: `45a140e587f3d32d8d424ed940dffb61e1739047 to before 4abc99652812a2ddf932f137515d5c5a04723538` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.14`
  - unaffected: `before 3.14` (semver)
  - unaffected: `4.9.332 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.298 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.264 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.223 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.153 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.77 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.7 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1 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

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

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

This record came from the full history of the CVE Program, published 1 Oct 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/4dfd6a477a1525773469feaf3c514b2c0fef76b5>
- <https://git.kernel.org/stable/c/02eb35131050735332658029082f61515b7dfe38>
- <https://git.kernel.org/stable/c/028cf780743eea79abffa7206b9dcfc080ad3546>
- <https://git.kernel.org/stable/c/c78b0dc6fb7fb389d674e491fd376388cdfb1d53>
- <https://git.kernel.org/stable/c/6f72a3977ba9d0e5491a5c01315204272e7f9c44>
- <https://git.kernel.org/stable/c/94d2643df1e70a4c310ebb5e2c493eec33df1a06>
- <https://git.kernel.org/stable/c/af1b57cc39beca203559576b3046094fc9e5eb32>
- <https://git.kernel.org/stable/c/4abc99652812a2ddf932f137515d5c5a04723538>

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

---

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