{
  "id": "CVE-2025-38482",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38482",
  "published_at": "2025-07-28T11:21:47.026Z",
  "title": "comedi: das6402: Fix bit shift out of bounds",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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 \u003c\u003c it-\u003eoptions[1]) \u0026 0x8cec) {\n\nHowever, `it-\u003eoptions[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-\u003eoptions[1]` to be within bounds before proceeding with\nthe original test.  Valid `it-\u003eoptions[1]` values that select the IRQ\nwill be in the range [1,15]. The value 0 explicitly disables the use of\ninterrupts.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 79e5e6addbb18bf56075f0ff552094a28636dd03, \u003c a15e9c175f783298c4ee48146be6841335400406",
          "\u003e= 79e5e6addbb18bf56075f0ff552094a28636dd03, \u003c de8da1063cce9234d55c8270d9bdf4cf84411c80",
          "\u003e= 79e5e6addbb18bf56075f0ff552094a28636dd03, \u003c 73f34d609397805c20d6b2ef5c07a4cbf7c4d63a",
          "\u003e= 79e5e6addbb18bf56075f0ff552094a28636dd03, \u003c a18a42e77545afcacd6a2b8d9fc16191b87454df",
          "\u003e= 79e5e6addbb18bf56075f0ff552094a28636dd03, \u003c 8a3637027ceeba4ca5e500b23cb7d24c25592513",
          "\u003e= 79e5e6addbb18bf56075f0ff552094a28636dd03, \u003c 3eab654f5d199ecd45403c6588cda63e491fcfca",
          "\u003e= 79e5e6addbb18bf56075f0ff552094a28636dd03, \u003c 4a3c18cde02e35aba87e0ad5672b3e1c72dda5a4",
          "\u003e= 79e5e6addbb18bf56075f0ff552094a28636dd03, \u003c 70f2b28b5243df557f51c054c20058ae207baaac"
        ],
        "fixed_in": [
          "a15e9c175f783298c4ee48146be6841335400406",
          "de8da1063cce9234d55c8270d9bdf4cf84411c80",
          "73f34d609397805c20d6b2ef5c07a4cbf7c4d63a",
          "a18a42e77545afcacd6a2b8d9fc16191b87454df",
          "8a3637027ceeba4ca5e500b23cb7d24c25592513",
          "3eab654f5d199ecd45403c6588cda63e491fcfca",
          "4a3c18cde02e35aba87e0ad5672b3e1c72dda5a4",
          "70f2b28b5243df557f51c054c20058ae207baaac"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.15"
        ],
        "fixed_in": [
          "0",
          "5.4.297",
          "5.10.241",
          "5.15.190",
          "6.1.147",
          "6.6.100",
          "6.12.40",
          "6.15.8",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a15e9c175f783298c4ee48146be6841335400406 or de8da1063cce9234d55c8270d9bdf4cf84411c80 or 73f34d609397805c20d6b2ef5c07a4cbf7c4d63a or a18a42e77545afcacd6a2b8d9fc16191b87454df or 8a3637027ceeba4ca5e500b23cb7d24c25592513 or 3eab654f5d199ecd45403c6588cda63e491fcfca or 4a3c18cde02e35aba87e0ad5672b3e1c72dda5a4 or 70f2b28b5243df557f51c054c20058ae207baaac or later.",
      "Upgrade Linux to 0 or 5.4.297 or 5.10.241 or 5.15.190 or 6.1.147 or 6.6.100 or 6.12.40 or 6.15.8 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
