]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: yurex: fix race in probe
authorOliver Neukum <oneukum@suse.com>
Mon, 9 Feb 2026 14:37:20 +0000 (15:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Feb 2026 19:25:07 +0000 (20:25 +0100)
commit7a875c09899ba0404844abfd8f0d54cdc481c151
tree4833c02119f9671ccca450183ba19446e37d37e9
parent0d6c8144ca4d93253de952a5ea0028c19ed7ab68
usb: yurex: fix race in probe

The bbu member of the descriptor must be set to the value
standing for uninitialized values before the URB whose
completion handler sets bbu is submitted. Otherwise there is
a window during which probing can overwrite already retrieved
data.

Cc: stable <stable@kernel.org>
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Link: https://patch.msgid.link/20260209143720.1507500-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/yurex.c