本文へ移動
English version →
高 7.8

Linux Kernelのfbdevに脆弱性、範囲外書き込みで不正な操作のおそれ

CVE-2025-38685 SecPulse初出

概要

Linux KernelのfbdevにあるCVE-2025-38685は、コンソールとフレームバッファーの対応付け処理で起きる範囲外書き込みの脆弱性です。CVSSは7.8で、影響は5.15.190、6.1.149、6.6.103、6.12.43、6.15.11より前のバージョンに及びます。修正版が公開されているため、利用中のカーネルのバージョンを確認し、修正版への更新を計画してください。

AI要約

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

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

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

何が問題か

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

影響範囲

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

重要度

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

修正方法

5.15.190, 6.1.149, 6.6.103, 6.12.43, 6.15.11, 6.16.2 に更新してください。

暫定回避

修正版が未提供時は、影響機能の無効化・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.15.190, 6.1.149, 6.6.103, 6.12.43, 6.15.11, 6.16.2

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

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

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

影響パッケージ

パッケージ影響を受ける版 → 修正版
LinuxKernel
2.6.12 以上 5.15.190 未満→ 5.15.190
5.16.0 以上 6.1.149 未満→ 6.1.149
6.2.0 以上 6.6.103 未満→ 6.6.103
6.7.0 以上 6.12.43 未満→ 6.12.43
6.13.0 以上 6.15.11 未満→ 6.15.11
6.16.0 以上 6.16.2 未満→ 6.16.2

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

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

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

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

fbdev: Fix vmalloc out-of-bounds write in fast_imageblit

This issue triggers when a userspace program does an ioctl
FBIOPUT_CON2FBMAP by passing console number and frame buffer number.
Ideally this maps console to frame buffer and updates the screen if
console is visible.

As part of mapping it has to do resize of console according to frame
buffer info. if this resize fails and returns from vc_do_resize() and
continues further. At this point console and new frame buffer are mapped
and sets display vars. Despite failure still it continue to proceed
updating the screen at later stages where vc_data is related to previous
frame buffer and frame buffer info and display vars are mapped to new
frame buffer and eventully leading to out-of-bounds write in
fast_imageblit(). This bheviour is excepted only when fg_console is
equal to requested console which is a visible console and updates screen
with invalid struct references in fbcon_putcs().

出典: NIST National Vulnerability Database NVD GitHub Advisory

参照URL

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