Description
In the Linux kernel, the following vulnerability has been resolved:

comedi: me4000: Fix potential overrun of firmware buffer

`me4000_xilinx_download()` loads the firmware that was requested by
`request_firmware()`. It is possible for it to overrun the source
buffer because it blindly trusts the file format. It reads a data
stream length from the first 4 bytes into variable `file_length` and
reads the data stream contents of length `file_length` from offset 16
onwards.

Add a test to ensure that the supplied firmware is long enough to
contain the header and the data stream. On failure, log an error and
return `-EINVAL`.

Note: The firmware loading was totally broken before commit ac584af59945
("staging: comedi: me4000: fix firmware downloading"), but that is the
most sensible target for this fix.
Published: 2026-05-01
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is located in the comedi me4000 driver of the Linux kernel. During the firmware download process, the driver reads a four‑byte length field from the beginning of the firmware file and then copies that many bytes starting at offset 16 into a buffer allocated for the firmware data. Because the code does not verify that the firmware file is large enough to contain the entire length field and data stream, a crafted firmware image can cause the buffer to be overrun. The CVE description states that this can lead to kernel memory corruption, potentially resulting in a crash or other undefined kernel behavior. No explicit impact such as privilege escalation is mentioned in the description.

Affected Systems

All Linux kernel versions that include the comedi me4000 driver and that have not yet integrated the fix are affected. The patch was applied in commit ac584af59945, so any kernel build that contains this commit or a later version is considered fixed.

Risk and Exploitability

The CVSS score is not provided and no EPSS value is available. The vulnerability is not listed in CISA's KEV catalog, indicating that there is no known widespread exploitation. Based on the nature of the flaw—a kernel buffer overrun—security analysts generally consider it a high‑severity issue. The likely attack vector is a local attacker who can supply a malicious firmware image to a me4000 device; this inference is based on the fact that the vulnerability is triggered during firmware loading.

Generated by OpenCVE AI on May 2, 2026 at 11:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the comedi firmware buffer check (commit ac584af59945 or later).
  • If an immediate kernel update cannot be performed, disable the me4000 driver or prevent firmware loading for the device until the patch is applied.
  • If disabling the driver is not feasible, isolate the me4000 device in a dedicated system or container to restrict potential kernel compromise.

Generated by OpenCVE AI on May 2, 2026 at 11:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4561-1 linux-6.1 security update
Debian DSA Debian DSA DSA-6243-1 linux security update
History

Sat, 02 May 2026 00:15:00 +0000


Fri, 01 May 2026 14:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: comedi: me4000: Fix potential overrun of firmware buffer `me4000_xilinx_download()` loads the firmware that was requested by `request_firmware()`. It is possible for it to overrun the source buffer because it blindly trusts the file format. It reads a data stream length from the first 4 bytes into variable `file_length` and reads the data stream contents of length `file_length` from offset 16 onwards. Add a test to ensure that the supplied firmware is long enough to contain the header and the data stream. On failure, log an error and return `-EINVAL`. Note: The firmware loading was totally broken before commit ac584af59945 ("staging: comedi: me4000: fix firmware downloading"), but that is the most sensible target for this fix.
Title comedi: me4000: Fix potential overrun of firmware buffer
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-01T14:14:40.844Z

Reserved: 2026-03-09T15:48:24.138Z

Link: CVE-2026-31747

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-01T15:16:37.463

Modified: 2026-05-01T15:24:14.893

Link: CVE-2026-31747

cve-icon Redhat

Severity :

Publid Date: 2026-05-01T00:00:00Z

Links: CVE-2026-31747 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-02T11:45:41Z

Weaknesses