# CVE-2026-90335: tty: skip cdev_del() when no cdev is registered

- 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 7% of CVEs (2026-12-01)
- Published: 2026-09-17T16:08:48.127Z
- Modified: 2026-10-30T13:20:50.077Z
- Assigned by: Linux

## Description

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

tty: skip cdev_del() when no cdev is registered

TTY device registration can fail before a cdev is allocated.
Serial core keeps the port so setserial can still use it, and later
removal passes the NULL cdev slot to cdev_del(), causing a NULL-pointer
dereference.

Only delete the cdev when the slot is not NULL.

(As written by CVE List.)

## Affected

- Linux Linux: from a3a10ce3429e5dee623ad5c8407ea58e204fcb0a before 6c92b8d9c23a92f85b20bee3578d0f19cd1b1a68; from a3a10ce3429e5dee623ad5c8407ea58e204fcb0a before ea3d2fae7c1d6492145976553817d22e8ef69a0e; from a3a10ce3429e5dee623ad5c8407ea58e204fcb0a before 21031bd0d662549412378110c989b164feb6e4be; from a3a10ce3429e5dee623ad5c8407ea58e204fcb0a before 2af4c46b429907edc8cb069c78fca1d950120b98; from a3a10ce3429e5dee623ad5c8407ea58e204fcb0a before 3dbf85ef40b6366ba15e882f7536cdc98bea579a; from a3a10ce3429e5dee623ad5c8407ea58e204fcb0a before c3b5623fd97648f2747444aa8932ae604662df93; 4.3 (not affected: before 4.3; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/6c92b8d9c23a92f85b20bee3578d0f19cd1b1a68>
- <https://git.kernel.org/stable/c/ea3d2fae7c1d6492145976553817d22e8ef69a0e>
- <https://git.kernel.org/stable/c/21031bd0d662549412378110c989b164feb6e4be>
- <https://git.kernel.org/stable/c/2af4c46b429907edc8cb069c78fca1d950120b98>
- <https://git.kernel.org/stable/c/3dbf85ef40b6366ba15e882f7536cdc98bea579a>
- <https://git.kernel.org/stable/c/c3b5623fd97648f2747444aa8932ae604662df93>

## Sources

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

---

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