CVE-2024-27001

comedi: vmk80xx: fix incomplete endpoint checking

MEDIUM
5.5
CVSS Score
Published: May 1, 2024 at 05:28 AM UTC
Updated: June 17, 2026 at 07:18 AM UTC
3 products affected across 3 vendorsLinux KernelDebian LinuxFedora

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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:

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.9 ≤ v < 4.19.3133.9 ≤ v < 5.10.2163.9 ≤ v < 5.15.1573.9 ≤ v < 5.4.2753.9 ≤ v < 6.1.883.9 ≤ v < 6.6.293.9 ≤ v < 6.8.83.9 ≤ v < 6.94.20 ≤ v < 5.4.2755.11 ≤ v < 5.15.1575.16 ≤ v < 6.1.885.5 ≤ v < 5.10.2166.2 ≤ v < 6.6.296.7 ≤ v < 6.8.83.949253d542cc0f5f771dc254d248162a2a666649d6.9 rc16.9 rc26.9 rc36.9 rc4
Vendor states this is fixed in 3a63ae0348d990e137cca04eced5b08379969ea9 (fixed)
Vendor states this is fixed in 59f33af9796160f851641d960bd93937f282c696 (fixed)
Vendor states this is fixed in 6ec3514a7d35ad9cfab600187612c29f669069d2 (fixed)
Vendor states this is fixed in a3b8ae7e9297dd453f2977b011c5bc75eb20e71b (fixed)
Vendor states this is fixed in ac882d6b21bffecb57bcc4486701239eef5aa67b (fixed)
Vendor states this is fixed in b0b268eeb087e324ef3ea71f8e6cabd07630517f (fixed)
Vendor states this is fixed in d1718530e3f640b7d5f0050e725216eab57a85d8 (fixed)
Vendor states this is fixed in f15370e315976198f338b41611f37ce82af6cf54 (fixed)
Vendor states this is fixed in 3.9 (unaffected)
Vendor states this is fixed in 4.19.313 (unaffected)
Vendor states this is fixed in 5.10.216 (unaffected)
Vendor states this is fixed in 5.15.157 (unaffected)
Vendor states this is fixed in 5.4.275 (unaffected)
Vendor states this is fixed in 6.1.88 (unaffected)
Vendor states this is fixed in 6.6.29 (unaffected)
Vendor states this is fixed in 6.8.8 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (13)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3a63ae0348d990e137cca04eced5b08379969ea9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/59f33af9796160f851641d960bd93937f282c696
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6ec3514a7d35ad9cfab600187612c29f669069d2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a3b8ae7e9297dd453f2977b011c5bc75eb20e71b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ac882d6b21bffecb57bcc4486701239eef5aa67b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b0b268eeb087e324ef3ea71f8e6cabd07630517f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d1718530e3f640b7d5f0050e725216eab57a85d8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f15370e315976198f338b41611f37ce82af6cf54

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card