CVE Catalog

CVE-2026-90335

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel's TTY subsystem, a vulnerability exists where TTY device registration can fail before a cdev is allocated. The serial core keeps the port, so setserial can still use it, and later removal passes a NULL cdev pointer to cdev_del(), causing a NULL-pointer dereference.

Risk Assessment

The risk includes system crashes (kernel panic) during TTY device removal, potentially affecting system stability.

Recommendation

Apply the patch that checks if the cdev pointer is not NULL before calling cdev_del(), and update the kernel to a version with the fix.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS