CVE-2026-90335 PUBLISHED

tty: skip cdev_del() when no cdev is registered

Assigner: Linux
Reserved: 11.09.2026 Published: 17.09.2026 Updated: 17.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from a3a10ce3429e5dee623ad5c8407ea58e204fcb0a to 3dbf85ef40b6366ba15e882f7536cdc98bea579a (excl.)
  • affected from a3a10ce3429e5dee623ad5c8407ea58e204fcb0a to c3b5623fd97648f2747444aa8932ae604662df93 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.3 is affected
  • unaffected from 0 to 4.3 (excl.)
  • unaffected from 7.2.6 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References