| Name | CVE-2025-38482 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4327-1, DLA-4328-1, DSA-5973-1, DSA-5975-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| linux (PTS) | bullseye | 5.10.223-1 | vulnerable |
| bullseye (security) | 5.10.244-1 | fixed | |
| bookworm | 6.1.148-1 | fixed | |
| bookworm (security) | 6.1.153-1 | fixed | |
| trixie | 6.12.43-1 | fixed | |
| trixie (security) | 6.12.48-1 | fixed | |
| forky, sid | 6.16.12-2 | fixed | |
| linux-6.1 (PTS) | bullseye (security) | 6.1.153-1~deb11u1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| linux | source | bullseye | 5.10.244-1 | DLA-4327-1 | ||
| linux | source | bookworm | 6.1.147-1 | DSA-5973-1 | ||
| linux | source | trixie | 6.12.41-1 | DSA-5975-1 | ||
| linux | source | (unstable) | 6.16.3-1 | |||
| linux-6.1 | source | bullseye | 6.1.153-1~deb11u1 | DLA-4328-1 |
https://git.kernel.org/linus/70f2b28b5243df557f51c054c20058ae207baaac (6.16-rc7)