Linux カーネルの BPF インタプリタで範囲外メモリアクセスのおそれ
概要
Linux カーネルの BPF インタプリタにおける符号付き 32 ビット除算・剰余の処理で、未定義動作により計算結果が誤り、検証器との不整合を悪用されて範囲外のマップ値アクセスが起きるおそれがあります。影響を受けるのは 6.6 系から 6.19 系の一部版です。修正版として 6.6.131、6.12.80、6.18.21、6.19.11 以降が公開されているため、利用中の版をこれらへ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Kernel という製品で、CVE-2026-31525 という番号がついた弱点 (脆弱性) が見つかりました。
悪用されるとシステム全体を乗っ取られる可能性があります。重要度は CVSS スコア 7.8/10 です。
対策: Kernel を 6.6.131, 6.12.80, 6.18.21, 6.19.11 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「Kernel CVE-2026-31525」を検索してください。
CVE-2026-31525 (Kernel) — CWE-190 / CVSS v3 7.8
攻撃ベクター: ローカル / 被害者操作不要
修正バージョン: 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-190) があります。
Kernel の影響バージョンはベンダーのアドバイザリで確認してください。
重要度: 重要 (CVSS 7.8/10)。悪用されるとシステム全体を乗っ取られる可能性があります。
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 6.6.131, 6.12.80, 6.18.21, 6.19.11ステージング環境で 6.6.131, 6.12.80, 6.18.21, 6.19.11 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxKernel |
6.6.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 |
6.6.131 6.12.80 6.18.21 6.19.11 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2026-31525 linux-lts 修正版あり
- Debian DEBIAN-CVE-2026-31525 linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-31525 linux-xilinx, linux-vmware, linux-riscv-6.8 ほか 31 件 修正版あり
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
bpf: Fix undefined behavior in interpreter sdiv/smod for INT_MIN
The BPF interpreter's signed 32-bit division and modulo handlers use
the kernel abs() macro on s32 operands. The abs() macro documentation
(include/linux/math.h) explicitly states the result is undefined when
the input is the type minimum. When DST contains S32_MIN (0x80000000),
abs((s32)DST) triggers undefined behavior and returns S32_MIN unchanged
on arm64/x86. This value is then sign-extended to u64 as
0xFFFFFFFF80000000, causing do_div() to compute the wrong result.
The verifier's abstract interpretation (scalar32_min_max_sdiv) computes
the mathematically correct result for range tracking, creating a
verifier/interpreter mismatch that can be exploited for out-of-bounds
map value access.
Introduce abs_s32() which handles S32_MIN correctly by casting to u32
before negating, avoiding signed overflow entirely. Replace all 8
abs((s32)...) call sites in the interpreter's sdiv32/smod32 handlers.
s32 is the only affected case -- the s64 division/modulo handlers do
not use abs().
出典: NIST National Vulnerability Database NVD GitHub Advisory
参照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 github.com