diff options
| author | Griffin Kroah-Hartman <griffin@kroah.com> | 2026-07-13 17:43:53 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-17 12:31:19 +0200 |
| commit | e263e18a9e7b1ff3e7301f0801c6ff87c31adfb6 (patch) | |
| tree | 5e5d69a25176f1f039da7cd9ff66d1904377d0d5 /tools/perf/scripts/python | |
| parent | c9a934ddee1d572cd7bba3002aacee8d10896e75 (diff) | |
usb: core: Add lock to usb_wakeup_notification()
Add a spin lock to usb_wakeup notification to prevent a race condition
with dereferencing freed memory. This could be hit by the xHCI driver as
it calls this function from an IRQ and could race with the
hub_disconnect() function, which properly grabs this lock to protect the
state of the device.
Assisted-by: gkh_clanker_t1000
Signed-off-by: Griffin Kroah-Hartman <griffin@kroah.com>
Link: https://patch.msgid.link/20260713-usb_core_patches_1-v1-3-7721c2b33f53@kroah.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
