media: pvrusb2: fix URB leak in pvr2_send_request_ex
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d855497edbfbf9e19a17f4a1154bca69cb4bd9ba · < 2011929f0e4cf6a0a34dd6205911b12276904453| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
media: pvrusb2: fix URB leak in pvr2_send_request_ex
When pvr2_send_request_ex() submits a write URB successfully but fails to submit the read URB (e.g. returns -ENOMEM), it returns immediately without waiting for the write URB to complete. Since the driver reuses the same URB structure, a subsequent call to pvr2_send_request_ex() attempts to submit the still-active write URB, triggering a 'URB submitted while active' warning in usb_submit_urb().
Fix this by ensuring the write URB is unlinked and waited upon if the read URB submission fails.
From the CVE record · Linux
The Linux kernel pvrusb2 driver can leave a write USB request active if submitting a subsequent read request fails. A later request can then trigger a “URB submitted while active” warning. The input does not describe an attacker, authentication requirements, or user interaction.
Engineers running Linux kernels with the pvrusb2 driver should check their kernel version; affected versions are not specified.