VDB

CVE-2024-42244

CVE-2024-42244 PUBLISHED

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.

PackageEcosystemFixed in
kernel-livepatch-6.1.102-108.177Amazon Linux1.0-0.amzn2023
kernel-libbpf-develAmazon Linux6.1.102-108.177.amzn2023
kernel-tools-develAmazon Linux6.1.102-108.177.amzn2023
kernel-libbpfAmazon Linux6.1.102-108.177.amzn2023
linux_kernellinux6.9.10, 6.6.41, 6.1.100, 5.15.163, 5.10.222

Affected products

VendorProductVersions
LinuxLinuxd83b405383c965498923f3561c3321e2b5df5727, d83b405383c965498923f3561c3321e2b5df5727, d83b405383c965498923f3561c3321e2b5df5727
LinuxLinux3.3, 0, 5.10.222
amazon:2023kernel-livepatch-6.1.102-108.1770
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-tools-devel0
amazon:2023kernel-libbpf0
linuxlinux_kernel3.3, 3.3, 3.3
amazon:2023kernel0
amazon:2023kernel-headers0
amazon:2023bpftool0
LinuxLinux6.1.100, *, *
amazon:2023perf0
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools0
amazon:2023python3-perf0
amazon:2023kernel-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-libbpf-static0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›