CVE-2025-22020: Linux kernel · memstick: rtsx_usb_ms: Fix slab-use-after-free in rtsx_usb_ms_drv_remove
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 5.4.0-1147.157~18.04.1 : patch Linux kernel soon.
Data as of 30 Oct 2026, 23:07 UTC
- Patch
- Available – fixed in 5.4.0-1147.157~18.04.1, 5.4.0-1152.159~18.04.1, 5.4.0-1150.159~18.04.1 +86
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7585-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7592-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7593-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7598-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and has been incorporated into multiple Linux kernel versions, including 5.4.0-1147.157~18.04.1 and later. Users should update their Linux kernel to one of the fixed versions to remediate this vulnerability. After updating, a system reboot is required. Due to ABI changes, recompilation and reinstallation of third-party kernel modules may be necessary.
Description
A slab-use-after-free vulnerability was identified and fixed in the rtsx_usb_ms driver of the Linux kernel's MemoryStick subsystem. This flaw could cause kernel crashes and potentially allow an attacker with local privileges to compromise system integrity. The issue was addressed in multiple Linux kernel versions with patches available. Users should update to the fixed kernel versions to mitigate the risk.
References
- ubuntu.com/security/CVE-2025-22020 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-22020 (opens in a new tab)
- git.kernel.org/linus/4676741a3464b300b486e70585c3c9b692be1632 (opens in a new tab)
- git.kernel.org/stable/c/0067cb7d7e7c277e91a0887a3c24e71462379469 (opens in a new tab)
- git.kernel.org/stable/c/31f0eaed6914333f42501fc7e0f6830879f5ef2d (opens in a new tab)
- git.kernel.org/stable/c/4676741a3464b300b486e70585c3c9b692be1632 (opens in a new tab)
- git.kernel.org/stable/c/52d942a5302eefb3b7a3bfee310a5a33feeedc21 (opens in a new tab)
- git.kernel.org/stable/c/6186fb2cd36317277a8423687982140a7f3f7841 (opens in a new tab)
- git.kernel.org/stable/c/75123adf204f997e11bbddee48408c284f51c050 (opens in a new tab)
- git.kernel.org/stable/c/914c5e5bfceb9878f3056eaf4d1c88f2cbe0a185 (opens in a new tab)
- git.kernel.org/stable/c/9dfaf4d723c62bda8d9d1340e2e78acf0c190439 (opens in a new tab)
- git.kernel.org/stable/c/b094e8e3988e02e8cef7a756c8d2cea9c12509ab (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7592-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7593-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-1 (opens in a new tab)