本文へ移動
English version →
高 8.8

Linux Kernelのksmbdで遠隔からヒープ領域の範囲外書き込みが起きる

CVE-2026-99083 SecPulse初出

概要

Linux Kernelのksmbdで、複合SMB2リクエスト内のSMB2_SESSION_SETUP処理時に応答バッファの残り容量の計算が誤り、カーネルのヒープ領域に範囲外書き込みが発生する脆弱性です。影響を受けるのは6.6.160より前、6.7.0以上6.12.114より前、6.13.0以上6.18.58より前、6.19.0以上7.2.12より前のバージョンです。修正版として6.6.160、6.12.114、6.18.58、7.2.12が公開されているため、利用中のカーネルを更新してください。

AI要約

SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

Linux Kernelのksmbdで、複合SMB2リクエスト内のSMB2_SESSION_SETUP処理時に応答バッファの残り容量の計算が誤り、カーネルのヒープ領域に範囲外書き込みが発生する脆弱性です。影響を受けるのは6.6.160より前、6.7.0以上6.12.114より前、6.13.0以上6.18.58より前、6.19.0以上7.2.12より前のバージョンです。修正版として6.6.160、6.12.114、6.18.58、7.2.12が公開されているため、利用中のカーネルを更新してください。

影響パッケージ

パッケージ影響を受ける版 → 修正版
LinuxLinux —
LinuxKernel
5.15.145 以上 5.15.224 未満→ 5.15.224
6.1.40 以上 6.1.191 未満→ 6.1.191
6.4.5 以上 6.5 未満→ 6.5
6.5.0 以上 6.6.160 未満→ 6.6.160
6.7.0 以上 6.12.114 未満→ 6.12.114
6.13.0 以上 6.18.58 未満→ 6.18.58
6.19.0 以上 7.2.12 未満→ 7.2.12

ディストリビューション別の修正状況

各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。

原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

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

ksmbd: fix heap out-of-bounds write in krb5_authenticate()

In krb5_authenticate(), out_len is calculated to determine available
headroom in response_buf for the incoming Kerberos AP-REP token. However,
when SMB2_SESSION_SETUP is processed as a non-first element of a compounded
SMB2 request, the calculation omits work->next_smb2_rsp_hdr_off.

This causes out_len to overstate remaining buffer headroom by
the cumulative size of prior responses in the compound chain. Consequently,
the length check in ksmbd_krb5_authenticate()
(*out_len <= resp->spnego_blob_len) passes erroneously, allowing memcpy()
to write the AP-REP blob past the end of response_buf into adjacent kernel
heap memory.

Fix this by subtracting work->next_smb2_rsp_hdr_off when computing out_len,
ensuring it accurately reflects physical remaining buffer space.

出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく