CVE-2025-38482 comedi: das6402: Fix bit shift out of bounds

High 7.1 Published Updated

A local attacker can trigger an out-of-bounds bit shift in the das6402 driver, potentially causing a kernel crash or denial of service.

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-38482?

CVE-2025-38482 is a high-severity vulnerability in Debian Debian Linux, published on 28 Jul 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: 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.

Weakness: CWE-125

Which versions are affected by CVE-2025-38482?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-38482?

Apply the vendor's patch.

Is CVE-2025-38482 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2025-38482, DEBIAN-CVE-2025-38482, GHSA-fj76-9588-m48w, ROOT-OS-DEBIAN-11-CVE-2025-38482, ROOT-OS-DEBIAN-12-CVE-2025-38482, ROOT-OS-UBUNTU-2204-CVE-2025-38482 and 2 more.

Is CVE-2025-38482 in your software?

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

Check your SBOMs for free