# CVE-2026-90334: tty: clear cdev pointer after cdev_add() 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.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-17T16:08:47.462Z
- Modified: 2026-10-19T09:19:27.497Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from c1a752ba2d6b8a52879c7ab637cff38359ea9827 before fb1de260033c215dba438973d82b48562bdc86bb; from c1a752ba2d6b8a52879c7ab637cff38359ea9827 before e9e64dd02fd68776afda00777591eca0c3984285; from c1a752ba2d6b8a52879c7ab637cff38359ea9827 before 33a44333a9dfda044b0e233399b12ead7f8a90ae; from c1a752ba2d6b8a52879c7ab637cff38359ea9827 before d331c63570af61ef7aaf516b64a8d6f47518a3a4; from c1a752ba2d6b8a52879c7ab637cff38359ea9827 before a83fcddf3c75d004f12aa13555bb73da19fb75a9; from c1a752ba2d6b8a52879c7ab637cff38359ea9827 before 4f6bd79bb7e55095f09bec9b4eb6c09df1306116; from c1a752ba2d6b8a52879c7ab637cff38359ea9827 before 5c5a795bf6248fe96f96dd9fd79d66bbb4a92077; from c1a752ba2d6b8a52879c7ab637cff38359ea9827 before 6645856f0df3aeecd45519cb611415b4b89c2223; 4.3 (not affected: before 4.3; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/fb1de260033c215dba438973d82b48562bdc86bb>
- <https://git.kernel.org/stable/c/e9e64dd02fd68776afda00777591eca0c3984285>
- <https://git.kernel.org/stable/c/33a44333a9dfda044b0e233399b12ead7f8a90ae>
- <https://git.kernel.org/stable/c/d331c63570af61ef7aaf516b64a8d6f47518a3a4>
- <https://git.kernel.org/stable/c/a83fcddf3c75d004f12aa13555bb73da19fb75a9>
- <https://git.kernel.org/stable/c/4f6bd79bb7e55095f09bec9b4eb6c09df1306116>
- <https://git.kernel.org/stable/c/5c5a795bf6248fe96f96dd9fd79d66bbb4a92077>
- <https://git.kernel.org/stable/c/6645856f0df3aeecd45519cb611415b4b89c2223>

## Sources

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

---

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