CVE-2025-39993
BaseFortify
Publication date: 2025-10-15
Last updated on: 2025-10-29
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a use-after-free issue in the Linux kernel's iMON media remote control driver. The problem occurs because the driver improperly releases a USB device reference during device disconnect without coordinating with ongoing users of the device. Specifically, the driver decreases the USB device reference count unconditionally during disconnect, even if other operations like writing to the device are still in progress. This can lead to accessing freed memory, causing instability or crashes.
How can this vulnerability impact me? :
This vulnerability can cause system instability, crashes, or potential kernel memory corruption due to use-after-free errors when the iMON USB device is disconnected while still in use. This can affect the reliability and security of systems using the affected Linux kernel media driver, potentially leading to denial of service or other unpredictable behavior.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version where the iMON driver properly guards access to usbdev_intf0 and usbdev_intf1 after disconnect. The fix involves checking the ictx->disconnected flag in all writer paths and returning early with -ENODEV if the device is no longer present. Additionally, ensure that ictx->disconnected is set and read under ictx->lock to synchronize memory and prevent use-after-free conditions. Until the patch is applied, avoid using the affected iMON USB device or unload the iMON driver to prevent triggering the use-after-free condition.