{
  "id": "CVE-2026-31748",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31748",
  "published_at": "2026-05-01T14:14:41.545Z",
  "title": "comedi: me_daq: Fix potential overrun of firmware buffer",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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: me_daq: Fix potential overrun of firmware buffer\n\n`me2600_xilinx_download()` loads the firmware that was requested by\n`request_firmware()`.  It is possible for it to overrun the source\nbuffer because it blindly trusts the file format.  It reads a data\nstream length from the first 4 bytes into variable `file_length` and\nreads the data stream contents of length `file_length` from offset 16\nonwards.  Although it checks that the supplied firmware is at least 16\nbytes long, it does not check that it is long enough to contain the data\nstream.\n\nAdd a test to ensure that the supplied firmware is long enough to\ncontain the header and the data stream.  On failure, log an error and\nreturn `-EINVAL`.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 85acac61096f946a78cf0c4b65f7cebe580693b6, \u003c 2fc25a4c2e055cd42ea39a1b42c89bfef70e0319",
          "\u003e= 85acac61096f946a78cf0c4b65f7cebe580693b6, \u003c 9f39fa07259eb342908e4aa0271dee038a8ce4f8",
          "\u003e= 85acac61096f946a78cf0c4b65f7cebe580693b6, \u003c f3f8ec00cfb8d8e826e30b1138a56355b88e9ba8",
          "\u003e= 85acac61096f946a78cf0c4b65f7cebe580693b6, \u003c c16ac4e173a05011437a2d868f70cc415339065a",
          "\u003e= 85acac61096f946a78cf0c4b65f7cebe580693b6, \u003c 1bf8761eb59e94bf7b8c17b2a1ee48f14378b172",
          "\u003e= 85acac61096f946a78cf0c4b65f7cebe580693b6, \u003c a47ae40339c1048f519df33ff8840731720f57cb",
          "\u003e= 85acac61096f946a78cf0c4b65f7cebe580693b6, \u003c c8c607a77aab783f2e38cc2e0f24aa6c8f6d200b",
          "\u003e= 85acac61096f946a78cf0c4b65f7cebe580693b6, \u003c cc797d4821c754c701d9714b58bea947e31dbbe0"
        ],
        "fixed_in": [
          "2fc25a4c2e055cd42ea39a1b42c89bfef70e0319",
          "9f39fa07259eb342908e4aa0271dee038a8ce4f8",
          "f3f8ec00cfb8d8e826e30b1138a56355b88e9ba8",
          "c16ac4e173a05011437a2d868f70cc415339065a",
          "1bf8761eb59e94bf7b8c17b2a1ee48f14378b172",
          "a47ae40339c1048f519df33ff8840731720f57cb",
          "c8c607a77aab783f2e38cc2e0f24aa6c8f6d200b",
          "cc797d4821c754c701d9714b58bea947e31dbbe0"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.29"
        ],
        "fixed_in": [
          "0",
          "5.10.253",
          "5.15.203",
          "6.1.168",
          "6.6.134",
          "6.12.81",
          "6.18.22",
          "6.19.12",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 2fc25a4c2e055cd42ea39a1b42c89bfef70e0319 or 9f39fa07259eb342908e4aa0271dee038a8ce4f8 or f3f8ec00cfb8d8e826e30b1138a56355b88e9ba8 or c16ac4e173a05011437a2d868f70cc415339065a or 1bf8761eb59e94bf7b8c17b2a1ee48f14378b172 or a47ae40339c1048f519df33ff8840731720f57cb or c8c607a77aab783f2e38cc2e0f24aa6c8f6d200b or cc797d4821c754c701d9714b58bea947e31dbbe0 or later.",
      "Upgrade Linux to 0 or 5.10.253 or 5.15.203 or 6.1.168 or 6.6.134 or 6.12.81 or 6.18.22 or 6.19.12 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
