VDB

CVE-2025-38482

CVE-2025-38482 PUBLISHED

comedi: das6402: Fix bit shift out of bounds

Reported by linux · Published July 28, 2025

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 products

VendorProductVersions
LinuxLinux79e5e6addbb18bf56075f0ff552094a28636dd03, 79e5e6addbb18bf56075f0ff552094a28636dd03, 79e5e6addbb18bf56075f0ff552094a28636dd03
LinuxLinux3.15, 0, 5.4.297
linuxlinux_kernel3.15, 3.15, 3.15
LinuxLinux79e5e6addbb18bf56075f0ff552094a28636dd03, 79e5e6addbb18bf56075f0ff552094a28636dd03, 79e5e6addbb18bf56075f0ff552094a28636dd03

Timeline

  • Jul 28, 2025 EPSS Score (30 in total, the first dated here)
  • Jul 28, 2025 CVE Published
  • Oct 12, 2025 PoC Published (12 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (157 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (203 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score
  • Oct 7, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38482
vulnetix vdb fixes CVE-2025-38482

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38482/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›