xhci: dbgtty: Fix unregister on tty_register_driver() failure
Summary
| CVE | CVE-2026-80923 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-09 17:17:47 UTC |
| Updated | 2026-09-09 17:17:47 UTC |
| 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 |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 4521f16139409cdf9462c7325d43454462cff6c3 01b7bc0938061f2fd46e0094f6483d8c6c02f7d3 git |
Not specified |
| CNA |
Linux |
Linux |
affected 4521f16139409cdf9462c7325d43454462cff6c3 43635ff6401ca0e0ed21875379eeded921321525 git |
Not specified |
| CNA |
Linux |
Linux |
affected 4521f16139409cdf9462c7325d43454462cff6c3 eaca2814f32b9872a332326324b9e83e01f156d2 git |
Not specified |
| CNA |
Linux |
Linux |
affected 4521f16139409cdf9462c7325d43454462cff6c3 943f976c93e70563b132f5585ff68b08c89641a2 git |
Not specified |
| CNA |
Linux |
Linux |
affected 4521f16139409cdf9462c7325d43454462cff6c3 0d0faf3cc44c4d86fc6faf5cea972c0fbe00b922 git |
Not specified |
| CNA |
Linux |
Linux |
affected 4521f16139409cdf9462c7325d43454462cff6c3 33ed35ca629477f57e0dd1d77d6df96cf5a9eb55 git |
Not specified |
| CNA |
Linux |
Linux |
affected 4521f16139409cdf9462c7325d43454462cff6c3 0e469b94fbba8eb03666da41dd1082b793c50c1a git |
Not specified |
| CNA |
Linux |
Linux |
affected 4521f16139409cdf9462c7325d43454462cff6c3 a916fa66a43e10f63198b6ce978badffc678821a git |
Not specified |
| CNA |
Linux |
Linux |
affected 5.9 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.9 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.220 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.187 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.156 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.108 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.49 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.1.13 7.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2.3 7.2.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/0d0faf3cc44c4d86fc6faf5cea972c0fbe00b922 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/33ed35ca629477f57e0dd1d77d6df96cf5a9eb55 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/a916fa66a43e10f63198b6ce978badffc678821a |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/943f976c93e70563b132f5585ff68b08c89641a2 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/0e469b94fbba8eb03666da41dd1082b793c50c1a |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/01b7bc0938061f2fd46e0094f6483d8c6c02f7d3 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/43635ff6401ca0e0ed21875379eeded921321525 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/eaca2814f32b9872a332326324b9e83e01f156d2 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.