CVE-2026-99509
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 …
Impact
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 products · Linux
| Product | Affected versions |
|---|---|
| Linux | from 21677cfc562a27e099719d413287bc8d1d24deb7 before 883eee3a9e66add5dc93455dfca5b0ba5294c2d4 from 21677cfc562a27e099719d413287bc8d1d24deb7 before c33165bb785cb0b496a196a5ca50b9d725bb7f82 from 21677cfc562a27e099719d413287bc8d1d24deb7 before a7962198ab367f732a8ced1682f2738d712ad473 from 21677cfc562a27e099719d413287bc8d1d24deb7 before 118a3590a4080c71c565265b05b3f92e814d7647 Versions 2.6.35, patch: 6.12.117 |
References
- NVD record
- CVE.org record
- GitHub advisory
- https://git.kernel.org/stable/c/883eee3a9e66add5dc93455dfca5b0ba5294c2d4
- https://git.kernel.org/stable/c/c33165bb785cb0b496a196a5ca50b9d725bb7f82
- https://git.kernel.org/stable/c/a7962198ab367f732a8ced1682f2738d712ad473
- https://git.kernel.org/stable/c/118a3590a4080c71c565265b05b3f92e814d7647
- https://github.com/advisories/GHSA-6pq4-247f-7j96
- https://nvd.nist.gov/vuln/detail/CVE-2026-99509