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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 15, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2025-07-28T11:21:47.026Z
- **Modified:** 2026-06-17T09:16:57.173Z

## Who should check

- Anyone running Linux \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< a15e9c175f783298c4ee48146be6841335400406; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< de8da1063cce9234d55c8270d9bdf4cf84411c80; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< 73f34d609397805c20d6b2ef5c07a4cbf7c4d63a; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< a18a42e77545afcacd6a2b8d9fc16191b87454df; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< 8a3637027ceeba4ca5e500b23cb7d24c25592513; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< 3eab654f5d199ecd45403c6588cda63e491fcfca; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< 4a3c18cde02e35aba87e0ad5672b3e1c72dda5a4; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< 70f2b28b5243df557f51c054c20058ae207baaac
- Anyone running Linux 3.15

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

## Affected and fixed versions

- Linux: \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< a15e9c175f783298c4ee48146be6841335400406; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< de8da1063cce9234d55c8270d9bdf4cf84411c80; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< 73f34d609397805c20d6b2ef5c07a4cbf7c4d63a; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< a18a42e77545afcacd6a2b8d9fc16191b87454df; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< 8a3637027ceeba4ca5e500b23cb7d24c25592513; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< 3eab654f5d199ecd45403c6588cda63e491fcfca; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< 4a3c18cde02e35aba87e0ad5672b3e1c72dda5a4; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< 70f2b28b5243df557f51c054c20058ae207baaac (cvelist)
- Linux: 3.15 (cvelist)

## Mitigation

- Upgrade Linux to 70f2b28b5243df557f51c054c20058ae207baaac or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38482. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38482.md
Affected: Linux >= 79e5e6addbb18bf56075f0ff552094a28636dd03, < a15e9c175f783298c4ee48146be6841335400406; >= 79e5e6addbb18bf56075f0ff552094a28636dd03, < de8da1063cce9234d55c8270d9bdf4cf84411c80; >= 79e5e6addbb18bf56075f0ff552094a28636dd03, < 73f34d609397805c20d6b2ef5c07a4cbf7c4d63a; >= 79e5e6addbb18bf56075f0f…
Fixed in: Linux 73f34d609397805c20d6b2ef5c07a4cbf7c4d63a, Linux 8a3637027ceeba4ca5e500b23cb7d24c25592513, Linux 3eab654f5d199ecd45403c6588cda63e491fcfca, Linux 4a3c18cde02e35aba87e0ad5672b3e1c72dda5a4, Linux 70f2b28b5243df557f51c054c20058ae207baaac

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38482 being exploited?

There is no confirmed exploitation: CVE-2025-38482 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38482?

High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38482?

Linux \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< a15e9c175f783298c4ee48146be6841335400406; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< de8da1063cce9234d55c8270d9bdf4cf84411c80; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< 73f34d609397805c20d6b2ef5c07a4cbf7c4d63a; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< a18a42e77545afcacd6a2b8d9fc16191b87454df; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< 8a3637027ceeba4ca5e500b23cb7d24c25592513; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< 3eab654f5d199ecd45403c6588cda63e491fcfca; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< 4a3c18cde02e35aba87e0ad5672b3e1c72dda5a4; \>= 79e5e6addbb18bf56075f0ff552094a28636dd03, \< 70f2b28b5243df557f51c054c20058ae207baaac; Linux 3.15.

### Is there a fix for CVE-2025-38482?

Yes. Fixed in Linux 73f34d609397805c20d6b2ef5c07a4cbf7c4d63a, Linux 8a3637027ceeba4ca5e500b23cb7d24c25592513, Linux 3eab654f5d199ecd45403c6588cda63e491fcfca, Linux 4a3c18cde02e35aba87e0ad5672b3e1c72dda5a4, Linux 70f2b28b5243df557f51c054c20058ae207baaac. Upgrade Linux to 70f2b28b5243df557f51c054c20058ae207baaac or later.

### How do I check if I'm affected by CVE-2025-38482?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/a15e9c175f783298c4ee48146be6841335400406>
- patch: <https://git.kernel.org/stable/c/de8da1063cce9234d55c8270d9bdf4cf84411c80>
- patch: <https://git.kernel.org/stable/c/73f34d609397805c20d6b2ef5c07a4cbf7c4d63a>
- patch: <https://git.kernel.org/stable/c/a18a42e77545afcacd6a2b8d9fc16191b87454df>
- patch: <https://git.kernel.org/stable/c/8a3637027ceeba4ca5e500b23cb7d24c25592513>
- patch: <https://git.kernel.org/stable/c/3eab654f5d199ecd45403c6588cda63e491fcfca>
- patch: <https://git.kernel.org/stable/c/4a3c18cde02e35aba87e0ad5672b3e1c72dda5a4>
- patch: <https://git.kernel.org/stable/c/70f2b28b5243df557f51c054c20058ae207baaac>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38482>

HTML: <https://flawdb.com/CVE-2025-38482> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38482>
