VYPR
Unrated severityNVD Advisory· Published Dec 16, 2025· Updated Apr 15, 2026

CVE-2025-68194

CVE-2025-68194

Description

In the Linux kernel, the following vulnerability has been resolved:

media: imon: make send_packet() more robust

syzbot is reporting that imon has three problems which result in hung tasks due to forever holding device lock [1].

First problem is that when usb_rx_callback_intf0() once got -EPROTO error after ictx->dev_present_intf0 became true, usb_rx_callback_intf0() resubmits urb after printk(), and resubmitted urb causes usb_rx_callback_intf0() to again get -EPROTO error. This results in printk() flooding (RCU stalls).

Alan Stern commented [2] that

In theory it's okay to resubmit _if_ the driver has a robust error-recovery scheme (such as giving up after some fixed limit on the number of errors or after some fixed time has elapsed, perhaps with a time delay to prevent a flood of errors). Most drivers don't bother to do this; they simply give up right away. This makes them more vulnerable to short-term noise interference during USB transfers, but in reality such interference is quite rare. There's nothing really wrong with giving up right away.

but imon has a poor error-recovery scheme which just retries forever; this behavior should be fixed.

Since I'm not sure whether it is safe for imon users to give up upon any error code, this patch takes care of only union of error codes chosen from modules in drivers/media/rc/ directory which handle -EPROTO error (i.e. ir_toy, mceusb and igorplugusb).

Second problem is that when usb_rx_callback_intf0() once got -EPROTO error before ictx->dev_present_intf0 becomes true, usb_rx_callback_intf0() always resubmits urb due to commit 8791d63af0cf ("[media] imon: don't wedge hardware after early callbacks"). Move the ictx->dev_present_intf0 test introduced by commit 6f6b90c9231a ("[media] imon: don't parse scancodes until intf configured") to immediately before imon_incoming_packet(), or the first problem explained above happens without printk() flooding (i.e. hung task).

Third problem is that when usb_rx_callback_intf0() is not called for some reason (e.g. flaky hardware; the reproducer for this problem sometimes prevents usb_rx_callback_intf0() from being called), wait_for_completion_interruptible() in send_packet() never returns (i.e. hung task). As a workaround for such situation, change send_packet() to wait for completion with timeout of 10 seconds.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A Linux kernel media driver (imon) has three bugs causing hung tasks due to infinite error retry loops, fixed by limiting retries and correcting initialization order.

Vulnerability

Analysis

CVE-2025-68194 describes three interrelated bugs in the Linux kernel's imon media driver that can lead to hung tasks (system hangs) due to the driver forever holding a device lock. The root cause is a combination of poor error recovery and a race condition in the USB callback handling.

Root

Cause and Exploitation

The first bug is an infinite error-retry loop: when usb_rx_callback_intf0() receives a -EPROTO error, it resubmits the USB request block (URB) indefinitely, causing a flood of printk messages and RCU stalls. The driver lacks a robust error-recovery scheme—it retries forever instead of giving up after a limit, as recommended by USB expert Alan Stern [1]. The second bug occurs when the same -EPROTO error happens before the error happens before the interface is fully configured (ictx->dev_present_intf0 is false); the driver also resubmits the URB unconditionally due to an earlier commit [2]. The third bug is a missing timeout or fallback if the callback is never called, leading to a hung task waiting for the device lock.

Impact

An attacker with physical access or the ability to trigger USB errors (e.g., by unplugging/replugging the device or causing noise on the USB bus) can cause the system to hang indefinitely. The hung task consumes a CPU and prevents any other operation requiring the same lock, effectively causing a denial of service (DoS). No authentication is required beyond the ability to interact with the USB device.

Mitigation

The fix, applied in Linux kernel stable commits [1][2][3], addresses all three issues: it limits the number of retries on -EPROTO errors (matching the behavior of other RC drivers like ir_toy and mceusb), moves the dev_present_intf0 check to the correct location to avoid premature URB resubmission, and adds a timeout mechanism to prevent indefinite waiting. Users should update to a kernel containing these patches. No workaround is available; the driver is not removable without losing IR functionality.

AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

8

News mentions

0

No linked articles in our index yet.