Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 765e0ba62613fb90f09c1b5926750df0aa56f349 before e7ad832b1144df19cbbaaa655625c6f984e85b9f; affected 765e0ba62613fb90f09c1b5926750df0aa56f349 before 9b085a06a0a411b0bcdf18b61c3ebf1be1c72ffe; affected 765e0ba62613fb90f09c1b5926750df0aa56f349 before a1aa474768f69ea3a70da523f00f74c264cfa10e; affected 765e0ba62613fb90f09c1b5926750df0aa56f349 before 428d479a0d31460fbf5969ab262ccd673f1fac01; affected 765e0ba62613fb90f09c1b5926750df0aa56f349 before 646e5b28b4fdbc1b828a2398d6ced2c1dd308a46 |
| Linux / Linux | affected 3.4; unaffected 0 before 3.4; unaffected 6.6.160 through 6.6.*; unaffected 6.12.113 through 6.12.*; unaffected 6.18.56 through 6.18.*; unaffected 7.2.10 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/e7ad832b1144df19cbbaaa655625c6f984e85b9f
- https://git.kernel.org/stable/c/9b085a06a0a411b0bcdf18b61c3ebf1be1c72ffe
- https://git.kernel.org/stable/c/a1aa474768f69ea3a70da523f00f74c264cfa10e
- https://git.kernel.org/stable/c/428d479a0d31460fbf5969ab262ccd673f1fac01
- https://git.kernel.org/stable/c/646e5b28b4fdbc1b828a2398d6ced2c1dd308a46