# md: fix a crash in mempool_free

CVE record · `CVE-2022-50381`

- **Identifiers:** `CVE-2022-50381`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-476](https://cwe.mitre.org/data/definitions/476.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 18 Sept 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 18 Sept 2025, 13:33 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: `f8b58edf3acf0dcc186b8330939000ecf709368a to before 732cd66ec19a17f2b9183d7d5b7bdb9c39b0776e` (git)
  - affected: `f8b58edf3acf0dcc186b8330939000ecf709368a to before cf06b162f5b6337b688072a1a47941280b8f7110` (git)
  - affected: `f8b58edf3acf0dcc186b8330939000ecf709368a to before b5be563b4356b3089b3245d024cae3f248ba7090` (git)
  - affected: `f8b58edf3acf0dcc186b8330939000ecf709368a to before 384ef33d37cefb2ac539d44597d03f06c9b8975c` (git)
  - affected: `f8b58edf3acf0dcc186b8330939000ecf709368a to before ae7793027766491c5f8635b12d15a5940d3b8698` (git)
  - affected: `f8b58edf3acf0dcc186b8330939000ecf709368a to before 91bd504128a51776472445070e11a3b0f9348c90` (git)
  - affected: `f8b58edf3acf0dcc186b8330939000ecf709368a to before 842f222fc42a9239831e15b1fd49a51c546902cb` (git)
  - affected: `f8b58edf3acf0dcc186b8330939000ecf709368a to before 97ce99984be12b9acb49ddce0f5d8ebb037adbb6` (git)
  - affected: `f8b58edf3acf0dcc186b8330939000ecf709368a to before 341097ee53573e06ab9fc675d96a052385b851fa` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.13`
  - unaffected: `before 2.6.13` (semver)
  - unaffected: `4.9.337 to 4.9.*, inclusive` (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.17 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1.3 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

- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

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

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/732cd66ec19a17f2b9183d7d5b7bdb9c39b0776e>
- <https://git.kernel.org/stable/c/cf06b162f5b6337b688072a1a47941280b8f7110>
- <https://git.kernel.org/stable/c/b5be563b4356b3089b3245d024cae3f248ba7090>
- <https://git.kernel.org/stable/c/384ef33d37cefb2ac539d44597d03f06c9b8975c>
- <https://git.kernel.org/stable/c/ae7793027766491c5f8635b12d15a5940d3b8698>
- <https://git.kernel.org/stable/c/91bd504128a51776472445070e11a3b0f9348c90>
- <https://git.kernel.org/stable/c/842f222fc42a9239831e15b1fd49a51c546902cb>
- <https://git.kernel.org/stable/c/97ce99984be12b9acb49ddce0f5d8ebb037adbb6>
- <https://git.kernel.org/stable/c/341097ee53573e06ab9fc675d96a052385b851fa>

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

---

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