Shellfeed logo Shellfeed

CVE-2026-90031 · UNKNOWN

Summary: usb-storage: ene_ub6250: fix race between scan work and probe

Details

In the Linux kernel, the following vulnerability has been resolved:

usb-storage: ene_ub6250: fix race between scan work and probe

ene_ub6250_probe() calls usb_stor_probe2(), which starts the usb-storage
infrastructure and schedules the delayed scan work. The driver then
calls ene_get_card_type(), which sends an ENE command through
ene_send_scsi_cmd() and the usb-storage bulk transfer helpers.

Both the delayed scan work, through usb_stor_Bulk_max_lun(), and
ene_get_card_type() use us->current_urb. The scan work serializes this
access with us->dev_mutex, but the ENE card-type probe does not. If the
scan work runs while ene_get_card_type() is still using us->current_urb,
usb_submit_urb() warns that the URB is already active.

Serialize ene_get_card_type() with us->dev_mutex, matching the locking
used by the scan path.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [41e568d14ec0aca1b2bb19563517aad3b06d6805 – 9cd335f4f41e84d1ab88d80150ffee8dee9650d7]
  • Linux Kernel [2.6.39 – 5.10.270] [5.11.0 – 5.15.221] [5.16.0 – 6.1.188] [6.2.0 – 6.6.157] [6.7.0 – 6.12.110] [6.13.0 – 6.18.51] [6.19.0 – 7.2.5]

References