# memstick/ms_block: Fix a memory leak

CVE record · `CVE-2022-50140`

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

Published by the CVE Program (CNA: Linux) at 18 Jun 2025, 11:03 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: `0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 to before efd675246aec045507b9425c67b548cc2d782d8f` (git)
  - affected: `0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 to before 37958980eb4cd71ae594ace093c11b6a91e165e8` (git)
  - affected: `0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 to before 9d8b911fe3c3ed788c66edba7c90e32a4a7a5f53` (git)
  - affected: `0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 to before 9260a154b3b5e387dbceec7c0ac441470646bc6f` (git)
  - affected: `0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 to before 961d7d12080fe70847f944d656e36cd0dd0214ba` (git)
  - affected: `0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 to before 16e07966638717416abf45393d6a80a5a1034429` (git)
  - affected: `0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 to before 39be95d1ff7b44c1e969af72ba9da7332dfcc1da` (git)
  - affected: `0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 to before 54eb7a55be6779c4d0c25eaf5056498a28595049` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.12`
  - unaffected: `before 3.12` (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.137 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.61 to 5.15.*, inclusive` (semver)
  - unaffected: `5.18.18 to 5.18.*, inclusive` (semver)
  - unaffected: `5.19.2 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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.0020, the 10th 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-50140](https://www.cve.org/CVERecord?id=CVE-2022-50140)
- [NVD: CVE-2022-50140](https://nvd.nist.gov/vuln/detail/CVE-2022-50140)

### References from the CNA

- <https://git.kernel.org/stable/c/efd675246aec045507b9425c67b548cc2d782d8f>
- <https://git.kernel.org/stable/c/37958980eb4cd71ae594ace093c11b6a91e165e8>
- <https://git.kernel.org/stable/c/9d8b911fe3c3ed788c66edba7c90e32a4a7a5f53>
- <https://git.kernel.org/stable/c/9260a154b3b5e387dbceec7c0ac441470646bc6f>
- <https://git.kernel.org/stable/c/961d7d12080fe70847f944d656e36cd0dd0214ba>
- <https://git.kernel.org/stable/c/16e07966638717416abf45393d6a80a5a1034429>
- <https://git.kernel.org/stable/c/39be95d1ff7b44c1e969af72ba9da7332dfcc1da>
- <https://git.kernel.org/stable/c/54eb7a55be6779c4d0c25eaf5056498a28595049>

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

---

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