CVE-2026-90335

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxa3a10ce3429e5dee623ad5c8407ea58e204fcb0a < 3dbf85ef40b6366ba15e882f7536cdc98bea579aaffected
LinuxLinuxa3a10ce3429e5dee623ad5c8407ea58e204fcb0a < c3b5623fd97648f2747444aa8932ae604662df93affected
LinuxLinux4.3affected
LinuxLinux0 < 4.3unaffected
LinuxLinux7.2.6 <= 7.2.*unaffected
LinuxLinux7.3-rc1 <= *unaffected

Weaknesses

References