Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-90029

usb: storage: realtek_cr: fix use-after-free on disconnect

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • e931830bb877e2aad9a1be83506f9bdb26c91e4e to < f98c2f119fcd81cfede114d2fd3463a17aed8209affected
  • e931830bb877e2aad9a1be83506f9bdb26c91e4e to < 0935e57ede003bbe35de9c5d6a49260999ca0314affected
  • e931830bb877e2aad9a1be83506f9bdb26c91e4e to < c1e7e35100efffba7c9e1dfa76519d6cd323ba3daffected
  • e931830bb877e2aad9a1be83506f9bdb26c91e4e to < 524d4257f741cd95eb85e2817c9c890928fcfef7affected
  • e931830bb877e2aad9a1be83506f9bdb26c91e4e to < 7c4e2f964c65dea4ea22386799d5fb10ef1e3e54affected
  • e931830bb877e2aad9a1be83506f9bdb26c91e4e to < cae9dbba6adae21a04a3bd045e07b489847ff2c6affected
  • e931830bb877e2aad9a1be83506f9bdb26c91e4e to < 4ffee1aebb0c0ffcda9faffd17834ea9b00d42ccaffected

Linux Linux

Default version status: affected

  • 3.1affected
  • 0 to < 3.1unaffected
  • 5.15.224 to ≤ 5.15.*unaffected
  • 6.1.191 to ≤ 6.1.*unaffected
  • 6.6.160 to ≤ 6.6.*unaffected
  • 6.12.112 to ≤ 6.12.*unaffected
  • 6.18.51 to ≤ 6.18.*unaffected
  • 7.2.5 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References