Description
In the Linux kernel, the following vulnerability has been resolved: media: au0828: Free URBs when starting DVB streaming fails start_urb_transfer() stores each allocated URB in dev->urbs[], but sets urb_streaming only after all URBs have been submitted. If a later URB or transfer buffer allocation fails, earlier entries are left allocated. A submission failure calls stop_urb_transfer(), but that function returns immediately while urb_streaming is false, leaving both submitted and unsubmitted URBs behind. Make stop_urb_transfer() release every populated slot regardless of the streaming flag and clear each slot after release. Route all start errors through this cleanup. usb_kill_urb() safely handles both submitted and unsubmitted URBs, while the existing preallocation check preserves the lifetime of shared transfer buffers. This issue was found by a static analysis checker and confirmed by manual source review.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
265a6510629ab39f33ece43a857089dd37978184 to < 0931ab88f47c5d85ed3a6ffa70f159f950cee3b2affected265a6510629ab39f33ece43a857089dd37978184 to < 9cebb7fb586338f331ac2fc390ffbb2fae09ce8faffected265a6510629ab39f33ece43a857089dd37978184 to < 90a2f115b7a4e4b17dd4c0f0bd5338c1d269da71affected265a6510629ab39f33ece43a857089dd37978184 to < 4ac22e3c842a19099693e58acf2e84dffeedc25caffected265a6510629ab39f33ece43a857089dd37978184 to < e73a96db220877bb846845a0e27e271609430bdeaffected265a6510629ab39f33ece43a857089dd37978184 to < 5bb8c5b1727ca8593df5711c186e6a9263436c27affected265a6510629ab39f33ece43a857089dd37978184 to < c6225311418caf83c09f3f9424a82ddbbc8c6093affected265a6510629ab39f33ece43a857089dd37978184 to < b8dd133d96a40012f4b67fd48d8ddd7306a3e024affected
Linux Linux
Default version status: affected
2.6.26affected0 to < 2.6.26unaffected5.10.275 to ≤ 5.10.*unaffected5.15.226 to ≤ 5.15.*unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.117 to ≤ 6.12.*unaffected6.18.63 to ≤ 6.18.*unaffected7.3.4 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/0931ab88f47c5d85ed3a6ffa70f159f950cee3b2 ↗
- https://git.kernel.org/stable/c/9cebb7fb586338f331ac2fc390ffbb2fae09ce8f ↗
- https://git.kernel.org/stable/c/90a2f115b7a4e4b17dd4c0f0bd5338c1d269da71 ↗
- https://git.kernel.org/stable/c/4ac22e3c842a19099693e58acf2e84dffeedc25c ↗
- https://git.kernel.org/stable/c/e73a96db220877bb846845a0e27e271609430bde ↗
- https://git.kernel.org/stable/c/5bb8c5b1727ca8593df5711c186e6a9263436c27 ↗
- https://git.kernel.org/stable/c/c6225311418caf83c09f3f9424a82ddbbc8c6093 ↗
- https://git.kernel.org/stable/c/b8dd133d96a40012f4b67fd48d8ddd7306a3e024 ↗