本文へ移動
English version →
高 7.1

Linux Kernelの脆弱性、特定条件で不正な書き込みが起きるおそれ

CVE-2025-39723 SecPulse初出

概要

Linux Kernelのnetfsで、非バッファー書き込みの失敗時のエラー処理に不備があり、メモリ領域への不正な書き込みにつながるおそれがあります。影響を受けるのは6.10以降6.12.44未満と、6.13以降6.16.4未満です。6.12.44または6.16.4以降の修正版へ更新してください。

AI要約

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

Kernel という製品で、CVE-2025-39723 という番号がついた弱点 (脆弱性) が見つかりました。
不正な操作・情報露出のリスクがあります。重要度は CVSS スコア 7.1/10 です。
対策: Kernel を 6.12.44, 6.16.4 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「Kernel CVE-2025-39723」を検索してください。

CVE-2025-39723 (Kernel) — CWE-787 / CVSS v3 7.1
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要
修正バージョン: 6.12.44, 6.16.4 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

何が問題か

Kernel に 境界外書き込み (CWE-787) があります。

影響範囲

Kernel の影響バージョンはベンダーのアドバイザリで確認してください。

重要度

重要度: 重要 (CVSS 7.1/10)。不正な操作・情報露出のリスクがあります。

修正方法

6.12.44, 6.16.4 に更新してください。

暫定回避

修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。

検知方法

Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。

対応アクション

SOC/SREチームが順番に実行すべき具体的なステップとコマンド例

  1. 1
    影響範囲の特定identify
    grep -r 'Kernel' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で Kernel を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    パッチ適用patch
    Upgrade Kernel to 6.12.44, 6.16.4

    ステージング環境で 6.12.44, 6.16.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    事後検証verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

影響パッケージ

パッケージ影響を受ける版 → 修正版
LinuxKernel
6.10.0 以上 6.12.44 未満→ 6.12.44
6.13.0 以上 6.16.4 未満→ 6.16.4

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

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

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

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

netfs: Fix unbuffered write error handling

If all the subrequests in an unbuffered write stream fail, the subrequest
collector doesn't update the stream->transferred value and it retains its
initial LONG_MAX value. Unfortunately, if all active streams fail, then we
take the smallest value of { LONG_MAX, LONG_MAX, ... } as the value to set
in wreq->transferred - which is then returned from ->write_iter().

LONG_MAX was chosen as the initial value so that all the streams can be
quickly assessed by taking the smallest value of all stream->transferred -
but this only works if we've set any of them.

Fix this by adding a flag to indicate whether the value in
stream->transferred is valid and checking that when we integrate the
values. stream->transferred can then be initialised to zero.

This was found by running the generic/750 xfstest against cifs with
cache=none. It splices data to the target file. Once (if) it has used up
all the available scratch space, the writes start failing with ENOSPC.
This causes ->write_iter() to fail. However, it was returning
wreq->transferred, i.e. LONG_MAX, rather than an error (because it thought
the amount transferred was non-zero) and iter_file_splice_write() would
then try to clean up that amount of pipe bufferage - leading to an oops
when it overran. The kernel log showed:

CIFS: VFS: Send error in write = -28

followed by:

BUG: kernel NULL pointer dereference,…

出典: NIST National Vulnerability Database NVD

参照URL

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