{"id":"CVE-2026-90335","summary":"tty: skip cdev_del() when no cdev is registered","details":"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.","modified":"2026-11-19T17:27:54.564367123Z","published":"2026-09-17T16:08:48.127Z","related":["SUSE-SU-2026:24550-1","SUSE-SU-2026:24619-1","SUSE-SU-2026:24643-1","SUSE-SU-2026:24648-1","SUSE-SU-2026:24651-1","SUSE-SU-2026:24662-1","SUSE-SU-2026:24705-1","SUSE-SU-2026:24781-1","SUSE-SU-2026:5091-1","SUSE-SU-2026:5352-1","openSUSE-SU-2026:11880-1","openSUSE-SU-2026:22266-1","openSUSE-SU-2026:22307-1","openSUSE-SU-2026:22309-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90335.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/21031bd0d662549412378110c989b164feb6e4be"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2af4c46b429907edc8cb069c78fca1d950120b98"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3dbf85ef40b6366ba15e882f7536cdc98bea579a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6c92b8d9c23a92f85b20bee3578d0f19cd1b1a68"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c3b5623fd97648f2747444aa8932ae604662df93"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ea3d2fae7c1d6492145976553817d22e8ef69a0e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90335.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90335"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a3a10ce3429e5dee623ad5c8407ea58e204fcb0a"},{"fixed":"6c92b8d9c23a92f85b20bee3578d0f19cd1b1a68"},{"fixed":"ea3d2fae7c1d6492145976553817d22e8ef69a0e"},{"fixed":"21031bd0d662549412378110c989b164feb6e4be"},{"fixed":"2af4c46b429907edc8cb069c78fca1d950120b98"},{"fixed":"3dbf85ef40b6366ba15e882f7536cdc98bea579a"},{"fixed":"c3b5623fd97648f2747444aa8932ae604662df93"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90335.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.3.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.114"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.57"}]},{"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-90335.json"}}],"schema_version":"1.9.2"}