Description
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 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
0c7a2b72746a96f999fd2728520d03d94879be69 to < 9b82ddf76827e2a8ff033a8131ecf24f2d6cae26affected0c7a2b72746a96f999fd2728520d03d94879be69 to < 44904468e58d3dc3a0229782acbeb9677b060541affected0c7a2b72746a96f999fd2728520d03d94879be69 to < 64320c6e721bdec4c43a789c866c8a099dd0c843affected0c7a2b72746a96f999fd2728520d03d94879be69 to < 7e795801295c84a6bbc10a3e7a4c99c50bfe45acaffected0c7a2b72746a96f999fd2728520d03d94879be69 to < e6a9c6b79b70046afdf5a1dbd03b1104536f30c0affected0c7a2b72746a96f999fd2728520d03d94879be69 to < ef8154d8b52d60338c1fd8d793cd8e891c604c14affected
Linux Linux
Default version status: affected
2.6.33affected0 to < 2.6.33unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/9b82ddf76827e2a8ff033a8131ecf24f2d6cae26 ↗
- https://git.kernel.org/stable/c/44904468e58d3dc3a0229782acbeb9677b060541 ↗
- https://git.kernel.org/stable/c/64320c6e721bdec4c43a789c866c8a099dd0c843 ↗
- https://git.kernel.org/stable/c/7e795801295c84a6bbc10a3e7a4c99c50bfe45ac ↗
- https://git.kernel.org/stable/c/e6a9c6b79b70046afdf5a1dbd03b1104536f30c0 ↗
- https://git.kernel.org/stable/c/ef8154d8b52d60338c1fd8d793cd8e891c604c14 ↗