{"id":"CVE-2026-90334","aliases":["CVE-2026-90334"],"related":[],"kind":"vulnerability","state":"published","title":"tty: clear cdev pointer after cdev_add() failure","summary":"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->cdevs[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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->cdevs[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.","source":"cvelist"}],"published":"2026-09-17T16:08:47.462Z","modified":"2026-10-19T09:19:27.497Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c1a752ba2d6b8a52879c7ab637cff38359ea9827","fixed":"fb1de260033c215dba438973d82b48562bdc86bb","status":"affected"},{"type":"git","introduced":"c1a752ba2d6b8a52879c7ab637cff38359ea9827","fixed":"e9e64dd02fd68776afda00777591eca0c3984285","status":"affected"},{"type":"git","introduced":"c1a752ba2d6b8a52879c7ab637cff38359ea9827","fixed":"33a44333a9dfda044b0e233399b12ead7f8a90ae","status":"affected"},{"type":"git","introduced":"c1a752ba2d6b8a52879c7ab637cff38359ea9827","fixed":"d331c63570af61ef7aaf516b64a8d6f47518a3a4","status":"affected"},{"type":"git","introduced":"c1a752ba2d6b8a52879c7ab637cff38359ea9827","fixed":"a83fcddf3c75d004f12aa13555bb73da19fb75a9","status":"affected"},{"type":"git","introduced":"c1a752ba2d6b8a52879c7ab637cff38359ea9827","fixed":"4f6bd79bb7e55095f09bec9b4eb6c09df1306116","status":"affected"},{"type":"git","introduced":"c1a752ba2d6b8a52879c7ab637cff38359ea9827","fixed":"5c5a795bf6248fe96f96dd9fd79d66bbb4a92077","status":"affected"},{"type":"git","introduced":"c1a752ba2d6b8a52879c7ab637cff38359ea9827","fixed":"6645856f0df3aeecd45519cb611415b4b89c2223","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.3","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/fb1de260033c215dba438973d82b48562bdc86bb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e9e64dd02fd68776afda00777591eca0c3984285","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/33a44333a9dfda044b0e233399b12ead7f8a90ae","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d331c63570af61ef7aaf516b64a8d6f47518a3a4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a83fcddf3c75d004f12aa13555bb73da19fb75a9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4f6bd79bb7e55095f09bec9b4eb6c09df1306116","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5c5a795bf6248fe96f96dd9fd79d66bbb4a92077","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6645856f0df3aeecd45519cb611415b4b89c2223","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90334","url":"https://www.cve.org/CVERecord?id=CVE-2026-90334","licence":"CVE Terms of Use","modified":"2026-10-19T09:01:51.379Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90334","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90334","licence":"Public domain","modified":"2026-10-19T09:19:27.497Z"}],"updatedAt":"2026-11-25T22:59:39.386Z","epss":{"score":0.00216,"percentile":0.12833,"date":"2026-12-01T12:00:22.000Z"}}