製品・ソフトウェアに関する情報
Debian等の複数ベンダの製品における不特定の脆弱性
Title Debian等の複数ベンダの製品における不特定の脆弱性
Summary

Linuxカーネルのcomediサブシステムでは、COMEDI_INSNLIST ioctlのn_insns値が大きすぎる場合、適切に失敗するよう修正されました。この変更により、不正なn_insns値が指定された場合、割り当てエラーやスタックダンプが発生せず、-EINVALエラーとして安全に処理を拒否するようになります。n_insnsの上限値はMAX_INSNSとして定義されており、MAX_SAMPLES(65536)と同じ値に設定されています。comedi命令は、nが最低1である必要があります。

Possible impacts 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date July 28, 2025, midnight
Registration Date Jan. 9, 2026, 4:23 p.m.
Last Update Jan. 9, 2026, 4:23 p.m.
CVSS3.0 : 警告
Score 5.5
Vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected System
Debian
Debian GNU/Linux 11.0
Linux
Linux Kernel 2.6.29 以上 5.4.297 未満
Linux Kernel 5.11 以上 5.15.190 未満
Linux Kernel 5.16 以上 6.1.147 未満
Linux Kernel 5.5 以上 5.10.241 未満
Linux Kernel 6.13 以上 6.15.8 未満
Linux Kernel 6.16
Linux Kernel 6.2 以上 6.6.100 未満
Linux Kernel 6.7 以上 6.12.40 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年01月09日]
  掲載
Jan. 9, 2026, 4:23 p.m.

NVD Vulnerability Information
CVE-2025-38481
Summary

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.

Publication Date July 28, 2025, 9:15 p.m.
Registration Date July 29, 2025, 4 a.m.
Last Update July 28, 2025, 9:15 p.m.
Related information, measures and tools
Common Vulnerabilities List