Skip to main content
Network Thinking Solutions Logo

CVE-2025-38478

In the Linux kernel, the following vulnerability has been resolved: comedi: Fix initialization of data for instructions that write to subdevice Some Comedi subdevice instruction handlers are known to access instruction data elements beyond the first `insn->n` elements in some cases.

All CVEs
CVE-2025-38478Published 7/28/2025

In the Linux kernel, the following vulnerability has been resolved: comedi: Fix initialization of data for instructions that write to subdevice Some Comedi subdevice instruction handlers are known to access instruction data elements beyond the first `insn->n` elements in some cases.

Vendor advisory
CVSS7.8High

Overview

In the Linux kernel, the following vulnerability has been resolved: comedi: Fix initialization of data for instructions that write to subdevice Some Comedi subdevice instruction handlers are known to access instruction data elements beyond the first `insn->n` elements in some cases. The `do_insn_ioctl()` and `do_insnlist_ioctl()` functions allocate at least `MIN_SAMPLES` (16) data elements to deal with this, but they do not initialize all of that. For Comedi instruction codes that write to the subdevice, the first `insn->n` data elements are copied from user-space, but the remaining elements are left uninitialized. That could be a problem if the subdevice instruction handler reads the uninitialized data. Ensure that the first `MIN_SAMPLES` elements are initialized before calling these instruction handlers, filling the uncopied elements with 0. For `do_insnlist_ioctl()`, the same data buffer elements are used for handling a list of instructions, so ensure the first `MIN_SAMPLES` elements are initialized for each instruction that writes to the subdevice.

Published
7/28/2025
Last modified
10/15/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 2.6.29, < 5.4.297

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.241

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.190

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.147

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.100

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.40

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.15.8

Verify advisory

Source
linux kernel
linux
6.16

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
debian linux
debian
11.0

Verify advisory

Source
Linux
Linux
≥ ed9eccbe8970f6eedc1b978c157caf1251a896d4, < 6f38c6380c3b38a05032b8881e41137385a6ce02

Verify advisory

Source
Linux
Linux
≥ ed9eccbe8970f6eedc1b978c157caf1251a896d4, < 13e4d9038a1e869445a996a3f604a84ef52fe8f4

Verify advisory

Source
Linux
Linux
≥ ed9eccbe8970f6eedc1b978c157caf1251a896d4, < 020eed5681d0f9bced73970368078a92d6cfaa9c

Verify advisory

Source
Linux
Linux
≥ ed9eccbe8970f6eedc1b978c157caf1251a896d4, < d3436638738ace8f101af7bdee2eae1bc38e9b29

Verify advisory

Source
Linux
Linux
≥ ed9eccbe8970f6eedc1b978c157caf1251a896d4, < 673ee92bd2d31055bca98a1d96b653f5284289c4

Verify advisory

Source
Linux
Linux
≥ ed9eccbe8970f6eedc1b978c157caf1251a896d4, < c42116dc70af6664526f7aa82cf937824ab42649

Verify advisory

Source
Linux
Linux
≥ ed9eccbe8970f6eedc1b978c157caf1251a896d4, < fe8713fb4e4e82a4f91910d9a41bf0613e69a0b9

Verify advisory

Source
Linux
Linux
≥ ed9eccbe8970f6eedc1b978c157caf1251a896d4, < 46d8c744136ce2454aa4c35c138cc06817f92b8e

Verify advisory

Source
Linux
Linux
2.6.29

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.