製品・ソフトウェアに関する情報
LinuxのLinux Kernelにおける不特定の脆弱性
Title LinuxのLinux Kernelにおける不特定の脆弱性
Summary

Linuxカーネルにおいて、以下の脆弱性が修正されました。ksmbdにおける再接続時に耐久ハンドルの所有者を検証する機能が追加されました。現状、ksmbdは耐久ハンドルに再接続しようとするユーザーが、元々ファイルを開いたユーザーと同一かどうかを確認していませんでした。これにより、認証済みの任意のユーザーが永続IDを予測またはブルートフォースすることで、孤立した耐久ハンドルを乗っ取ることが可能でした。MS-SMB2に従い、サーバーは再接続要求のSecurityContextが既存のオープンに関連付けられたSecurityContextと一致することを必ず検証しなければなりません。ksmbd_fileにdurable_owner構造体を追加し、元のオープナーのUID、GID、およびアカウント名を格納しています。ファイルハンドルが孤立した場合に所有者情報を取得し、SMB2_CREATE (DHnC)時に要求者の身元を検証するためにksmbd_vfs_compare_durable_owner()を実装しました。

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

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

Publication Date May 1, 2026, midnight
Registration Date May 8, 2026, 12:24 p.m.
Last Update May 8, 2026, 12:24 p.m.
CVSS3.0 : 重要
Score 8.8
Vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected System
Linux
Linux Kernel 6.19 以上 7.0.2 未満
Linux Kernel 6.6.32 以上 6.7 未満
Linux Kernel 6.9 以上 6.18.25 未満
Linux Kernel 7.1
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2026年05月08日]
  掲載
May 8, 2026, 12:24 p.m.

NVD Vulnerability Information
CVE-2026-31717
Summary

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

ksmbd: validate owner of durable handle on reconnect

Currently, ksmbd does not verify if the user attempting to reconnect
to a durable handle is the same user who originally opened the file.
This allows any authenticated user to hijack an orphaned durable handle
by predicting or brute-forcing the persistent ID.

According to MS-SMB2, the server MUST verify that the SecurityContext
of the reconnect request matches the SecurityContext associated with
the existing open.
Add a durable_owner structure to ksmbd_file to store the original opener's
UID, GID, and account name. and catpure the owner information when a file
handle becomes orphaned. and implementing ksmbd_vfs_compare_durable_owner()
to validate the identity of the requester during SMB2_CREATE (DHnC).

Publication Date May 1, 2026, 11:16 p.m.
Registration Date May 2, 2026, 4:06 a.m.
Last Update May 7, 2026, 6:08 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.6.32 6.7
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.9 6.18.25
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 7.0.2
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List