{"id":"CVE-2025-38482","aliases":["CVE-2025-38482"],"related":[],"kind":"vulnerability","state":"published","title":"comedi: das6402: Fix bit shift out of bounds","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: das6402: Fix bit shift out of bounds\n\nWhen checking for a supported IRQ number, the following test is used:\n\n\t/* IRQs 2,3,5,6,7, 10,11,15 are valid for \"enhanced\" mode */\n\tif ((1 << it->options[1]) & 0x8cec) {\n\nHowever, `it->options[i]` is an unchecked `int` value from userspace, so\nthe shift amount could be negative or out of bounds.  Fix the test by\nrequiring `it->options[1]` to be within bounds before proceeding with\nthe original test.  Valid `it->options[1]` values that select the IRQ\nwill be in the range [1,15]. The value 0 explicitly disables the use of\ninterrupts.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: das6402: Fix bit shift out of bounds\n\nWhen checking for a supported IRQ number, the following test is used:\n\n\t/* IRQs 2,3,5,6,7, 10,11,15 are valid for \"enhanced\" mode */\n\tif ((1 << it->options[1]) & 0x8cec) {\n\nHowever, `it->options[i]` is an unchecked `int` value from userspace, so\nthe shift amount could be negative or out of bounds.  Fix the test by\nrequiring `it->options[1]` to be within bounds before proceeding with\nthe original test.  Valid `it->options[1]` values that select the IRQ\nwill be in the range [1,15]. The value 0 explicitly disables the use of\ninterrupts.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: comedi: das6402: Corregir desplazamiento de bits fuera de los límites Al comprobar un número de IRQ compatible, se utiliza la siguiente prueba: /* Las IRQ 2, 3, 5, 6, 7, 10, 11, 15 son válidas para el modo \"enhanced\" */ if ((1 &lt;&lt; it-&gt;options[1]) &amp; 0x8cec) { Sin embargo, `it-&gt;options[i]` es un valor `int` sin comprobar del espacio de usuario, por lo que la cantidad de desplazamiento podría ser negativa o estar fuera de los límites. Corrija la prueba exigiendo que `it-&gt;options[1]` esté dentro de los límites antes de continuar con la prueba original. Los valores válidos de `it-&gt;options[1]` que seleccionan la IRQ estarán en el rango [1, 15]. El valor 0 deshabilita explícitamente el uso de interrupciones.","source":"nvd"}],"published":"2025-07-28T11:21:47.026Z","modified":"2026-06-17T09:16:57.173Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"79e5e6addbb18bf56075f0ff552094a28636dd03","fixed":"a15e9c175f783298c4ee48146be6841335400406","status":"affected"},{"type":"git","introduced":"79e5e6addbb18bf56075f0ff552094a28636dd03","fixed":"de8da1063cce9234d55c8270d9bdf4cf84411c80","status":"affected"},{"type":"git","introduced":"79e5e6addbb18bf56075f0ff552094a28636dd03","fixed":"73f34d609397805c20d6b2ef5c07a4cbf7c4d63a","status":"affected"},{"type":"git","introduced":"79e5e6addbb18bf56075f0ff552094a28636dd03","fixed":"a18a42e77545afcacd6a2b8d9fc16191b87454df","status":"affected"},{"type":"git","introduced":"79e5e6addbb18bf56075f0ff552094a28636dd03","fixed":"8a3637027ceeba4ca5e500b23cb7d24c25592513","status":"affected"},{"type":"git","introduced":"79e5e6addbb18bf56075f0ff552094a28636dd03","fixed":"3eab654f5d199ecd45403c6588cda63e491fcfca","status":"affected"},{"type":"git","introduced":"79e5e6addbb18bf56075f0ff552094a28636dd03","fixed":"4a3c18cde02e35aba87e0ad5672b3e1c72dda5a4","status":"affected"},{"type":"git","introduced":"79e5e6addbb18bf56075f0ff552094a28636dd03","fixed":"70f2b28b5243df557f51c054c20058ae207baaac","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.15","status":"unaffected"},{"type":"semver","introduced":"5.4.297","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.241","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.190","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.147","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.100","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.40","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.8","lastAffected":"6.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.15","fixed":"5.4.297"},{"status":"affected","introduced":"5.5","fixed":"5.10.241"},{"status":"affected","introduced":"5.11","fixed":"5.15.190"},{"status":"affected","introduced":"5.16","fixed":"6.1.147"},{"status":"affected","introduced":"6.2","fixed":"6.6.100"},{"status":"affected","introduced":"6.7","fixed":"6.12.40"},{"status":"affected","introduced":"6.13","fixed":"6.15.8"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a15e9c175f783298c4ee48146be6841335400406","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/de8da1063cce9234d55c8270d9bdf4cf84411c80","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/73f34d609397805c20d6b2ef5c07a4cbf7c4d63a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a18a42e77545afcacd6a2b8d9fc16191b87454df","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8a3637027ceeba4ca5e500b23cb7d24c25592513","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3eab654f5d199ecd45403c6588cda63e491fcfca","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4a3c18cde02e35aba87e0ad5672b3e1c72dda5a4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/70f2b28b5243df557f51c054c20058ae207baaac","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38482","url":"https://www.cve.org/CVERecord?id=CVE-2025-38482","licence":"CVE Terms of Use","modified":"2026-05-11T21:28:51.974Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38482","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38482","licence":"Public domain","modified":"2026-06-17T09:16:57.173Z"}],"updatedAt":"2026-11-25T22:59:01.803Z","epss":{"score":0.002,"percentile":0.10358,"date":"2026-12-01T12:00:22.000Z"}}