CVE
CVE-2025-22020
CNA description
In the Linux kernel, the following vulnerability has been resolved: memstick: rtsx_usb_ms: Fix slab-use-after-free in rtsx_usb_ms_drv_remove This fixes the following crash: ================================================================== BUG: KASAN: slab-use-after-free in rtsx_usb_ms_poll_card+0x159/0x200 [rtsx_usb_ms] Read of size 8 at addr ffff888136335380 by task kworker/6:0/140241 CPU: 6 UID: 0 PID: 140241 Comm: kworker/6:0 Kdump: loaded Tainted: G E 6.14.0-rc6+ #1 Tainted: [E]=UNSIGNED_MODULE Hardware name: LENOVO 30FNA1V7CW/1057, BIOS S0EKT54A 07/01/2024 Workqueue: events rtsx_usb_ms_poll_card [rtsx_usb_ms] Call Trace: <TASK> dump_stack_lvl+0x51/0x70 print_address_description.constprop.0+0x27/0x320 ? rtsx_usb_ms_poll_card+0x159/0x200 [rtsx_usb_ms] print_report+0x3e/0x70 kasan_report+0xab/0xe0 ? rtsx_usb_ms_poll_card+0x159/0x200 [rtsx_usb_ms] rtsx_usb_ms_poll_card+0x159/0x200 [rtsx_usb_ms] ? __pfx_rtsx_usb_ms_poll_card+0x10/0x10 [rtsx_usb_ms] ? __pfx___schedule+0x10/0x10 ? kick_pool+0x3b/0x270 process_one_work+0x357/0x660 worker_thread+0x390/0x4c0 ? __pfx_worker_thread+0x10/0x10 kthread+0x190/0x1d0 ? __pfx_kthread+0x10/0x10 ret_from_fork+0x2d/0x50 ? __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1a/0x30 </TASK> Allocated by task 161446: kasan_save_stack+0x20/0x40 kasan_save_track+0x10/0x30 __kasan_kmalloc+0x7b/0x90 __kmalloc_noprof+0x1a7/0x470 memstick_alloc_host+0x1f/0xe0 [memstick] rtsx_usb_ms_drv_probe+0x47/0x320 [rtsx_usb_ms] platform_probe+0x60/0xe0 call_driver_probe+0x35/0x120 really_probe+0x123/0x410 __driver_probe_device+0xc7/0x1e0 driver_probe_device+0x49/0xf0 __device_attach_driver+0xc6/0x160 bus_for_each_drv+0xe4/0x160 __device_attach+0x13a/0x2b0 bus_probe_device+0xbd/0xd0 device_add+0x4a5/0x760 platform_device_add+0x189/0x370 mfd_add_device+0x587/0x5e0 mfd_add_devices+0xb1/0x130 rtsx_usb_probe+0x28e/0x2e0 [rtsx_usb] usb_probe_interface+0x15c/0x460 call_driver_probe+0x35/0x120…
Affected versions
All Linux kernel vulnerabilities →
- ≥ 6.14, < 6.14.1Fixed in 6.14.1
- ≥ 6.13, < 6.13.10Fixed in 6.13.10
- ≥ 6.7, < 6.12.22Fixed in 6.12.22
- ≥ 6.2, < 6.6.86Fixed in 6.6.86
- ≥ 5.16, < 6.1.133Fixed in 6.1.133
- ≥ 5.11, < 5.15.180Fixed in 5.15.180
- ≥ 5.5, < 5.10.236Fixed in 5.10.236
- ≥ 5.0, < 5.4.292Fixed in 5.4.292
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/0067cb7d7e7c277e91a0887a3c24e71462379469 · Patch
- git.kernel.org/stable/c/31f0eaed6914333f42501fc7e0f6830879f5ef2d · Patch
- git.kernel.org/stable/c/4676741a3464b300b486e70585c3c9b692be1632 · Patch
- git.kernel.org/stable/c/52d942a5302eefb3b7a3bfee310a5a33feeedc21 · Patch
- git.kernel.org/stable/c/6186fb2cd36317277a8423687982140a7f3f7841 · Patch
- git.kernel.org/stable/c/75123adf204f997e11bbddee48408c284f51c050 · Patch
- git.kernel.org/stable/c/914c5e5bfceb9878f3056eaf4d1c88f2cbe0a185 · Patch
- git.kernel.org/stable/c/9dfaf4d723c62bda8d9d1340e2e78acf0c190439 · Patch
- git.kernel.org/stable/c/b094e8e3988e02e8cef7a756c8d2cea9c12509ab · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.