# drivers:md:fix a potential use-after-free bug

CVE record · `CVE-2022-50022`

- **Identifiers:** `CVE-2022-50022`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 18 Jun 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 18 Jun 2025, 11:01 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: `59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to before 7470a4314b239e9a9580f248fdf4c9a92805490e` (git)
  - affected: `59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to before 09cf99bace7789d91caa8d10fbcfc8b2fb35857f` (git)
  - affected: `59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to before e5b3dd2d92c4511e81f6e4ec9c5bb7ad25e03d13` (git)
  - affected: `59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to before f5d46f1b47f65da1faf468277b261eb78c8e25b5` (git)
  - affected: `59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to before 5d8325fd15892c8ab1146edc1d7ed8463de39636` (git)
  - affected: `59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to before d9b94c3ace549433de8a93eeb27b0391fc8ac406` (git)
  - affected: `59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to before eb3a4f73f43f839df981dda5859e8e075067a360` (git)
  - affected: `59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to before 104212471b1c1817b311771d817fb692af983173` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.1`
  - unaffected: `before 4.1` (semver)
  - unaffected: `4.9.326 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.291 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.256 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.211 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.138 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.63 to 5.15.*, inclusive` (semver)
  - unaffected: `5.19.4 to 5.19.*, inclusive` (semver)
  - unaffected: `6.0 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.0027, the 19th 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 18 Jun 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/7470a4314b239e9a9580f248fdf4c9a92805490e>
- <https://git.kernel.org/stable/c/09cf99bace7789d91caa8d10fbcfc8b2fb35857f>
- <https://git.kernel.org/stable/c/e5b3dd2d92c4511e81f6e4ec9c5bb7ad25e03d13>
- <https://git.kernel.org/stable/c/f5d46f1b47f65da1faf468277b261eb78c8e25b5>
- <https://git.kernel.org/stable/c/5d8325fd15892c8ab1146edc1d7ed8463de39636>
- <https://git.kernel.org/stable/c/d9b94c3ace549433de8a93eeb27b0391fc8ac406>
- <https://git.kernel.org/stable/c/eb3a4f73f43f839df981dda5859e8e075067a360>
- <https://git.kernel.org/stable/c/104212471b1c1817b311771d817fb692af983173>

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

---

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