CVE-2026-90334

tty: clear cdev pointer after cdev_add() failure

State
Published
Severity
Not scored
Published
Sep 17, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

Description

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

tty: clear cdev pointer after cdev_add() failure

tty_cdev_add() drops the cdev reference when cdev_add() fails, but leaves driver->cdevs[index] pointing to freed memory. tty_unregister_device() later passes that stale pointer to cdev_del(), causing a use-after-free.

Clear the slot after dropping the reference.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c1a752ba2d6b8a52879c7ab637cff38359ea9827 to before fb1de260033c215dba438973d82b48562bdc86bbAffected
  • c1a752ba2d6b8a52879c7ab637cff38359ea9827 to before e9e64dd02fd68776afda00777591eca0c3984285Affected
  • c1a752ba2d6b8a52879c7ab637cff38359ea9827 to before 33a44333a9dfda044b0e233399b12ead7f8a90aeAffected
  • c1a752ba2d6b8a52879c7ab637cff38359ea9827 to before d331c63570af61ef7aaf516b64a8d6f47518a3a4Affected
  • c1a752ba2d6b8a52879c7ab637cff38359ea9827 to before a83fcddf3c75d004f12aa13555bb73da19fb75a9Affected
  • c1a752ba2d6b8a52879c7ab637cff38359ea9827 to before 4f6bd79bb7e55095f09bec9b4eb6c09df1306116Affected
  • c1a752ba2d6b8a52879c7ab637cff38359ea9827 to before 5c5a795bf6248fe96f96dd9fd79d66bbb4a92077Affected
  • c1a752ba2d6b8a52879c7ab637cff38359ea9827 to before 6645856f0df3aeecd45519cb611415b4b89c2223Affected
LinuxLinux
  • 4.3Affected
  • before 4.3Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.52 through 6.18.*Not affected
  • 7.2.6 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.