tty: skip cdev_del() when no cdev is registered
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.114, 6.18.57, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: tty: skip cdev_del() when no cdev is registered TTY device registration can fail before a cdev is allocated. Serial core keeps the port so setserial can still use it, and later removal passes the NULL cdev slot to cdev_del(), causing a NULL-pointer dereference. Only delete the cdev when the slot is not NULL.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From a3a10ce3429e5dee623ad5c8407ea58e204fcb0a · fixed in ea3d2fae7c1d6492145976553817d22e8ef69a0e; From a3a10ce3429e5dee623ad5c8407ea58e204fcb0a · fixed in 21031bd0d662549412378110c989b164feb6e4be; From a3a10ce3429e5dee623ad5c8407ea58e204fcb0a · fixed in 2af4c46b429907edc8cb069c78fca1d950120b98; From a3a10ce3429e5dee623ad5c8407ea58e204fcb0a · fixed in 3dbf85ef40b6366ba15e882f7536cdc98bea579a; From a3a10ce3429e5dee623ad5c8407ea58e204fcb0a · fixed in c3b5623fd97648f2747444aa8932ae604662df93
- Linux Linux
4.3
- KernelLinux
From 4.3.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.57; From 6.19.0 · fixed in 7.2.6