tty: skip cdev_del() when no cdev is registered
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ea3d2fae7c1d6492145976553817d22e8ef69a0e, Kernel 21031bd0d662549412378110c989b164feb6e4be, Kernel 2af4c46b429907edc8cb069c78fca1d950120b98 and 8 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=a3a10ce3429e5dee623ad5c8407ea58e204fcb0a <ea3d2fae7c1d6492145976553817d22e8ef69a0e, >=a3a10ce3429e5dee623ad5c8407ea58e204fcb0a <21031bd0d662549412378110c989b164feb6e4be, >=a3a10ce3429e5dee623ad5c8407ea58e204fcb0a <2af4c46b429907edc8cb069c78fca1d950120b98, >=a3a10ce3429e5dee623ad5c8407ea58e204fcb0a <3dbf85ef40b6366ba15e882f7536cdc98bea579a, >=a3a10ce3429e5dee623ad5c8407ea58e204fcb0a <6c92b8d9c23a92f85b20bee3578d0f19cd1b1a68, >=a3a10ce3429e5dee623ad5c8407ea58e204fcb0a <c3b5623fd97648f2747444aa8932ae604662df93, =4.3 | ea3d2fae7c1d6492145976553817d22e8ef69a0e, 21031bd0d662549412378110c989b164feb6e4be, 2af4c46b429907edc8cb069c78fca1d950120b98, 3dbf85ef40b6366ba15e882f7536cdc98bea579a, 6c92b8d9c23a92f85b20bee3578d0f19cd1b1a68, c3b5623fd97648f2747444aa8932ae604662df93 |
| linux-kernel: Kernel | >=6.13.0 <6.18.57, >=6.19.0 <7.2.6, >=6.2.0 <6.6.160, >=6.7.0 <6.12.114, >=4.3.0 <6.1.191 | 6.18.57, 7.2.6, 6.6.160, 6.12.114, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket