Linux Kernelの cnic ドライバーに解放後使用の脆弱性、情報漏えいや不安定化のおそれ
概要
Linux Kernelのcnicドライバーで、遅延処理の終了を待たずにデバイス情報を解放してしまう解放後使用の脆弱性が見つかりました。CVSSは7.8で、影響を受けるのは5.4.300より前、5.10.245より前、5.15.194より前、6.1.154より前、6.6.108より前などの版です。修正版として5.4.300、5.10.245、5.15.194、6.1.154、6.6.108、6.12.49が公開されているため、利用中のカーネルの版を確認し、修正版への更新を検討してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Kernel という製品で、CVE-2025-39945 という番号がついた弱点 (脆弱性) が見つかりました。
悪用されるとシステム全体を乗っ取られる可能性があります。重要度は CVSS スコア 7.8/10 です。
対策: Kernel を 5.4.300, 5.10.245, 5.15.194, 6.1.154, 6.6.108, 6.12.49, 6.16.9 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「Kernel CVE-2025-39945」を検索してください。
CVE-2025-39945 (Kernel) — CWE-416 / CVSS v3 7.8
攻撃ベクター: ローカル / 被害者操作不要
修正バージョン: 5.4.300, 5.10.245, 5.15.194, 6.1.154, 6.6.108, 6.12.49, 6.16.9 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
Kernel に 解放後使用 (use-after-free) (CWE-416) があります。
Kernel の影響バージョンはベンダーのアドバイザリで確認してください。
重要度: 重要 (CVSS 7.8/10)。悪用されるとシステム全体を乗っ取られる可能性があります。
5.4.300, 5.10.245, 5.15.194, 6.1.154, 6.6.108, 6.12.49, 6.16.9 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
grep -r 'Kernel' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
Kernelを grep し、稼働しているサービス・バージョンを把握する。 -
2
パッチ適用patch
Upgrade Kernel to 5.4.300, 5.10.245, 5.15.194, 6.1.154, 6.6.108, 6.12.49, 6.16.9ステージング環境で 5.4.300, 5.10.245, 5.15.194, 6.1.154, 6.6.108, 6.12.49, 6.16.9 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxKernel |
2.6.37 以上 5.4.300 未満→ 5.4.300 5.5.0 以上 5.10.245 未満→ 5.10.245 5.11.0 以上 5.15.194 未満→ 5.15.194 5.16.0 以上 6.1.154 未満→ 6.1.154 6.2.0 以上 6.6.108 未満→ 6.6.108 6.7.0 以上 6.12.49 未満→ 6.12.49 6.13.0 以上 6.16.9 未満→ 6.16.9 |
5.4.300 5.10.245 5.15.194 6.1.154 6.6.108 6.12.49 6.16.9 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2025-39945 linux-lts 修正版あり
- Debian DEBIAN-CVE-2025-39945 linux-6.1, linux 修正版あり
- Ubuntu UBUNTU-CVE-2025-39945 linux-xilinx-zynqmp, linux-xilinx, linux-riscv-6.8 ほか 46 件 修正版あり
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
cnic: Fix use-after-free bugs in cnic_delete_task
The original code uses cancel_delayed_work() in cnic_cm_stop_bnx2x_hw(),
which does not guarantee that the delayed work item 'delete_task' has
fully completed if it was already running. Additionally, the delayed work
item is cyclic, the flush_workqueue() in cnic_cm_stop_bnx2x_hw() only
blocks and waits for work items that were already queued to the
workqueue prior to its invocation. Any work items submitted after
flush_workqueue() is called are not included in the set of tasks that the
flush operation awaits. This means that after the cyclic work items have
finished executing, a delayed work item may still exist in the workqueue.
This leads to use-after-free scenarios where the cnic_dev is deallocated
by cnic_free_dev(), while delete_task remains active and attempt to
dereference cnic_dev in cnic_delete_task().
A typical race condition is illustrated below:
CPU 0 (cleanup) | CPU 1 (delayed work callback)
cnic_netdev_event() |
cnic_stop_hw() | cnic_delete_task()
cnic_cm_stop_bnx2x_hw() | ...
cancel_delayed_work() | /* the queue_delayed_work()
flush_workqueue() | executes after flush_workqueue()*/
| queue_delayed_work()
cnic_free_dev(dev)//free | cnic_delete_task() //new instance
| dev = cp->dev; //use
Replace cancel_delayed_work() w…
出典: NIST National Vulnerability Database NVD
参照URL
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org