# fs: fix UAF/GPF bug in nilfs_mdt_destroy

CVE record · `CVE-2022-50367`

- **Identifiers:** `CVE-2022-50367`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-416](https://cwe.mitre.org/data/definitions/416.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 17 Sept 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 17 Sept 2025, 14:56 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: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d1ff475d7c83289d0a7faef346ea3bbf90818bad` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c0aa76b0f17f59dd9c9d3463550a2986a1d592e4` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before ec2aab115eb38ac4992ea2fcc2a02fbe7af5cf48` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 70e4f70d54e0225f91814e8610477d65f33cefe4` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 1e555c3ed1fce4b278aaebe18a64a934cece57d8` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 64b79e632869ad3ef6c098a4731d559381da1115` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 81de80330fa6907aec32eb54c5619059e6e36452` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2a96b532098284ecf8e4849b8b9e5fc7a28bdee9` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2e488f13755ffbb60f307e991b27024716a33b29` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.12`
  - unaffected: `before 2.6.12` (semver)
  - unaffected: `4.9.331 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.296 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.262 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.218 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.148 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.73 to 5.15.*, inclusive` (semver)
  - unaffected: `5.19.15 to 5.19.*, inclusive` (semver)
  - unaffected: `6.0.1 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) (used for this record)
- 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 ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0024, the 14th 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 17 Sept 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/d1ff475d7c83289d0a7faef346ea3bbf90818bad>
- <https://git.kernel.org/stable/c/c0aa76b0f17f59dd9c9d3463550a2986a1d592e4>
- <https://git.kernel.org/stable/c/ec2aab115eb38ac4992ea2fcc2a02fbe7af5cf48>
- <https://git.kernel.org/stable/c/70e4f70d54e0225f91814e8610477d65f33cefe4>
- <https://git.kernel.org/stable/c/1e555c3ed1fce4b278aaebe18a64a934cece57d8>
- <https://git.kernel.org/stable/c/64b79e632869ad3ef6c098a4731d559381da1115>
- <https://git.kernel.org/stable/c/81de80330fa6907aec32eb54c5619059e6e36452>
- <https://git.kernel.org/stable/c/2a96b532098284ecf8e4849b8b9e5fc7a28bdee9>
- <https://git.kernel.org/stable/c/2e488f13755ffbb60f307e991b27024716a33b29>

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

---

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