usb: fix UAF when probe runs concurrent to dyn ID removal
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ef8154d8b52d60338c1fd8d793cd8e891c604c14, Kernel 44904468e58d3dc3a0229782acbeb9677b060541, Kernel 64320c6e721bdec4c43a789c866c8a099dd0c843 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: usb: fix UAF when probe runs concurrent to dyn ID removal Dynamic IDs are only guaranteed to be valid when usb_dynids_lock is held, as remove_id_store can free the node. Thus, make a copy in usb_probe_interface. Clarify the documentation that the id parameter is only valid during the probe. USB serial has the same pattern, but it does not need fixing as the IDs cannot be removed via sysfs.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=0c7a2b72746a96f999fd2728520d03d94879be69 <ef8154d8b52d60338c1fd8d793cd8e891c604c14, >=0c7a2b72746a96f999fd2728520d03d94879be69 <44904468e58d3dc3a0229782acbeb9677b060541, >=0c7a2b72746a96f999fd2728520d03d94879be69 <64320c6e721bdec4c43a789c866c8a099dd0c843, >=0c7a2b72746a96f999fd2728520d03d94879be69 <7e795801295c84a6bbc10a3e7a4c99c50bfe45ac, >=0c7a2b72746a96f999fd2728520d03d94879be69 <9b82ddf76827e2a8ff033a8131ecf24f2d6cae26, >=0c7a2b72746a96f999fd2728520d03d94879be69 <e6a9c6b79b70046afdf5a1dbd03b1104536f30c0, =2.6.33 | ef8154d8b52d60338c1fd8d793cd8e891c604c14, 44904468e58d3dc3a0229782acbeb9677b060541, 64320c6e721bdec4c43a789c866c8a099dd0c843, 7e795801295c84a6bbc10a3e7a4c99c50bfe45ac, 9b82ddf76827e2a8ff033a8131ecf24f2d6cae26, e6a9c6b79b70046afdf5a1dbd03b1104536f30c0 |
| linux-kernel: Kernel | >=6.13.0 <6.18.52, >=6.19.0 <7.2.6, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=2.6.33 <6.1.188 | 6.18.52, 7.2.6, 6.6.157, 6.12.110, 6.1.188 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket