CVE-2026-98696 PUBLISHED

USB: serial: fix driver deregistration order

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 765e0ba62613fb90f09c1b5926750df0aa56f349 to 9b085a06a0a411b0bcdf18b61c3ebf1be1c72ffe (excl.)
  • affected from 765e0ba62613fb90f09c1b5926750df0aa56f349 to a1aa474768f69ea3a70da523f00f74c264cfa10e (excl.)
  • affected from 765e0ba62613fb90f09c1b5926750df0aa56f349 to 428d479a0d31460fbf5969ab262ccd673f1fac01 (excl.)
  • affected from 765e0ba62613fb90f09c1b5926750df0aa56f349 to 646e5b28b4fdbc1b828a2398d6ced2c1dd308a46 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 3.4 is affected
  • unaffected from 0 to 3.4 (excl.)
  • unaffected from 6.12.113 to 6.12.* (incl.)
  • unaffected from 6.18.56 to 6.18.* (incl.)
  • unaffected from 7.2.10 to 7.2.* (incl.)
  • unaffected from 7.3-rc6 to * (incl.)

References