CVE-2025-38482

comedi: das6402: Fix bit shift out of bounds

No CVSS score yet EPSS 0.20%

Published 28 Jul 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-38482

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38482 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.3% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 79e5e6addbb18bf56075f0ff552094a28636dd03, before a15e9c175f783298c4ee48146be6841335400406
affected from 79e5e6addbb18bf56075f0ff552094a28636dd03, before de8da1063cce9234d55c8270d9bdf4cf84411c80
affected from 79e5e6addbb18bf56075f0ff552094a28636dd03, before 73f34d609397805c20d6b2ef5c07a4cbf7c4d63a
affected from 79e5e6addbb18bf56075f0ff552094a28636dd03, before a18a42e77545afcacd6a2b8d9fc16191b87454df
affected from 79e5e6addbb18bf56075f0ff552094a28636dd03, before 8a3637027ceeba4ca5e500b23cb7d24c25592513
affected from 79e5e6addbb18bf56075f0ff552094a28636dd03, before 3eab654f5d199ecd45403c6588cda63e491fcfca
affected from 79e5e6addbb18bf56075f0ff552094a28636dd03, before 4a3c18cde02e35aba87e0ad5672b3e1c72dda5a4
affected from 79e5e6addbb18bf56075f0ff552094a28636dd03, before 70f2b28b5243df557f51c054c20058ae207baaac
Other versions: unaffected
Linux
affected 3.15
unaffected before 3.15
unaffected from 5.4.297 up to and including 5.4.*
unaffected from 5.10.241 up to and including 5.10.*
unaffected from 5.15.190 up to and including 5.15.*
unaffected from 6.1.147 up to and including 6.1.*
unaffected from 6.6.100 up to and including 6.6.*
unaffected from 6.12.40 up to and including 6.12.*
unaffected from 6.15.8 up to and including 6.15.*
unaffected 6.16 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38482 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38482

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-38482
trivy image --scanners vuln IMAGE | grep CVE-2025-38482

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-38482 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.