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

CVE-2026-90334
Not available

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected c1a752ba2d6b8a52879c7ab637cff38359ea9827 < fb1de260033c215dba438973d82b48562bdc86bb ; affected c1a752ba2d6b8a52879c7ab637cff38359ea9827 < e9e64dd02fd68776afda00777591eca0c3984285 ; affected c1a752ba2d6b8a52879c7ab637cff38359ea9827 < 33a44333a9dfda044b0e233399b12ead7f8a90ae ; affected c1a752ba2d6b8a52879c7ab637cff38359ea9827 < d331c63570af61ef7aaf516b64a8d6f47518a3a4 ; affected c1a752ba2d6b8a52879c7ab637cff38359ea9827 < a83fcddf3c75d004f12aa13555bb73da19fb75a9 ; affected c1a752ba2d6b8a52879c7ab637cff38359ea9827 < 4f6bd79bb7e55095f09bec9b4eb6c09df1306116
Linux · Linuxaffected 4.3 ; unaffected 0 < 4.3 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD