LinuxのLinux KernelにおけるTime-of-check Time-of-use (TOCTOU) 競合状態の脆弱性
タイトル LinuxのLinux KernelにおけるTime-of-check Time-of-use (TOCTOU) 競合状態の脆弱性
概要

Linuxカーネルにおいて、以下の脆弱性が修正されました。synapticsのパススルーポートを有効にした際のクラッシュ問題を修正しました。パススルーポートを有効にすると、割り込みがpsmouseドライバーがパススルーポートにバインドする前に発生する可能性がありました。しかし、synapticsサブドライバーは、おそらくパススルーポートに関連付けられたpsmouseインスタンスにアクセスしようとし、応答が1バイトだけかプロトコル全体のパケットかを判断してパススルーポートに転送します。ただし、psmouseインスタンスがまだポートにアタッチされていない場合はクラッシュしてしまう可能性がありました。これを修正するために、open()およびclose()メソッドをポートに導入し、psmouseインスタンスにアクセスする前にポートが開いているかどうかを確認する処理を追加しました。psmouseはpsmouseインスタンスをserioポートインスタンスにアタッチした後にserio_open()を呼び出すため、この方法により潜在的なクラッシュを防止できます。

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

リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

公表日 2025年2月27日0:00
登録日 2026年2月2日19:26
最終更新日 2026年2月2日19:26
CVSS3.0 : 警告
スコア 4.7
ベクター CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
影響を受けるシステム
Linux
Linux Kernel 6.13 以上 6.13.3 未満
Linux Kernel 6.5 以上 6.6.80 未満
Linux Kernel 6.7 以上 6.12.17 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2026年02月02日]
  掲載
2026年2月2日19:26

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

In the Linux kernel, the following vulnerability has been resolved:

Input: synaptics - fix crash when enabling pass-through port

When enabling a pass-through port an interrupt might come before psmouse
driver binds to the pass-through port. However synaptics sub-driver
tries to access psmouse instance presumably associated with the
pass-through port to figure out if only 1 byte of response or entire
protocol packet needs to be forwarded to the pass-through port and may
crash if psmouse instance has not been attached to the port yet.

Fix the crash by introducing open() and close() methods for the port and
check if the port is open before trying to access psmouse instance.
Because psmouse calls serio_open() only after attaching psmouse instance
to serio port instance this prevents the potential crash.

公表日 2025年2月27日12:15
登録日 2025年2月28日4:01
最終更新日 2025年2月27日22:15
関連情報、対策とツール
共通脆弱性一覧