製品・ソフトウェアに関する情報
LinuxのLinux KernelにおけるTime-of-check Time-of-use (TOCTOU) 競合状態の脆弱性
Title LinuxのLinux KernelにおけるTime-of-check Time-of-use (TOCTOU) 競合状態の脆弱性
Summary

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

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

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

Publication Date Feb. 27, 2025, midnight
Registration Date Feb. 2, 2026, 7:26 p.m.
Last Update Feb. 2, 2026, 7:26 p.m.
CVSS3.0 : 警告
Score 4.7
Vector CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected System
Linux
Linux Kernel 6.13 以上 6.13.3 未満
Linux Kernel 6.5 以上 6.6.80 未満
Linux Kernel 6.7 以上 6.12.17 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2026年02月02日]
  掲載
Feb. 2, 2026, 7:26 p.m.

NVD Vulnerability Information
CVE-2025-21746
Summary

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.

Publication Date Feb. 27, 2025, 12:15 p.m.
Registration Date Feb. 28, 2025, 4:01 a.m.
Last Update Feb. 27, 2025, 10:15 p.m.
Related information, measures and tools
Common Vulnerabilities List