CVE-2024-27001
comedi: vmk80xx: fix incomplete endpoint checking
Check your servers for CVE-2024-27001
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-27001 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:
comedi: vmk80xx: fix incomplete endpoint checking
While vmk80xx does have endpoint checking implemented, some things can fall through the cracks. Depending on the hardware model, URBs can have either bulk or interrupt type, and current version of vmk80xx_find_usb_endpoints() function does not take that fully into account. While this warning does not seem to be too harmful, at the very least it will crash systems with 'panic_on_warn' set on them.
Fix the issue found by Syzkaller [1] by somewhat simplifying the endpoint checking process with usb_find_common_endpoints() and ensuring that only expected endpoint types are present.
This patch has not been tested on real hardware.
[1] Syzkaller report: usb 1-1: BOGUS urb xfer, pipe 1 != type 3 WARNING: CPU: 0 PID: 781 at drivers/usb/core/urb.c:504 usb_submit_urb+0xc4e/0x18c0 drivers/usb/core/urb.c:503 ... Call Trace: <TASK> usb_start_wait_urb+0x113/0x520 drivers/usb/core/message.c:59 vmk80xx_reset_device drivers/comedi/drivers/vmk80xx.c:227 [inline] vmk80xx_auto_attach+0xa1c/0x1a40 drivers/comedi/drivers/vmk80xx.c:818 comedi_auto_config+0x238/0x380 drivers/comedi/drivers.c:1067 usb_probe_interface+0x5cd/0xb00 drivers/usb/core/driver.c:399 ...
Similar issue also found by Syzkaller:
Exploitation
EPSS 0.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 22.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 17 Jul 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 49253d542cc0f5f771dc254d248162a2a666649d, before 3a63ae0348d990e137cca04eced5b08379969ea9 affected from 49253d542cc0f5f771dc254d248162a2a666649d, before a3b8ae7e9297dd453f2977b011c5bc75eb20e71b affected from 49253d542cc0f5f771dc254d248162a2a666649d, before f15370e315976198f338b41611f37ce82af6cf54 affected from 49253d542cc0f5f771dc254d248162a2a666649d, before b0b268eeb087e324ef3ea71f8e6cabd07630517f affected from 49253d542cc0f5f771dc254d248162a2a666649d, before ac882d6b21bffecb57bcc4486701239eef5aa67b affected from 49253d542cc0f5f771dc254d248162a2a666649d, before 59f33af9796160f851641d960bd93937f282c696 affected from 49253d542cc0f5f771dc254d248162a2a666649d, before 6ec3514a7d35ad9cfab600187612c29f669069d2 affected from 49253d542cc0f5f771dc254d248162a2a666649d, before d1718530e3f640b7d5f0050e725216eab57a85d8
Other versions: unaffected
|
| Linux |
affected 3.9 unaffected before 3.9 unaffected from 4.19.313 up to and including 4.19.* unaffected from 5.4.275 up to and including 5.4.* unaffected from 5.10.216 up to and including 5.10.* unaffected from 5.15.157 up to and including 5.15.* unaffected from 6.1.88 up to and including 6.1.* unaffected from 6.6.29 up to and including 6.6.* unaffected from 6.8.8 up to and including 6.8.* unaffected 6.9 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-27001 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-27001
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-27001
trivy image --scanners vuln IMAGE | grep CVE-2024-27001
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/3a63ae0348d990e137cca04eced5b08379969ea9 git.kernel.org
- https://git.kernel.org/stable/c/a3b8ae7e9297dd453f2977b011c5bc75eb20e71b git.kernel.org
- https://git.kernel.org/stable/c/f15370e315976198f338b41611f37ce82af6cf54 git.kernel.org
- https://git.kernel.org/stable/c/b0b268eeb087e324ef3ea71f8e6cabd07630517f git.kernel.org
- https://git.kernel.org/stable/c/ac882d6b21bffecb57bcc4486701239eef5aa67b git.kernel.org
- https://git.kernel.org/stable/c/59f33af9796160f851641d960bd93937f282c696 git.kernel.org
- https://git.kernel.org/stable/c/6ec3514a7d35ad9cfab600187612c29f669069d2 git.kernel.org
- https://git.kernel.org/stable/c/d1718530e3f640b7d5f0050e725216eab57a85d8 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/ lists.fedoraproject.org
Source: the record CVE-2024-27001 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