diff options
| author | Dan Carpenter <error27@gmail.com> | 2026-05-20 08:59:28 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-05-22 11:21:07 +0200 |
| commit | 9ea06a3fbf9f16e0d98c52cb3b99642be15ec281 (patch) | |
| tree | ad9f85c718d954e22deb791ddd182f9314dc80fe /kernel | |
| parent | 8f6aa392653e52a45858cff5c063df550028836b (diff) | |
usb: dwc2: Fix use after free in debug code
We're not allowed to dereference "urb" after calling
usb_hcd_giveback_urb() so save the urb->status ahead of time.
Fixes: 7359d482eb4d ("staging: HCD files for the DWC2 driver")
Cc: stable <stable@kernel.org>
Signed-off-by: Dan Carpenter <error27@gmail.com>
Link: https://patch.msgid.link/ag1NwBpqT4IEQcdJ@stanley.mountain
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
