Linux カーネルのSMCで二重解放によりメモリ破壊の恐れ
概要
Linux カーネルのSMCモジュールで、tee() によるパイプバッファ複製時にメモリが二重解放される脆弱性です。ローカルでメモリが破壊され、システムが停止するおそれがあります。影響は 5.10.253、5.15.203、6.1.168、6.6.131、6.12.80 より前の各系統で、これら以降の版では修正されています。カーネルを修正版へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Kernel という製品で、CVE-2026-31507 という番号がついた弱点 (脆弱性) が見つかりました。
悪用されるとシステム全体を乗っ取られる可能性があります。重要度は CVSS スコア 7.8/10 です。
対策: Kernel を 5.10.253, 5.15.203, 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「Kernel CVE-2026-31507」を検索してください。
CVE-2026-31507 (Kernel) — CWE-415 / CVSS v3 7.8
攻撃ベクター: ローカル / 被害者操作不要
修正バージョン: 5.10.253, 5.15.203, 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 に 脆弱性 (CWE-415) があります。
Kernel の影響バージョンはベンダーのアドバイザリで確認してください。
重要度: 重要 (CVSS 7.8/10)。悪用されるとシステム全体を乗っ取られる可能性があります。
5.10.253, 5.15.203, 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
影響範囲の特定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.253, 5.15.203, 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11ステージング環境で 5.10.253, 5.15.203, 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxKernel |
4.18.0 以上 5.10.253 未満→ 5.10.253 5.11.0 以上 5.15.203 未満→ 5.15.203 5.16.0 以上 6.1.168 未満→ 6.1.168 6.2.0 以上 6.6.131 未満→ 6.6.131 6.7.0 以上 6.12.80 未満→ 6.12.80 6.13.0 以上 6.18.21 未満→ 6.18.21 6.19.0 以上 6.19.11 未満→ 6.19.11 |
5.10.253 5.15.203 6.1.168 6.6.131 6.12.80 6.18.21 6.19.11 |
| LinuxLinux | — | 記載なし |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2026-31507 linux-lts 修正版あり
- Debian DEBIAN-CVE-2026-31507 linux-6.1, linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-31507 linux-xilinx-zynqmp, linux-xilinx, linux-vmware ほか 47 件 修正版あり
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
net/smc: fix double-free of smc_spd_priv when tee() duplicates splice pipe buffer
smc_rx_splice() allocates one smc_spd_priv per pipe_buffer and stores
the pointer in pipe_buffer.private. The pipe_buf_operations for these
buffers used .get = generic_pipe_buf_get, which only increments the page
reference count when tee(2) duplicates a pipe buffer. The smc_spd_priv
pointer itself was not handled, so after tee() both the original and the
cloned pipe_buffer share the same smc_spd_priv *.
When both pipes are subsequently released, smc_rx_pipe_buf_release() is
called twice against the same object:
1st call: kfree(priv) sock_put(sk) smc_rx_update_cons() [correct]
2nd call: kfree(priv) sock_put(sk) smc_rx_update_cons() [UAF]
KASAN reports a slab-use-after-free in smc_rx_pipe_buf_release(), which
then escalates to a NULL-pointer dereference and kernel panic via
smc_rx_update_consumer() when it chases the freed priv->smc pointer:
BUG: KASAN: slab-use-after-free in smc_rx_pipe_buf_release+0x78/0x2a0
Read of size 8 at addr ffff888004a45740 by task smc_splice_tee_/74
Call Trace:
dump_stack_lvl+0x53/0x70
print_report+0xce/0x650
kasan_report+0xc6/0x100
smc_rx_pipe_buf_release+0x78/0x2a0
free_pipe_info+0xd4/0x130
pipe_release+0x142/0x160
__fput+0x1c6/0x490
__x64_sys_close+0x4f/0x90
do_syscall_64+0xa6/0x1a0
entry_SYSCALL_64_after_hwframe+0x77/0x7f
BUG: kernel NU…
出典: 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 git.kernel.org
- web cert-portal.siemens.com
- web cert-portal.siemens.com
- web github.com
- web cert-portal.siemens.com