usb: fix UAF when probe runs concurrent to dyn ID removal
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.188, 6.6.157, 6.12.110, 6.18.52, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 0c7a2b72746a96f999fd2728520d03d94879be69 · fixed in 9b82ddf76827e2a8ff033a8131ecf24f2d6cae26; From 0c7a2b72746a96f999fd2728520d03d94879be69 · fixed in 44904468e58d3dc3a0229782acbeb9677b060541; From 0c7a2b72746a96f999fd2728520d03d94879be69 · fixed in 64320c6e721bdec4c43a789c866c8a099dd0c843; From 0c7a2b72746a96f999fd2728520d03d94879be69 · fixed in 7e795801295c84a6bbc10a3e7a4c99c50bfe45ac; From 0c7a2b72746a96f999fd2728520d03d94879be69 · fixed in e6a9c6b79b70046afdf5a1dbd03b1104536f30c0; From 0c7a2b72746a96f999fd2728520d03d94879be69 · fixed in ef8154d8b52d60338c1fd8d793cd8e891c604c14
- Linux Linux
2.6.33
- KernelLinux
From 2.6.33 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6