... | ... | ||
---|---|---|---|
14 | attempt to access skb->next, triggering a NULL pointer dereference (Kernel Panic). | 14 | attempt to access skb->next, triggering a NULL pointer dereference (Kernel Panic). |
15 | 15 | ||
16 | Fix issue: | 16 | Fix issue: |
17 | adding the usbnet_going_away check in usb_submit_urb to synchronize the validation logic. | 17 | adding the usbnet_going_away check in usb_submit_urb to synchronize the validation logic. |
18 | 18 | ||
19 | Changes in v4 | ||
20 | -use the correct "Cc:" tag format. | ||
19 | 21 | ||
20 | Changes in v3 | 22 | Changes in v3 |
21 | -use the correct "Fixes:" tag format. | 23 | -use the correct "Fixes:" tag format. |
22 | 24 | ||
23 | Changes in v2 | 25 | Changes in v2 |
... | ... | diff view generated by jsdifflib |
... | ... | ||
---|---|---|---|
12 | (e.g., rx_complete → defer_bh → __skb_unlink(skb, list)) | 12 | (e.g., rx_complete → defer_bh → __skb_unlink(skb, list)) |
13 | attempt to access skb->next, triggering a NULL pointer | 13 | attempt to access skb->next, triggering a NULL pointer |
14 | dereference (Kernel Panic). | 14 | dereference (Kernel Panic). |
15 | 15 | ||
16 | Fixes: 04e906839a05 ("usbnet: fix cyclical race on disconnect with work queue") | 16 | Fixes: 04e906839a05 ("usbnet: fix cyclical race on disconnect with work queue") |
17 | Cc: stable@vger.kernel.org | ||
17 | Signed-off-by: Ying Lu <luying1@xiaomi.com> | 18 | Signed-off-by: Ying Lu <luying1@xiaomi.com> |
18 | --- | 19 | --- |
19 | drivers/net/usb/usbnet.c | 6 +++--- | 20 | drivers/net/usb/usbnet.c | 6 +++--- |
20 | 1 file changed, 3 insertions(+), 3 deletions(-) | 21 | 1 file changed, 3 insertions(+), 3 deletions(-) |
21 | 22 | ||
... | ... | diff view generated by jsdifflib |