# CVE-2026-80923: xhci: dbgtty: Fix unregister on tty_register_driver() failure

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 5% of CVEs (2026-12-02)
- Published: 2026-09-09T16:19:43.538Z
- Modified: 2026-10-19T09:17:23.200Z
- Assigned by: Linux

## Description

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

xhci: dbgtty: Fix unregister on tty_register_driver() failure

If tty_register_driver() fails, it drops the reference, but fails to set
the global dbc_tty_driver to NULL, causing the unregister to be called
again when module exits.

On module unload dbc_tty_exit() only gates its cleanup on the driver
pointer being non-NULL, so it operates on the already-freed driver:

    module_init(xhci_hcd_init)
      xhci_hcd_init()
        xhci_dbc_init()                       [return value ignored]
          dbc_tty_init()
            tty_register_driver() fails
              tty_driver_kref_put()           -> driver freed
              (dbc_tty_driver left dangling)
    ...
    module_exit(xhci_hcd_fini)
      xhci_hcd_fini()
        xhci_dbc_exit()
          dbc_tty_exit()
            if (dbc_tty_driver)               -> true (dangling)
              tty_unregister_driver()         -> use-after-free

(As written by CVE List.)

## Affected

- Linux Linux: from 4521f16139409cdf9462c7325d43454462cff6c3 before 01b7bc0938061f2fd46e0094f6483d8c6c02f7d3; from 4521f16139409cdf9462c7325d43454462cff6c3 before 43635ff6401ca0e0ed21875379eeded921321525; from 4521f16139409cdf9462c7325d43454462cff6c3 before eaca2814f32b9872a332326324b9e83e01f156d2; from 4521f16139409cdf9462c7325d43454462cff6c3 before 943f976c93e70563b132f5585ff68b08c89641a2; from 4521f16139409cdf9462c7325d43454462cff6c3 before 0d0faf3cc44c4d86fc6faf5cea972c0fbe00b922; from 4521f16139409cdf9462c7325d43454462cff6c3 before 33ed35ca629477f57e0dd1d77d6df96cf5a9eb55; from 4521f16139409cdf9462c7325d43454462cff6c3 before 0e469b94fbba8eb03666da41dd1082b793c50c1a; from 4521f16139409cdf9462c7325d43454462cff6c3 before a916fa66a43e10f63198b6ce978badffc678821a; 5.9 (not affected: before 5.9; from 5.15.220 up to 5.15.*; from 6.1.187 up to 6.1.*; from 6.6.156 up to 6.6.*; from 6.12.108 up to 6.12.*; from 6.18.49 up to 6.18.*; from 7.1.13 up to 7.1.*; from 7.2.3 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/01b7bc0938061f2fd46e0094f6483d8c6c02f7d3>
- <https://git.kernel.org/stable/c/43635ff6401ca0e0ed21875379eeded921321525>
- <https://git.kernel.org/stable/c/eaca2814f32b9872a332326324b9e83e01f156d2>
- <https://git.kernel.org/stable/c/943f976c93e70563b132f5585ff68b08c89641a2>
- <https://git.kernel.org/stable/c/0d0faf3cc44c4d86fc6faf5cea972c0fbe00b922>
- <https://git.kernel.org/stable/c/33ed35ca629477f57e0dd1d77d6df96cf5a9eb55>
- <https://git.kernel.org/stable/c/0e469b94fbba8eb03666da41dd1082b793c50c1a>
- <https://git.kernel.org/stable/c/a916fa66a43e10f63198b6ce978badffc678821a>

## Sources

- CVE List: [CVE-2026-80923](https://www.cve.org/CVERecord?id=CVE-2026-80923), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-80923](https://nvd.nist.gov/vuln/detail/CVE-2026-80923), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-80923 · Whole record: https://cve.day/CVE-2026-80923.json · Rebuilt by cve.day 2026-11-25T22:59:37.773Z
