CVE Catalog

CVE-2026-90334

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel's tty_cdev_add(), on cdev_add() failure, the cdev reference is dropped but driver->cdevs[index] remains pointing to freed memory. Later tty_unregister_device() passes that stale pointer to cdev_del(), causing a use-after-free.

Risk Assessment

The risk includes use-after-free during TTY device unregistration, potentially leading to system crashes or unpredictable behavior.

Recommendation

Apply the patch that clears the pointer in the array after dropping the reference, 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: 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.

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