Linux kernelのstmmacで整数アンダーフローが発生しメモリ情報が漏えいするおそれ
概要
Linux kernelのstmmacドライバーのchainモードで整数アンダーフローが起き、任意のカーネルメモリがDMAに割り当てられるおそれがあります。影響を受けるのは5.10.253より前の5.10系、5.15.203より前の5.15系、6.1.169より前の6.1系、6.6.135より前の6.6系、6.12.82より前の6.12系などです。修正版の5.10.253、5.15.203、6.1.169、6.6.135、6.12.82、6.18.23以降へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Kernel という製品で、CVE-2026-31649 という番号がついた弱点 (脆弱性) が見つかりました。
悪用されるとシステム全体を乗っ取られる可能性があります。重要度は CVSS スコア 9.8/10 です。
対策: Kernel を 5.10.253, 5.15.203, 6.1.169, 6.6.135, 6.12.82, 6.18.23, 6.19.13 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「Kernel CVE-2026-31649」を検索してください。
CVE-2026-31649 (Kernel) — CWE-190 / CVSS v3 9.8
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
修正バージョン: 5.10.253, 5.15.203, 6.1.169, 6.6.135, 6.12.82, 6.18.23, 6.19.13 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
Kernel に 脆弱性 (CWE-190) があります。
Kernel の影響バージョンはベンダーのアドバイザリで確認してください。
重要度: 最重要 (CVSS 9.8/10)。悪用されるとシステム全体を乗っ取られる可能性があります。
5.10.253, 5.15.203, 6.1.169, 6.6.135, 6.12.82, 6.18.23, 6.19.13 に更新してください。
修正版が未提供時は、影響機能の無効化・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.169, 6.6.135, 6.12.82, 6.18.23, 6.19.13ステージング環境で 5.10.253, 5.15.203, 6.1.169, 6.6.135, 6.12.82, 6.18.23, 6.19.13 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxKernel |
3.2.0 以上 5.10.253 未満→ 5.10.253 5.11.0 以上 5.15.203 未満→ 5.15.203 5.16.0 以上 6.1.169 未満→ 6.1.169 6.2.0 以上 6.6.135 未満→ 6.6.135 6.7.0 以上 6.12.82 未満→ 6.12.82 6.13.0 以上 6.18.23 未満→ 6.18.23 6.19.0 以上 6.19.13 未満→ 6.19.13 |
5.10.253 5.15.203 6.1.169 6.6.135 6.12.82 6.18.23 6.19.13 |
| LinuxLinux | — | 記載なし |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2026-31649 linux-lts 修正版あり
- Debian DEBIAN-CVE-2026-31649 linux-6.1, linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-31649 linux-xilinx-zynqmp, linux-xilinx, linux-vmware ほか 69 件 修正版あり
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
net: stmmac: fix integer underflow in chain mode
The jumbo_frm() chain-mode implementation unconditionally computes
len = nopaged_len - bmax;
where nopaged_len = skb_headlen(skb) (linear bytes only) and bmax is
BUF_SIZE_8KiB or BUF_SIZE_2KiB. However, the caller stmmac_xmit()
decides to invoke jumbo_frm() based on skb->len (total length including
page fragments):
is_jumbo = stmmac_is_jumbo_frm(priv, skb->len, enh_desc);
When a packet has a small linear portion (nopaged_len <= bmax) but a
large total length due to page fragments (skb->len > bmax), the
subtraction wraps as an unsigned integer, producing a huge len value
(~0xFFFFxxxx). This causes the while (len != 0) loop to execute
hundreds of thousands of iterations, passing skb->data + bmax * i
pointers far beyond the skb buffer to dma_map_single(). On IOMMU-less
SoCs (the typical deployment for stmmac), this maps arbitrary kernel
memory to the DMA engine, constituting a kernel memory disclosure and
potential memory corruption from hardware.
Fix this by introducing a buf_len local variable clamped to
min(nopaged_len, bmax). Computing len = nopaged_len - buf_len is then
always safe: it is zero when the linear portion fits within a single
descriptor, causing the while (len != 0) loop to be skipped naturally,
and the fragment loop in stmmac_xmit() handles page fragments afterward.
出典: 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