本文へ移動
English version →
高 7.8

Linux KernelのXFSに脆弱性、ディスクエラーが誤って属性不在として扱われる

CVE-2025-39835 SecPulse初出

概要

Linux KernelのXFSのxattr処理に脆弱性があり、ディスクの媒体エラーがENODATAとして上位の処理に伝わることがあります。影響を受けるのは5.9以降の一部版で、修正版は5.10.242、5.15.191、6.1.150、6.6.104、6.12.45、6.16.5などです。利用中のカーネルの版を確認し、修正版のあるディストリビューションのカーネル更新を適用してください。

AI要約

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

Kernel という製品で、CVE-2025-39835 という番号がついた弱点 (脆弱性) が見つかりました。
悪用されるとシステム全体を乗っ取られる可能性があります。重要度は CVSS スコア 7.8/10 です。
対策: Kernel を 5.10.242, 5.15.191, 6.1.150, 6.6.104, 6.12.45, 6.16.5 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「Kernel CVE-2025-39835」を検索してください。

CVE-2025-39835 (Kernel) — CVSS v3 7.8
攻撃ベクター: ローカル / 被害者操作不要
修正バージョン: 5.10.242, 5.15.191, 6.1.150, 6.6.104, 6.12.45, 6.16.5 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

何が問題か

Kernel に 脆弱性 (分類未定) があります。

影響範囲

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

重要度

重要度: 重要 (CVSS 7.8/10)。悪用されるとシステム全体を乗っ取られる可能性があります。

修正方法

5.10.242, 5.15.191, 6.1.150, 6.6.104, 6.12.45, 6.16.5 に更新してください。

暫定回避

修正版が未提供時は、影響機能の無効化・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 5.10.242, 5.15.191, 6.1.150, 6.6.104, 6.12.45, 6.16.5

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

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

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

影響パッケージ

パッケージ影響を受ける版 → 修正版
LinuxKernel
5.9.0 以上 5.10.242 未満→ 5.10.242
5.11.0 以上 5.15.191 未満→ 5.15.191
5.16.0 以上 6.1.150 未満→ 6.1.150
6.2.0 以上 6.6.104 未満→ 6.6.104
6.7.0 以上 6.12.45 未満→ 6.12.45
6.13.0 以上 6.16.5 未満→ 6.16.5
LinuxLinux —

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

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

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

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

xfs: do not propagate ENODATA disk errors into xattr code

ENODATA (aka ENOATTR) has a very specific meaning in the xfs xattr code;
namely, that the requested attribute name could not be found.

However, a medium error from disk may also return ENODATA. At best,
this medium error may escape to userspace as "attribute not found"
when in fact it's an IO (disk) error.

At worst, we may oops in xfs_attr_leaf_get() when we do:

error = xfs_attr_leaf_hasname(args, &bp);
if (error == -ENOATTR)  {
	xfs_trans_brelse(args->trans, bp);
	return error;
}

because an ENODATA/ENOATTR error from disk leaves us with a null bp,
and the xfs_trans_brelse will then null-deref it.

As discussed on the list, we really need to modify the lower level
IO functions to trap all disk errors and ensure that we don't let
unique errors like this leak up into higher xfs functions - many
like this should be remapped to EIO.

However, this patch directly addresses a reported bug in the xattr
code, and should be safe to backport to stable kernels. A larger-scope
patch to handle more unique errors at lower levels can follow later.

(Note, prior to 07120f1abdff we did not oops, but we did return the
wrong error code to userspace.)

出典: NIST National Vulnerability Database NVD GitHub Advisory

参照URL

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