{
  "id": "CVE-2025-38530",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38530",
  "published_at": "2025-08-16T11:12:23.368Z",
  "title": "comedi: pcl812: 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: pcl812: Fix bit shift out of bounds\n\nWhen checking for a supported IRQ number, the following test is used:\n\n\tif ((1 \u003c\u003c it-\u003eoptions[1]) \u0026 board-\u003eirq_bits) {\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= fcdb427bc7cf5e9e5d7280cf09c08dec49b49432, \u003c 374d9b3eb4b08407997ef1fce96119d31e0c0bc4",
          "\u003e= fcdb427bc7cf5e9e5d7280cf09c08dec49b49432, \u003c 0489c30d080f07cc7f09d04de723d8c2ccdb61ef",
          "\u003e= fcdb427bc7cf5e9e5d7280cf09c08dec49b49432, \u003c 29ef03e5b84431171d6b77b822985b54bc44b793",
          "\u003e= fcdb427bc7cf5e9e5d7280cf09c08dec49b49432, \u003c 5bfa301e1e59a9b1a7b62a800b54852337c97416",
          "\u003e= fcdb427bc7cf5e9e5d7280cf09c08dec49b49432, \u003c 7e470d8efd10725b189ca8951973a8425932398a",
          "\u003e= fcdb427bc7cf5e9e5d7280cf09c08dec49b49432, \u003c a27e27eee313fe1c450b6af1e80e64412546cab4",
          "\u003e= fcdb427bc7cf5e9e5d7280cf09c08dec49b49432, \u003c 16c173abee315953fd17a279352fec4a1faee862",
          "\u003e= fcdb427bc7cf5e9e5d7280cf09c08dec49b49432, \u003c b14b076ce593f72585412fc7fd3747e03a5e3632"
        ],
        "fixed_in": [
          "374d9b3eb4b08407997ef1fce96119d31e0c0bc4",
          "0489c30d080f07cc7f09d04de723d8c2ccdb61ef",
          "29ef03e5b84431171d6b77b822985b54bc44b793",
          "5bfa301e1e59a9b1a7b62a800b54852337c97416",
          "7e470d8efd10725b189ca8951973a8425932398a",
          "a27e27eee313fe1c450b6af1e80e64412546cab4",
          "16c173abee315953fd17a279352fec4a1faee862",
          "b14b076ce593f72585412fc7fd3747e03a5e3632"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.30"
        ],
        "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 374d9b3eb4b08407997ef1fce96119d31e0c0bc4 or 0489c30d080f07cc7f09d04de723d8c2ccdb61ef or 29ef03e5b84431171d6b77b822985b54bc44b793 or 5bfa301e1e59a9b1a7b62a800b54852337c97416 or 7e470d8efd10725b189ca8951973a8425932398a or a27e27eee313fe1c450b6af1e80e64412546cab4 or 16c173abee315953fd17a279352fec4a1faee862 or b14b076ce593f72585412fc7fd3747e03a5e3632 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": []
}
