{"id":"CVE-2026-90334","summary":"tty: clear cdev pointer after cdev_add() failure","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntty: clear cdev pointer after cdev_add() failure\n\ntty_cdev_add() drops the cdev reference when cdev_add() fails, but\nleaves driver-\u003ecdevs[index] pointing to freed memory.\ntty_unregister_device() later passes that stale pointer to cdev_del(),\ncausing a use-after-free.\n\nClear the slot after dropping the reference.","modified":"2026-09-18T03:48:37.780935116Z","published":"2026-09-17T16:08:47.462Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90334.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/33a44333a9dfda044b0e233399b12ead7f8a90ae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4f6bd79bb7e55095f09bec9b4eb6c09df1306116"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5c5a795bf6248fe96f96dd9fd79d66bbb4a92077"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6645856f0df3aeecd45519cb611415b4b89c2223"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a83fcddf3c75d004f12aa13555bb73da19fb75a9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d331c63570af61ef7aaf516b64a8d6f47518a3a4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e9e64dd02fd68776afda00777591eca0c3984285"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fb1de260033c215dba438973d82b48562bdc86bb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90334.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90334"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c1a752ba2d6b8a52879c7ab637cff38359ea9827"},{"fixed":"fb1de260033c215dba438973d82b48562bdc86bb"},{"fixed":"e9e64dd02fd68776afda00777591eca0c3984285"},{"fixed":"33a44333a9dfda044b0e233399b12ead7f8a90ae"},{"fixed":"d331c63570af61ef7aaf516b64a8d6f47518a3a4"},{"fixed":"a83fcddf3c75d004f12aa13555bb73da19fb75a9"},{"fixed":"4f6bd79bb7e55095f09bec9b4eb6c09df1306116"},{"fixed":"5c5a795bf6248fe96f96dd9fd79d66bbb4a92077"},{"fixed":"6645856f0df3aeecd45519cb611415b4b89c2223"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90334.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.3.0"},{"fixed":"5.10.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90334.json"}}],"schema_version":"1.9.0"}