English version →
カテゴリ
CVE-2026-31477

Kernel の脆弱性 (CVE-2026-31477)

概要

Kernel に 脆弱性 (CVE-2026-31477) が存在。不正な操作・情報露出のリスクがあります。対策: 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11 以上に更新。

原文の説明

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

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

ksmbd: fix memory leaks and NULL deref in smb2_lock()

smb2_lock() has three error handling issues after list_del() detaches
smb_lock from lock_list at no_check_cl:

  1. If vfs_lock_file() returns an unexpected error in the non-UNLOCK
    path, goto out leaks smb_lock and its flock because the out:
    handler only iterates lock_list and rollback_list, neither of
    which contains the detached smb_lock.

  2. If vfs_lock_file() returns -ENOENT in the UNLOCK path, goto out
    leaks smb_lock and flock for the same reason. The error code
    returned to the dispatcher is also stale.

  3. In the rollback path, smb_flock_init() can return NULL on
    allocation failure. The result is dereferenced unconditionally,
    causing a kernel NULL pointer dereference. Add a NULL check to
    prevent the crash and clean up the bookkeeping; the VFS lock
    itself cannot be rolled back without the allocation and will be
    released at file or connection teardown.

Fix cases 1 and 2 by hoisting the locks_free_lock()/kfree() to before
the if(!rc) check in the UNLOCK branch so all exit paths share one
free site, and by freeing smb_lock and flock before goto out in the
non-UNLOCK branch. Propagate the correct error code in both cases.
Fix case 3 by wrapping the VFS unlock in an if(rlock) guard and adding
a NULL check for locks_free_lock(rlock) in the shared cleanup.

Found via call-graph analysis using sqry.

出典: OSV.dev (Open Source Vulnerabilities) NVD OSV

自動生成の要約

取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。

Kernel という製品で、CVE-2026-31477 という番号がついた弱点 (脆弱性) が見つかりました。
不正な操作・情報露出のリスクがあります。
対策: Kernel を 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「Kernel CVE-2026-31477」を検索してください。

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

❓ 何が問題か

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

📍 影響範囲

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

🔥 重要度

重要度: ?。不正な操作・情報露出のリスクがあります。

🔧 修正方法

6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11 に更新してください。

🛡️ 暫定回避

修正版が未提供時は、影響機能の無効化・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.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11

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

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

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

影響パッケージ

Linux Kernel
[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"6.1.168"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.131"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.80"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.21"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.11"}]}]

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

各ディストリビューションが公開している、この CVE の修正パッケージ

参照URL

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