CVE-2025-38529 comedi: aio_iiro_16: Fix bit shift out of bounds

High 7.1 Published Updated

A local attacker can trigger an out-of-bounds bit shift in the aio_iiro_16 Comedi driver, potentially causing a kernel crash or arbitrary code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-38529?

CVE-2025-38529 is a high-severity vulnerability in Debian Debian Linux, published on 16 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-125

Which versions are affected by CVE-2025-38529?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-38529?

Apply the vendor's patch.

Is CVE-2025-38529 being exploited?

There is no known exploitation of CVE-2025-38529 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-66396, AZL-73560, BELL-CVE-2025-38529, DEBIAN-CVE-2025-38529, GHSA-jqcq-x2c2-xp7j, ROOT-OS-DEBIAN-11-CVE-2025-38529 and 5 more.

Is CVE-2025-38529 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free