# CVE-2025-38483: comedi: das16m1: Fix bit shift out of bounds

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-07-28T11:21:47.895Z
- Modified: 2026-06-17T09:16:57.300Z
- Weaknesses: CWE-125
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

comedi: das16m1: Fix bit shift out of bounds

When checking for a supported IRQ number, the following test is used:

	/* only irqs 2, 3, 4, 5, 6, 7, 10, 11, 12, 14, and 15 are valid */
	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.

(As written by CVE List.)

## Affected

- Linux Linux: from 729988507680b2ce934bce61d9ce0ea7b235914c before 539bdff832adac9ea653859fa0b6bc62e743329c; from 729988507680b2ce934bce61d9ce0ea7b235914c before d1291c69f46d6572b2cf75960dd8975d7ab2176b; from 729988507680b2ce934bce61d9ce0ea7b235914c before b3c95fa508e5dc3da60520eea92a5241095ceef1; from 729988507680b2ce934bce61d9ce0ea7b235914c before 65c03e6fc524eb2868abedffd8a4613d78abc288; from 729988507680b2ce934bce61d9ce0ea7b235914c before adb7df8a8f9d788423e161b779764527dd3ec2d0; from 729988507680b2ce934bce61d9ce0ea7b235914c before 076b13ee60eb01ed0d140ef261f95534562a3077; from 729988507680b2ce934bce61d9ce0ea7b235914c before f211572818ed5bec2b3f5d4e0719ef8699b3c269; from 729988507680b2ce934bce61d9ce0ea7b235914c before ed93c6f68a3be06e4e0c331c6e751f462dee3932; 3.14 (not affected: before 3.14; from 5.4.297 up to 5.4.*; from 5.10.241 up to 5.10.*; from 5.15.190 up to 5.15.*; from 6.1.147 up to 6.1.*; from 6.6.100 up to 6.6.*; from 6.12.40 up to 6.12.*; from 6.15.8 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 3.14 before 5.4.297; from 5.5 before 5.10.241; from 5.11 before 5.15.190; from 5.16 before 6.1.147; from 6.2 before 6.6.100; from 6.7 before 6.12.40; from 6.13 before 6.15.8; 6.16
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/539bdff832adac9ea653859fa0b6bc62e743329c> (patch)
- <https://git.kernel.org/stable/c/d1291c69f46d6572b2cf75960dd8975d7ab2176b> (patch)
- <https://git.kernel.org/stable/c/b3c95fa508e5dc3da60520eea92a5241095ceef1> (patch)
- <https://git.kernel.org/stable/c/65c03e6fc524eb2868abedffd8a4613d78abc288> (patch)
- <https://git.kernel.org/stable/c/adb7df8a8f9d788423e161b779764527dd3ec2d0> (patch)
- <https://git.kernel.org/stable/c/076b13ee60eb01ed0d140ef261f95534562a3077> (patch)
- <https://git.kernel.org/stable/c/f211572818ed5bec2b3f5d4e0719ef8699b3c269> (patch)
- <https://git.kernel.org/stable/c/ed93c6f68a3be06e4e0c331c6e751f462dee3932> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-38483](https://www.cve.org/CVERecord?id=CVE-2025-38483), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38483](https://nvd.nist.gov/vuln/detail/CVE-2025-38483), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38483 · Whole record: https://cve.day/CVE-2025-38483.json · Rebuilt by cve.day 2026-11-25T22:59:01.804Z
