CVE-2026-98772

USB: serial: fix port tear down use-after-free

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

USB: serial: fix port tear down use-after-free

Some drivers for multiport devices access port driver data from completion handlers of shared URBs submitted at attach() or first open() and stopped at disconnect() or last close(), respectively.

A simple NULL check before accessing the driver data makes sure that a port state container has at least been allocated, but a completion handler can still race with port tear down.

Reorder the disconnect handling so that ports are not deregistered (and their driver data freed) until after all ports have been hung up and the driver disconnect() callback has run so that all I/O has been stopped.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 2d93148ab6988cad872e65d694c95e8944e1b626 to before 8ed69d299b9d7872f911f089e00cdd2ea6969d2cAffected
  • 2d93148ab6988cad872e65d694c95e8944e1b626 to before bf296d7b75bfd49dc519ad0406e89ddc5c3f02e3Affected
  • 2d93148ab6988cad872e65d694c95e8944e1b626 to before 94601d83fc4811485ca6fb1d50bece589fe1c24dAffected
  • 2d93148ab6988cad872e65d694c95e8944e1b626 to before e4a6883ad9b4686a5f4bd90ff55a44d7ab65bd3cAffected
  • 2d93148ab6988cad872e65d694c95e8944e1b626 to before 60cc9379c3e650d1ebfba4de63f1242537a62a32Affected
  • 2d93148ab6988cad872e65d694c95e8944e1b626 to before 5e8980a81af195c49084be5b4c031085b56c7443Affected
  • 2d93148ab6988cad872e65d694c95e8944e1b626 to before e80ee74206f260eb1282e7d1339ff146a4a410d0Affected
  • 2d93148ab6988cad872e65d694c95e8944e1b626 to before 33c920f7c5952dfc42d1b8ea6efe16b1f0bb0c5bAffected
LinuxLinux
  • 2.6.30Affected
  • before 2.6.30Not affected
  • 5.10.273 through 5.10.*Not affected
  • 5.15.224 through 5.15.*Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.113 through 6.12.*Not affected
  • 6.18.56 through 6.18.*Not affected
  • 7.2.10 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.