CVE-2025-38529

comedi: aio_iiro_16: Fix bit shift out of bounds

HIGH
7.1
CVSS Score
Published: August 16, 2025 at 11:12 AM UTC
Updated: June 17, 2026 at 09:17 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: aio_iiro_16: Fix bit shift out of bounds When checking for a supported IRQ number, the following test is used: if ((1 << it->options[1]) & 0xdcfc) { 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.

4.0 ≤ v < 5.10.2414.0 ≤ v < 5.15.1904.0 ≤ v < 5.4.2974.0 ≤ v < 6.1.1474.0 ≤ v < 6.12.404.0 ≤ v < 6.15.84.0 ≤ v < 6.164.0 ≤ 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.404.06.16 rc16.16 rc26.16 rc36.16 rc46.16 rc56.16 rc6ad7a370c8be47247f68f7187cc82f4f25a347116
Vendor states this is fixed in 43ddd82e6a91913cea1c078e782afd8de60c3a53 (fixed)
Vendor states this is fixed in 5ac7c60439236fb691b8c7987390e2327bbf18fa (fixed)
Vendor states this is fixed in 66acb1586737a22dd7b78abc63213b1bcaa100e4 (fixed)
Vendor states this is fixed in 955e8835855fed8e87f7d8c8075564a1746c1b4c (fixed)
Vendor states this is fixed in a88692245c315bf8e225f205297a6f4b13d6856a (fixed)
Vendor states this is fixed in c593215385f0c0163015cca4512ed3ff42875d19 (fixed)
Vendor states this is fixed in e0f3c0867d7d231c70984f05c97752caacd0daba (fixed)
Vendor states this is fixed in ff30dd3f15f443d2a0085b12ec2cc95d44f35fa7 (fixed)
Vendor states this is fixed in 4.0 (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/43ddd82e6a91913cea1c078e782afd8de60c3a53
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5ac7c60439236fb691b8c7987390e2327bbf18fa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/66acb1586737a22dd7b78abc63213b1bcaa100e4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/955e8835855fed8e87f7d8c8075564a1746c1b4c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a88692245c315bf8e225f205297a6f4b13d6856a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c593215385f0c0163015cca4512ed3ff42875d19
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e0f3c0867d7d231c70984f05c97752caacd0daba
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ff30dd3f15f443d2a0085b12ec2cc95d44f35fa7

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