Debian等の複数ベンダの製品における不特定の脆弱性
タイトル Debian等の複数ベンダの製品における不特定の脆弱性
概要

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

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

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

公表日 2025年7月28日0:00
登録日 2026年1月9日16:23
最終更新日 2026年1月9日16:23
CVSS3.0 : 警告
スコア 5.5
ベクター CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
影響を受けるシステム
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 (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2026年01月09日]
  掲載
2026年1月9日16:23

NVD脆弱性情報
CVE-2025-38481
概要

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.

公表日 2025年7月28日21:15
登録日 2025年7月29日4:00
最終更新日 2025年7月28日21:15
関連情報、対策とツール
共通脆弱性一覧