Shellfeed logo Shellfeed

CVE-2026-90334 · UNKNOWN

Summary: tty: clear cdev pointer after cdev_add() failure

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 12.2).

Details

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.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [c1a752ba2d6b8a52879c7ab637cff38359ea9827 – fb1de260033c215dba438973d82b48562bdc86bb]
  • Linux Kernel [4.3.0 – 5.10.270] [5.11.0 – 5.15.221] [5.16.0 – 6.1.188] [6.2.0 – 6.6.157] [6.7.0 – 6.12.110] [6.13.0 – 6.18.52] [6.19.0 – 7.2.6]

References