# memstick: rtsx_usb_ms: Fix slab-use-after-free in rtsx_usb_ms_drv_remove

CVE record · `CVE-2025-22020`

- **Identifiers:** `CVE-2025-22020`
- **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:** 16 Apr 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 16 Apr 2025, 10:20 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: `6827ca573c03385439fdfc8b512d556dc7c54fc9 to before 914c5e5bfceb9878f3056eaf4d1c88f2cbe0a185` (git)
  - affected: `6827ca573c03385439fdfc8b512d556dc7c54fc9 to before 9dfaf4d723c62bda8d9d1340e2e78acf0c190439` (git)
  - affected: `6827ca573c03385439fdfc8b512d556dc7c54fc9 to before 31f0eaed6914333f42501fc7e0f6830879f5ef2d` (git)
  - affected: `6827ca573c03385439fdfc8b512d556dc7c54fc9 to before 52d942a5302eefb3b7a3bfee310a5a33feeedc21` (git)
  - affected: `6827ca573c03385439fdfc8b512d556dc7c54fc9 to before 6186fb2cd36317277a8423687982140a7f3f7841` (git)
  - affected: `6827ca573c03385439fdfc8b512d556dc7c54fc9 to before b094e8e3988e02e8cef7a756c8d2cea9c12509ab` (git)
  - affected: `6827ca573c03385439fdfc8b512d556dc7c54fc9 to before 0067cb7d7e7c277e91a0887a3c24e71462379469` (git)
  - affected: `6827ca573c03385439fdfc8b512d556dc7c54fc9 to before 75123adf204f997e11bbddee48408c284f51c050` (git)
  - affected: `6827ca573c03385439fdfc8b512d556dc7c54fc9 to before 4676741a3464b300b486e70585c3c9b692be1632` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.0`
  - unaffected: `before 5.0` (semver)
  - unaffected: `5.4.292 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.236 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.180 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.133 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.86 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.22 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.10 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14.1 to 6.14.*, inclusive` (semver)
  - unaffected: `6.15 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.0022, the 12th 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 16 Apr 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/914c5e5bfceb9878f3056eaf4d1c88f2cbe0a185>
- <https://git.kernel.org/stable/c/9dfaf4d723c62bda8d9d1340e2e78acf0c190439>
- <https://git.kernel.org/stable/c/31f0eaed6914333f42501fc7e0f6830879f5ef2d>
- <https://git.kernel.org/stable/c/52d942a5302eefb3b7a3bfee310a5a33feeedc21>
- <https://git.kernel.org/stable/c/6186fb2cd36317277a8423687982140a7f3f7841>
- <https://git.kernel.org/stable/c/b094e8e3988e02e8cef7a756c8d2cea9c12509ab>
- <https://git.kernel.org/stable/c/0067cb7d7e7c277e91a0887a3c24e71462379469>
- <https://git.kernel.org/stable/c/75123adf204f997e11bbddee48408c284f51c050>
- <https://git.kernel.org/stable/c/4676741a3464b300b486e70585c3c9b692be1632>

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

---

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