CVE-2025-38481: comedi: Fail COMEDI_INSNLIST ioctl if n_insns is too large
Vulnerability summary
CVE-2025-38481 is a medium (CVSS 5.5) vulnerability in debian debian_linux. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 9.5% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 53 · Related 47Timeline
- 28-07-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: comedi: Fail COMEDI_INSNLIST ioctl if n_insns is too large The handling of the `COMEDI_INSNLIST` ioctl allocates a kernel buffer to hold the array of `struct comedi_insn`, getting the length from the `n_insns` member of the `struct comedi_insnlist` supplied by the user. The allocation will fail with a WARNING and a stack dump if it is too large. Avoid that by failing with an `-EINVAL` error if the supplied `n_insns` value is unreasonable. Define the limit on the `n_insns` value in the `MAX_INSNS` macro. Set this to the same value as `MAX_SAMPLES` (65536), which is the maximum allowed sum of the values of the member `n` in the array of `struct comedi_insn`, and sensible comedi instructions will have an `n` of at least 1.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
10%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.19% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu148 products
- linuxAll versions (No fix recorded) | < 5.15.0-163.173 | < 6.8.0-100.100
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1097.104 | < 6.8.0-1046.49
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linux< 6.1.147-1 | < 6.12.41-1 | < 6.16.3-1
- debian_linuxEOL11.0
Linux2 products
- linux≥ ed9eccbe8970f6eedc1b978c157caf1251a896d4, < 454d732dfd0aef7d7aa950c409215ca06d717e93 | ≥ ed9eccbe8970f6eedc1b978c157caf1251a896d4, < c68257588e87f45530235701a42496b7e9e56adb | ≥ ed9eccbe8970f6eedc1b978c157caf1251a896d4, < 69dc06b9514522de532e997a21d035cd29b0db44 | ≥ ed9eccbe8970f6eedc1b978c157caf1251a896d4, < d4c73ce13f5b5a0fe0319f1f352ff602f0ace8e3 | ≥ ed9eccbe8970f6eedc1b978c157caf1251a896d4, < c9d3d9667443caafa804cd07940aeaef8e53aa90 | ≥ ed9eccbe8970f6eedc1b978c157caf1251a896d4, < 992d600f284e719242a434166e86c1999649b71c | ≥ ed9eccbe8970f6eedc1b978c157caf1251a896d4, < e3b8322cc8081d142ee4c1a43e1d702bdba1ed76 | ≥ ed9eccbe8970f6eedc1b978c157caf1251a896d4, < 08ae4b20f5e82101d77326ecab9089e110f224cc | 2.6.29
- linux_kernel≥ 2.6.29, < 5.4.297 | ≥ 5.5, < 5.10.241 | ≥ 5.11, < 5.15.190 | ≥ 5.16, < 6.1.147 | ≥ 6.2, < 6.6.100 | ≥ 6.7, < 6.12.40 | ≥ 6.13, < 6.15.8 | 6.16:rc1 | 6.16:rc2 | 6.16:rc3 | 6.16:rc4 | 6.16:rc5 | 6.16:rc6
3 vendors · 152 products
References
46 links- lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory
- lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlThird Party Advisory