PT-2025-31077 · Linux+5 · Linux Kernel+5
Published
2025-07-04
·
Updated
2026-05-26
·
CVE-2025-38481
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The handling of the
COMEDI INSNLIST ioctl allocates a kernel buffer to hold the array of struct comedi insn, using the length from the n insns member of the struct comedi insnlist supplied by the user. The allocation can fail, resulting in a WARNING and a stack dump, if n insns is too large. This issue is addressed by failing with an -EINVAL error if the supplied n insns value is unreasonable. The limit on the n insns value is defined by the MAX INSNS macro, set to the same value as MAX SAMPLES (65536).Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu