can: gs_usb: gs_usb_receive_bulk_callback(): fix error message
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 79a6d1bfe1148bc921b8d7f3371a7fbce44e30f7 · < 494fc029f662c331e06b7c2031deff3c64200eed| No fix yet |
| Linux Linux |
| No fix yet |
In the Linux kernel, the following vulnerability has been resolved:
can: gs_usb: gs_usb_receive_bulk_callback(): fix error message
Sinc commit 79a6d1bfe114 ("can: gs_usb: gs_usb_receive_bulk_callback(): unanchor URL on usb_submit_urb() error") a failing resubmit URB will print an info message.
In the case of a short read where netdev has not yet been assigned, initialize as NULL to avoid dereferencing an undefined value. Also report the error value of the failed resubmit.
From the CVE record · Linux
The Linux kernel's gs_usb receive callback can dereference an undefined value during a short read when the network device has not yet been assigned. The input does not establish how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel with gs_usb should check their deployments; affected versions are not specified.