CVE-2025-68194
media: imon: make send_packet() more robust
Check your servers for CVE-2025-68194
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-68194 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 21677cfc562a27e099719d413287bc8d1d24deb7, before 519737af11c03590819a6eec2ad532cfdb87ea63 affected from 21677cfc562a27e099719d413287bc8d1d24deb7, before f58ab83b7b7133e6baefe03a46846c4f6ce45e2f affected from 21677cfc562a27e099719d413287bc8d1d24deb7, before 26f6a1dd5d81ad61a875a747698da6f27abf389b affected from 21677cfc562a27e099719d413287bc8d1d24deb7, before 667afd4681781f60a644cd0d2ee6c59cb1c36208 affected from 21677cfc562a27e099719d413287bc8d1d24deb7, before 8231e80118463be5598daaf266c1c83650f1948b affected from 21677cfc562a27e099719d413287bc8d1d24deb7, before 0213e4175abbb9dfcbf7c197e3817d527f459ad5 affected from 21677cfc562a27e099719d413287bc8d1d24deb7, before f7f3ecb4934fff782fa9bb1cd16e2290c041b22d affected from 21677cfc562a27e099719d413287bc8d1d24deb7, before eecd203ada43a4693ce6fdd3a58ae10c7819252c
Other versions: unaffected
|
| Linux |
affected 2.6.35 unaffected before 2.6.35 unaffected from 5.4.302 up to and including 5.4.* unaffected from 5.10.247 up to and including 5.10.* unaffected from 5.15.197 up to and including 5.15.* unaffected from 6.1.159 up to and including 6.1.* unaffected from 6.6.117 up to and including 6.6.* unaffected from 6.12.58 up to and including 6.12.* unaffected from 6.17.8 up to and including 6.17.* unaffected 6.18 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-68194 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68194
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-68194
trivy image --scanners vuln IMAGE | grep CVE-2025-68194
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/519737af11c03590819a6eec2ad532cfdb87ea63 git.kernel.org
- https://git.kernel.org/stable/c/f58ab83b7b7133e6baefe03a46846c4f6ce45e2f git.kernel.org
- https://git.kernel.org/stable/c/26f6a1dd5d81ad61a875a747698da6f27abf389b git.kernel.org
- https://git.kernel.org/stable/c/667afd4681781f60a644cd0d2ee6c59cb1c36208 git.kernel.org
- https://git.kernel.org/stable/c/8231e80118463be5598daaf266c1c83650f1948b git.kernel.org
- https://git.kernel.org/stable/c/0213e4175abbb9dfcbf7c197e3817d527f459ad5 git.kernel.org
- https://git.kernel.org/stable/c/f7f3ecb4934fff782fa9bb1cd16e2290c041b22d git.kernel.org
- https://git.kernel.org/stable/c/eecd203ada43a4693ce6fdd3a58ae10c7819252c git.kernel.org
Source: the record CVE-2025-68194 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse