media: imon: fix use-after-free in display_close via dev_dbg
- State
- Published
- Severity
- Not Scored
- Published
- Nov 19, 2026
- Updated
- Nov 23, 2026
- Reserved
- Sep 25, 2026
Description
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.
| Product | Versions |
|---|---|
| Linux Linux | 21677cfc562a27e099719d413287bc8d1d24deb7 to before 4ffdd654d17d122478ea55a26021826cbc2ae1d6 Affected21677cfc562a27e099719d413287bc8d1d24deb7 to before ae80707ed44f31a61ea5d7af8c2cd81385227065 Affected21677cfc562a27e099719d413287bc8d1d24deb7 to before 041e6e8db5ae45e6dd6da5932a96496a7dc7fa12 Affected21677cfc562a27e099719d413287bc8d1d24deb7 to before 5f86ad5e7412190c2f799362962bc028ab6ef06b Affected21677cfc562a27e099719d413287bc8d1d24deb7 to before 883eee3a9e66add5dc93455dfca5b0ba5294c2d4 Affected21677cfc562a27e099719d413287bc8d1d24deb7 to before c33165bb785cb0b496a196a5ca50b9d725bb7f82 Affected21677cfc562a27e099719d413287bc8d1d24deb7 to before a7962198ab367f732a8ced1682f2738d712ad473 Affected21677cfc562a27e099719d413287bc8d1d24deb7 to before 118a3590a4080c71c565265b05b3f92e814d7647 Affected |
| Linux Linux | 2.6.35 Affectedbefore 2.6.35 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/4ffdd654d17d122478ea55a26021826cbc2ae1d6
- https://git.kernel.org/stable/c/ae80707ed44f31a61ea5d7af8c2cd81385227065
- https://git.kernel.org/stable/c/041e6e8db5ae45e6dd6da5932a96496a7dc7fa12
- https://git.kernel.org/stable/c/5f86ad5e7412190c2f799362962bc028ab6ef06b
- 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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.