Linux Kernel に 解放後使用 (Use-After-Free) (CVE-2025-38377)
概要
Linux Kernel に 脆弱性 (CVE-2025-38377) が存在。悪用されるとシステム全体を乗っ取られる可能性があります。count 経由で攻撃可能。
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
rose: fix dangling neighbour pointers in rose_rt_device_down()
There are two bugs in rose_rt_device_down() that can cause
use-after-free:
-
The loop bound
t->countis modified within the loop, which can
cause the loop to terminate early and miss some entries. -
When removing an entry from the neighbour array, the subsequent entries
are moved up to fill the gap, but the loop indexiis still
incremented, causing the next entry to be skipped.
For example, if a node has three neighbours (A, A, B) with count=3 and A
is being removed, the second A is not checked.
i=0: (A, A, B) -> (A, B) with count=2
^ checked
i=1: (A, B) -> (A, B) with count=2
^ checked (B, not A!)
i=2: (doesn't occur because i < count is false)
This leaves the second A in the array with count=2, but the rose_neigh
structure has been freed. Code that accesses these entries assumes that
the first count entries are valid pointers, causing a use-after-free
when it accesses the dangling pointer.
Fix both issues by iterating over the array in reverse order with a fixed
loop bound. This ensures that all entries are examined and that the removal
of an entry doesn't affect subsequent iterations.
出典: NIST National Vulnerability Database NVD
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
Linux Kernel という製品で、CVE-2025-38377 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに count のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
悪用されるとシステム全体を乗っ取られる可能性があります。重要度は CVSS スコア 8.8/10 です。
対策: ベンダー公式の修正版に更新してください。
心配なら、システム担当者や製品の公式サイトで「Linux Kernel CVE-2025-38377」を検索してください。
CVE-2025-38377 (Linux Kernel) — CWE-416 / CVSS v3 8.8
攻撃ベクター: 隣接ネットワーク / 認証不要 / 被害者操作不要
脆弱箇所: count
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
Linux Kernel に 解放後使用 (use-after-free) (CWE-416) があります。攻撃者は count を経由して脆弱な処理に到達し、認証なしで悪用できます。
Linux Kernel の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: count。
重要度: 重要 (CVSS 8.8/10)。悪用されるとシステム全体を乗っ取られる可能性があります。
ベンダー公式アドバイザリの修正版に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで Linux Kernel を使っているサービスとバージョンを洗い出す。
-
2事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の修正パッケージ
- BellSoft Alpaquita BELL-CVE-2025-38377 linux-lts 修正版: 6.1.147-r0
- Debian DEBIAN-CVE-2025-38377 linux 修正版: 5.10.244-1
- Ubuntu UBUNTU-CVE-2025-38377 linux
参照URL
- advisory lists.debian.org
- advisory lists.debian.org
- patch git.kernel.org
- patch git.kernel.org
- patch git.kernel.org
- patch git.kernel.org
- patch git.kernel.org
- patch git.kernel.org
- patch git.kernel.org
- patch git.kernel.org