CVE-2025-38482

comedi: das6402: Fix bit shift out of bounds

HIGH
7.1
CVSS Score
Published: July 28, 2025 at 11:21 AM UTC
Updated: June 17, 2026 at 09:16 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

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
HIGH7.1
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: comedi: das6402: Fix bit shift out of bounds When checking for a supported IRQ number, the following test is used: /* IRQs 2,3,5,6,7, 10,11,15 are valid for "enhanced" mode */ if ((1 << it->options[1]) & 0x8cec) { However, `it->options[i]` is an unchecked `int` value from userspace, so the shift amount could be negative or out of bounds. Fix the test by requiring `it->options[1]` to be within bounds before proceeding with the original test. Valid `it->options[1]` values that select the IRQ will be in the range [1,15]. The value 0 explicitly disables the use of interrupts.

Affected

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

3.15 ≤ v < 5.10.2413.15 ≤ v < 5.15.1903.15 ≤ v < 5.4.2973.15 ≤ v < 6.1.1473.15 ≤ v < 6.12.403.15 ≤ v < 6.15.83.15 ≤ v < 6.163.15 ≤ v < 6.6.1005.11 ≤ v < 5.15.1905.16 ≤ v < 6.1.1475.5 ≤ v < 5.10.2416.13 ≤ v < 6.15.86.2 ≤ v < 6.6.1006.7 ≤ v < 6.12.403.156.16 rc16.16 rc26.16 rc36.16 rc46.16 rc56.16 rc679e5e6addbb18bf56075f0ff552094a28636dd03
Vendor states this is fixed in 3eab654f5d199ecd45403c6588cda63e491fcfca (fixed)
Vendor states this is fixed in 4a3c18cde02e35aba87e0ad5672b3e1c72dda5a4 (fixed)
Vendor states this is fixed in 70f2b28b5243df557f51c054c20058ae207baaac (fixed)
Vendor states this is fixed in 73f34d609397805c20d6b2ef5c07a4cbf7c4d63a (fixed)
Vendor states this is fixed in 8a3637027ceeba4ca5e500b23cb7d24c25592513 (fixed)
Vendor states this is fixed in a15e9c175f783298c4ee48146be6841335400406 (fixed)
Vendor states this is fixed in a18a42e77545afcacd6a2b8d9fc16191b87454df (fixed)
Vendor states this is fixed in de8da1063cce9234d55c8270d9bdf4cf84411c80 (fixed)
Vendor states this is fixed in 3.15 (unaffected)
Vendor states this is fixed in 5.10.241 (unaffected)
Vendor states this is fixed in 5.15.190 (unaffected)
Vendor states this is fixed in 5.4.297 (unaffected)
Vendor states this is fixed in 6.1.147 (unaffected)
Vendor states this is fixed in 6.12.40 (unaffected)
Vendor states this is fixed in 6.15.8 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.100 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3eab654f5d199ecd45403c6588cda63e491fcfca
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4a3c18cde02e35aba87e0ad5672b3e1c72dda5a4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/70f2b28b5243df557f51c054c20058ae207baaac
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/73f34d609397805c20d6b2ef5c07a4cbf7c4d63a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8a3637027ceeba4ca5e500b23cb7d24c25592513
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a15e9c175f783298c4ee48146be6841335400406
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a18a42e77545afcacd6a2b8d9fc16191b87454df
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/de8da1063cce9234d55c8270d9bdf4cf84411c80

CVSS

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

Quick Info

StatusANALYZED
CWE
CWE-125

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