CVE-2024-42244
USB: serial: mos7840: fix crash on resume
Reported by linux · Published August 7, 2024
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() ]
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-livepatch-6.1.102-108.177 | Amazon Linux | 1.0-0.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.102-108.177.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.102-108.177.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.102-108.177.amzn2023 |
| linux_kernel | linux | 6.9.10, 6.6.41, 6.1.100, 5.15.163, 5.10.222 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d83b405383c965498923f3561c3321e2b5df5727, d83b405383c965498923f3561c3321e2b5df5727, d83b405383c965498923f3561c3321e2b5df5727 |
| Linux | Linux | 3.3, 0, 5.10.222 |
| amazon:2023 | kernel-livepatch-6.1.102-108.177 | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| linux | linux_kernel | 3.3, 3.3, 3.3 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | bpftool | 0 |
| Linux | Linux | 6.1.100, *, * |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
Timeline
- Aug 7, 2024 CVE Published
- Aug 13, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (6 in total, the first dated here)
- Jan 6, 2026 Security Advisory (135 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (121 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-42244
vulnetix vdb fixes CVE-2024-42244
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-42244/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart