media: imon: fix use-after-free in display_close via dev_dbg
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c33165bb785cb0b496a196a5ca50b9d725bb7f82, Kernel 118a3590a4080c71c565265b05b3f92e814d7647, Kernel 883eee3a9e66add5dc93455dfca5b0ba5294c2d4 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: media: imon: fix use-after-free in display_close via dev_dbg ictx->dev is a raw pointer to the usb_interface's embedded device. On disconnect, usb_disconnect() can drop the last reference on the interface and free it while a userspace fd for /dev/lcd0 is still open. When that fd is later closed, display_close() dereferences the now-freed ictx->dev via dev_dbg(), causing a use-after-free. Remove the dev_dbg() calls that dereference ictx->dev in display_close() and free_imon_context(), rather than taking a reference on the device.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=21677cfc562a27e099719d413287bc8d1d24deb7 <c33165bb785cb0b496a196a5ca50b9d725bb7f82, >=21677cfc562a27e099719d413287bc8d1d24deb7 <118a3590a4080c71c565265b05b3f92e814d7647, >=21677cfc562a27e099719d413287bc8d1d24deb7 <883eee3a9e66add5dc93455dfca5b0ba5294c2d4, >=21677cfc562a27e099719d413287bc8d1d24deb7 <a7962198ab367f732a8ced1682f2738d712ad473, =2.6.35 | c33165bb785cb0b496a196a5ca50b9d725bb7f82, 118a3590a4080c71c565265b05b3f92e814d7647, 883eee3a9e66add5dc93455dfca5b0ba5294c2d4, a7962198ab367f732a8ced1682f2738d712ad473 |
| linux-kernel: Kernel | >=6.13.0 <6.18.61, >=6.19.0 <7.3.2, >=2.6.35 <6.12.117 | 6.18.61, 7.3.2, 6.12.117 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket