{
  "id": "CVE-2025-38529",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38529",
  "published_at": "2025-08-16T11:12:22.447Z",
  "title": "comedi: aio_iiro_16: 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: aio_iiro_16: 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 0xdcfc) {\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= ad7a370c8be47247f68f7187cc82f4f25a347116, \u003c a88692245c315bf8e225f205297a6f4b13d6856a",
          "\u003e= ad7a370c8be47247f68f7187cc82f4f25a347116, \u003c 5ac7c60439236fb691b8c7987390e2327bbf18fa",
          "\u003e= ad7a370c8be47247f68f7187cc82f4f25a347116, \u003c c593215385f0c0163015cca4512ed3ff42875d19",
          "\u003e= ad7a370c8be47247f68f7187cc82f4f25a347116, \u003c ff30dd3f15f443d2a0085b12ec2cc95d44f35fa7",
          "\u003e= ad7a370c8be47247f68f7187cc82f4f25a347116, \u003c 955e8835855fed8e87f7d8c8075564a1746c1b4c",
          "\u003e= ad7a370c8be47247f68f7187cc82f4f25a347116, \u003c e0f3c0867d7d231c70984f05c97752caacd0daba",
          "\u003e= ad7a370c8be47247f68f7187cc82f4f25a347116, \u003c 43ddd82e6a91913cea1c078e782afd8de60c3a53",
          "\u003e= ad7a370c8be47247f68f7187cc82f4f25a347116, \u003c 66acb1586737a22dd7b78abc63213b1bcaa100e4"
        ],
        "fixed_in": [
          "a88692245c315bf8e225f205297a6f4b13d6856a",
          "5ac7c60439236fb691b8c7987390e2327bbf18fa",
          "c593215385f0c0163015cca4512ed3ff42875d19",
          "ff30dd3f15f443d2a0085b12ec2cc95d44f35fa7",
          "955e8835855fed8e87f7d8c8075564a1746c1b4c",
          "e0f3c0867d7d231c70984f05c97752caacd0daba",
          "43ddd82e6a91913cea1c078e782afd8de60c3a53",
          "66acb1586737a22dd7b78abc63213b1bcaa100e4"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.0"
        ],
        "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 a88692245c315bf8e225f205297a6f4b13d6856a or 5ac7c60439236fb691b8c7987390e2327bbf18fa or c593215385f0c0163015cca4512ed3ff42875d19 or ff30dd3f15f443d2a0085b12ec2cc95d44f35fa7 or 955e8835855fed8e87f7d8c8075564a1746c1b4c or e0f3c0867d7d231c70984f05c97752caacd0daba or 43ddd82e6a91913cea1c078e782afd8de60c3a53 or 66acb1586737a22dd7b78abc63213b1bcaa100e4 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": []
}
