CVE-2024-42244
USB: serial: mos7840: fix crash on resume
Check your servers for CVE-2024-42244
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-2024-42244 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:
USB: serial: mos7840: fix crash on resume
Since commit c49cfa917025 ("USB: serial: use generic method if no alternative is provided in usb serial layer"), USB serial core calls the generic resume implementation when the driver has not provided one.
This can trigger a crash on resume with mos7840 since support for multiple read URBs was added back in 2011. Specifically, both port read URBs are now submitted on resume for open ports, but the context pointer of the second URB is left set to the core rather than mos7840 port structure.
Fix this by implementing dedicated suspend and resume functions for mos7840.
Tested with Delock 87414 USB 2.0 to 4x serial adapter.
[ johan: analyse crash and rewrite commit message; set busy flag on resume; drop bulk-in check; drop unnecessary usb_kill_urb() ]
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d83b405383c965498923f3561c3321e2b5df5727, before 932a86a711c722b45ed47ba2103adca34d225b33 affected from d83b405383c965498923f3561c3321e2b5df5727, before b14aa5673e0a8077ff4b74f0bb260735e7d5e6a4 affected from d83b405383c965498923f3561c3321e2b5df5727, before 1094ed500987e67a9d18b0f95e1812f1cc720856 affected from d83b405383c965498923f3561c3321e2b5df5727, before 5ae6a64f18211851c8df6b4221381c438b9a7348 affected from d83b405383c965498923f3561c3321e2b5df5727, before 553e67dec846323b5575e78a776cf594c13f98c4 affected from d83b405383c965498923f3561c3321e2b5df5727, before c15a688e49987385baa8804bf65d570e362f8576
Other versions: unaffected
|
| Linux |
affected 3.3 unaffected before 3.3 unaffected from 5.10.222 up to and including 5.10.* unaffected from 5.15.163 up to and including 5.15.* unaffected from 6.1.100 up to and including 6.1.* unaffected from 6.6.41 up to and including 6.6.* unaffected from 6.9.10 up to and including 6.9.* unaffected 6.10 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-2024-42244 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-42244
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-2024-42244
trivy image --scanners vuln IMAGE | grep CVE-2024-42244
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/932a86a711c722b45ed47ba2103adca34d225b33 git.kernel.org
- https://git.kernel.org/stable/c/b14aa5673e0a8077ff4b74f0bb260735e7d5e6a4 git.kernel.org
- https://git.kernel.org/stable/c/1094ed500987e67a9d18b0f95e1812f1cc720856 git.kernel.org
- https://git.kernel.org/stable/c/5ae6a64f18211851c8df6b4221381c438b9a7348 git.kernel.org
- https://git.kernel.org/stable/c/553e67dec846323b5575e78a776cf594c13f98c4 git.kernel.org
- https://git.kernel.org/stable/c/c15a688e49987385baa8804bf65d570e362f8576 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-42244 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse