{"id":"CVE-2026-90335","aliases":["CVE-2026-90335"],"related":[],"kind":"vulnerability","state":"published","title":"tty: skip cdev_del() when no cdev is registered","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntty: skip cdev_del() when no cdev is registered\n\nTTY device registration can fail before a cdev is allocated.\nSerial core keeps the port so setserial can still use it, and later\nremoval passes the NULL cdev slot to cdev_del(), causing a NULL-pointer\ndereference.\n\nOnly delete the cdev when the slot is not NULL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntty: skip cdev_del() when no cdev is registered\n\nTTY device registration can fail before a cdev is allocated.\nSerial core keeps the port so setserial can still use it, and later\nremoval passes the NULL cdev slot to cdev_del(), causing a NULL-pointer\ndereference.\n\nOnly delete the cdev when the slot is not NULL.","source":"cvelist"}],"published":"2026-09-17T16:08:48.127Z","modified":"2026-10-30T13:20:50.077Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a3a10ce3429e5dee623ad5c8407ea58e204fcb0a","fixed":"6c92b8d9c23a92f85b20bee3578d0f19cd1b1a68","status":"affected"},{"type":"git","introduced":"a3a10ce3429e5dee623ad5c8407ea58e204fcb0a","fixed":"ea3d2fae7c1d6492145976553817d22e8ef69a0e","status":"affected"},{"type":"git","introduced":"a3a10ce3429e5dee623ad5c8407ea58e204fcb0a","fixed":"21031bd0d662549412378110c989b164feb6e4be","status":"affected"},{"type":"git","introduced":"a3a10ce3429e5dee623ad5c8407ea58e204fcb0a","fixed":"2af4c46b429907edc8cb069c78fca1d950120b98","status":"affected"},{"type":"git","introduced":"a3a10ce3429e5dee623ad5c8407ea58e204fcb0a","fixed":"3dbf85ef40b6366ba15e882f7536cdc98bea579a","status":"affected"},{"type":"git","introduced":"a3a10ce3429e5dee623ad5c8407ea58e204fcb0a","fixed":"c3b5623fd97648f2747444aa8932ae604662df93","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":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","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/6c92b8d9c23a92f85b20bee3578d0f19cd1b1a68","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ea3d2fae7c1d6492145976553817d22e8ef69a0e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/21031bd0d662549412378110c989b164feb6e4be","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2af4c46b429907edc8cb069c78fca1d950120b98","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3dbf85ef40b6366ba15e882f7536cdc98bea579a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c3b5623fd97648f2747444aa8932ae604662df93","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90335","url":"https://www.cve.org/CVERecord?id=CVE-2026-90335","licence":"CVE Terms of Use","modified":"2026-10-30T12:35:13.192Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90335","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90335","licence":"Public domain","modified":"2026-10-30T13:20:50.077Z"}],"updatedAt":"2026-11-25T22:59:39.386Z","epss":{"score":0.00173,"percentile":0.07071,"date":"2026-12-01T12:00:22.000Z"}}