can: usb: f81604: correctly anchor the urb in the read bulk callback
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
can: usb: f81604: 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 f81604 USB CAN driver can leak a USB request block (URB) because its read bulk callback anchors the URB after submitting it. The leak can occur if usb_kill_anchored_urbs() is called; the input does not specify how an attacker could trigger this or whether authentication or user interaction is required.
Engineers running the Linux kernel with the f81604 USB CAN driver should check their kernel version; affected versions are not specified.