Linux カーネルのmlxswドライバーで解放済みメモリを参照する脆弱性
概要
Linux カーネルの mlxsw ドライバーで、隣接エントリへの参照カウントが不適切だったため、解放済みメモリを参照する問題があります。影響を受けるのは 5.10.248 より前の 5.10 系、5.15.198 より前の 5.15 系、6.1.160 より前の 6.1 系、6.6.120 より前の 6.6 系、6.12.64 より前の 6.12 系などです。修正版が公開されているため、各ディストリビューションが提供する最新のカーネルに更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Kernel という製品で、CVE-2025-68801 という番号がついた弱点 (脆弱性) が見つかりました。
悪用されるとシステム全体を乗っ取られる可能性があります。重要度は CVSS スコア 7.8/10 です。
対策: Kernel を 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「Kernel CVE-2025-68801」を検索してください。
CVE-2025-68801 (Kernel) — CWE-416 / CVSS v3 7.8
攻撃ベクター: ローカル / 被害者操作不要
修正バージョン: 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3 (即時適用推奨)
対応方針: 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.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3 に更新してください。
修正版が未提供時は、影響機能の無効化・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.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3ステージング環境で 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxKernel |
4.8.0 以上 5.10.248 未満→ 5.10.248 5.11.0 以上 5.15.198 未満→ 5.15.198 5.16.0 以上 6.1.160 未満→ 6.1.160 6.2.0 以上 6.6.120 未満→ 6.6.120 6.7.0 以上 6.12.64 未満→ 6.12.64 6.13.0 以上 6.18.3 未満→ 6.18.3 |
5.10.248 5.15.198 6.1.160 6.6.120 6.12.64 6.18.3 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2025-68801 linux-lts 修正版あり
- Debian DEBIAN-CVE-2025-68801 linux-6.1, linux 修正版あり
- Ubuntu UBUNTU-CVE-2025-68801 linux-xilinx-zynqmp, linux-xilinx, linux-riscv-6.17 ほか 56 件 修正版あり
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
mlxsw: spectrum_router: Fix neighbour use-after-free
We sometimes observe use-after-free when dereferencing a neighbour [1].
The problem seems to be that the driver stores a pointer to the
neighbour, but without holding a reference on it. A reference is only
taken when the neighbour is used by a nexthop.
Fix by simplifying the reference counting scheme. Always take a
reference when storing a neighbour pointer in a neighbour entry. Avoid
taking a referencing when the neighbour is used by a nexthop as the
neighbour entry associated with the nexthop already holds a reference.
Tested by running the test that uncovered the problem over 300 times.
Without this patch the problem was reproduced after a handful of
iterations.
[1]
BUG: KASAN: slab-use-after-free in mlxsw_sp_neigh_entry_update+0x2d4/0x310
Read of size 8 at addr ffff88817f8e3420 by task ip/3929
CPU: 3 UID: 0 PID: 3929 Comm: ip Not tainted 6.18.0-rc4-virtme-g36b21a067510 #3 PREEMPT(full)
Hardware name: Nvidia SN5600/VMOD0013, BIOS 5.13 05/31/2023
Call Trace:
dump_stack_lvl+0x6f/0xa0
print_address_description.constprop.0+0x6e/0x300
print_report+0xfc/0x1fb
kasan_report+0xe4/0x110
mlxsw_sp_neigh_entry_update+0x2d4/0x310
mlxsw_sp_router_rif_gone_sync+0x35f/0x510
mlxsw_sp_rif_destroy+0x1ea/0x730
mlxsw_sp_inetaddr_port_vlan_event+0xa1/0x1b0
__mlxsw_sp_inetaddr_lag_event+0xcc/0x130
__mlxsw_sp_inetaddr_event+0xf5/0x3c0
mlxsw_sp_router_netdevice…
出典: NIST National Vulnerability Database NVD GitHub Advisory
参照URL
- advisory nvd.nist.gov
- advisory github.com
- 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 github.com