USB: serial: fix driver deregistration order
- 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.6.160, 6.12.113, 6.18.56, 7.2.10
- 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: serial: fix driver deregistration order USB serial driver modules register one driver for the USB bus and one or more drivers for the ports on the USB serial bus. When unloading a driver module, the USB driver must be deregistered before the USB serial bus drivers so that I/O is stopped before unbinding the ports to avoid use-after-free in completion handlers accessing port data. Note that the "new_id" attributes must first be removed to prevent new ids from being added and triggering a probe of the USB driver after it has been deregistered.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 765e0ba62613fb90f09c1b5926750df0aa56f349 · fixed in e7ad832b1144df19cbbaaa655625c6f984e85b9f; From 765e0ba62613fb90f09c1b5926750df0aa56f349 · fixed in 9b085a06a0a411b0bcdf18b61c3ebf1be1c72ffe; From 765e0ba62613fb90f09c1b5926750df0aa56f349 · fixed in a1aa474768f69ea3a70da523f00f74c264cfa10e; From 765e0ba62613fb90f09c1b5926750df0aa56f349 · fixed in 428d479a0d31460fbf5969ab262ccd673f1fac01; From 765e0ba62613fb90f09c1b5926750df0aa56f349 · fixed in 646e5b28b4fdbc1b828a2398d6ced2c1dd308a46
- Linux Linux
3.4
- KernelLinux
From 3.4.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.113; From 6.13.0 · fixed in 6.18.56; From 6.19.0 · fixed in 7.2.10