USB: c67x00: fix use-after-free in c67x00_add_iso_urb()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ff172092cba7ec990ecc7b610ce703e19570b8f0, Kernel 62cd519ab74cac499036cd88c11692f8f0d53e14, Kernel 7983daa159981fac125db2457437723f38ea1472 and 14 more.
In the Linux kernel, the following vulnerability has been resolved: USB: c67x00: fix use-after-free in c67x00_add_iso_urb() When TD creation fails for the last packet of an isochronous URB, c67x00_add_iso_urb() gives the URB back before updating the endpoint scheduling state. c67x00_giveback_urb() frees the URB private data, and the completion callback may release the final URB reference. The following accesses to urbp->ep_data, urb->interval, and urbp->cnt can therefore use freed memory. Update next_frame and cnt before giving back the failed final packet, making the giveback the last operation that uses the URB and its private data.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=e9b29ffc519b9e63d4e1c0b1278bb951bb418a9d <ff172092cba7ec990ecc7b610ce703e19570b8f0, >=e9b29ffc519b9e63d4e1c0b1278bb951bb418a9d <62cd519ab74cac499036cd88c11692f8f0d53e14, >=e9b29ffc519b9e63d4e1c0b1278bb951bb418a9d <7983daa159981fac125db2457437723f38ea1472, >=e9b29ffc519b9e63d4e1c0b1278bb951bb418a9d <ade18b4ce78a16558f4f435aece80082f6f7b64c, >=e9b29ffc519b9e63d4e1c0b1278bb951bb418a9d <b1e24de475bf2d66fffc9103f3444b783527d55a, >=e9b29ffc519b9e63d4e1c0b1278bb951bb418a9d <b4cb8081cf80f82e48fbe9c021a8f6d0fa2ed421, >=e9b29ffc519b9e63d4e1c0b1278bb951bb418a9d <bb572801290e25ec1c4753d14af35777303f5d6b, >=e9b29ffc519b9e63d4e1c0b1278bb951bb418a9d <e4039e9bebb528dd9cd7ac72aeaec529c26c355a, >=e9b29ffc519b9e63d4e1c0b1278bb951bb418a9d <f24dcc61bd0ecf7639fac5bf700450b398d793a7, =2.6.26 | ff172092cba7ec990ecc7b610ce703e19570b8f0, 62cd519ab74cac499036cd88c11692f8f0d53e14, 7983daa159981fac125db2457437723f38ea1472, ade18b4ce78a16558f4f435aece80082f6f7b64c, b1e24de475bf2d66fffc9103f3444b783527d55a, b4cb8081cf80f82e48fbe9c021a8f6d0fa2ed421, bb572801290e25ec1c4753d14af35777303f5d6b, e4039e9bebb528dd9cd7ac72aeaec529c26c355a, f24dcc61bd0ecf7639fac5bf700450b398d793a7 |
| linux-kernel: Kernel | >=5.11.0 <5.15.220, >=5.16.0 <6.1.187, >=6.13.0 <6.18.49, >=6.19.0 <7.1.13, >=6.2.0 <6.6.156, >=6.7.0 <6.12.108, >=7.2.0 <7.2.3, >=2.6.26 <5.10.269 | 5.15.220, 6.1.187, 6.18.49, 7.1.13, 6.6.156, 6.12.108, 7.2.3, 5.10.269 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket