CVEvulnerability
CVE-2026-90029
- Status
- Received
- Published
- 2026-09-16
- Last modified
- 2026-10-21
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Description
In the Linux kernel, the following vulnerability has been resolved:
usb: storage: realtek_cr: fix use-after-free on disconnect
realtek_cr_destructor() calls timer_delete() before the chip containing
the timer is freed. The timer callback may still be running and can
rearm itself, resulting in a use-after-free.
Use timer_shutdown_sync() to wait for the callback and prevent further
rearming. Do this unconditionally because ss_en may be changed after
the timer is armed.
Move timer_setup() into init_realtek_cr() so the timer is initialized
before any failure path can invoke the destructor.
Found by static analysis.
References
- https://git.kernel.org/stable/c/4ffee1aebb0c0ffcda9faffd17834ea9b00d42cc git.kernel.org
- https://git.kernel.org/stable/c/524d4257f741cd95eb85e2817c9c890928fcfef7 git.kernel.org
- https://git.kernel.org/stable/c/7c4e2f964c65dea4ea22386799d5fb10ef1e3e54 git.kernel.org
- https://git.kernel.org/stable/c/c1e7e35100efffba7c9e1dfa76519d6cd323ba3d git.kernel.org
- https://git.kernel.org/stable/c/cae9dbba6adae21a04a3bd045e07b489847ff2c6 git.kernel.org