概要
ログインした利用者が、長いディレクトリ名でメモリの範囲外に書き込むおそれ。
元の説明(英語)を読む
In the Linux kernel, the following vulnerability has been resolved: smb: server: size directory name conversion buffer correctly A 2048-byte ASCII directory name needs 4098 bytes when converted to UTF-16, including the terminator. ksmbd_convert_dir_info_name() caps its allocation at PATH_MAX and writes past the end of that buffer. Allocate space for one UTF-16 code unit per input byte plus the terminator. Use kmalloc_array() to check the size calculation.
影響を受ける人
ksmbd で SMB サーバを動かす Linux の管理者
対策
- Linux カーネルを、お使いの系統の修正版(5.15.226・6.1.193・6.6.163・6.12.117・6.18.61・7.3.2)以降に更新する
国内の動き
本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。
海外の動き
本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。
PoC
公開されている PoC は、まだ見つかっていない。