cvelo
P4 · InfoEPSS 0.2%

media: imon: fix use-after-free in display_close via dev_dbg

  • CVE-2026-99509
  • GHSA-6pq4-247f-7j96
  • EUVD-2026-130187

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    2.6.35none stated
    before 2.6.35: not affectednone stated
    from 5.10.275 up to 5.10.*: not affectednone stated
    from 5.15.226 up to 5.15.*: not affectednone stated
    from 6.1.193 up to 6.1.*: not affectednone stated
    from 6.6.163 up to 6.6.*: not affectednone stated
    from 6.12.117 up to 6.12.*: not affectednone stated
    from 6.18.61 up to 6.18.*: not affectednone stated

    and 2 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.