can: usb: etas_es58x: correctly anchor the urb in the read bulk callback
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8537257874e949a59c834cecfd5a063e11b64b0b · < b8f9ca88253574638bcff38900a4c28d570b1919| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
can: usb: etas_es58x: correctly anchor the urb in the read bulk callback
When submitting an urb, that is using the anchor pattern, it needs to be anchored before submitting it otherwise it could be leaked if usb_kill_anchored_urbs() is called. This logic is correctly done elsewhere in the driver, except in the read bulk callback so do that here also.
From the CVE record · Linux
The Linux kernel's etas_es58x USB CAN driver can leak a USB request block (URB) because its read bulk callback submits the URB before anchoring it. The leak can occur if usb_kill_anchored_urbs() is called; the input does not specify an attacker action, access requirement, or user interaction needed to trigger it.
Engineers running Linux kernels that include the etas_es58x USB CAN driver should check their kernel versions against the vendor advisory; affected versions were not provided.