Files
linux-stable-mirror/drivers/usb/core
Griffin Kroah-HartmanandGreg Kroah-Hartman 4e0197fbb0 usb: core: sysfs: add lock to bos_descriptors_read()
Add a lock to the function bos_descriptors_read().

This function accesses udev->bos, which could be simultaneously freed in
usb_reset_and_verify_device(), a function that is commonly called in
drivers all over the kernel.

Assisted-by: gkh_clanker_t1000
Signed-off-by: Griffin Kroah-Hartman <griffin@kroah.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Link: https://patch.msgid.link/20260715-usb_core_patches_3-v1-1-53021f5576fd@kroah.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-07-16 17:11:44 +02:00
..
2026-06-01 17:39:51 +02:00
2026-07-08 17:19:17 +02:00
2025-06-19 12:36:19 +02:00