Linux Kernelのnetfilterで範囲外メモリを読み取られる脆弱性
概要
netfilterのnf_log処理で、MACヘッダーが未設定のパケットを記録する際に範囲外のメモリを読み取ってしまう脆弱性です。影響を受けるのは多くのLinux Kernelの版で、5.10.261、5.15.210、6.1.176、6.6.143、6.12.94、6.18.36などの修正版が公開されています。利用中のカーネルを修正版に更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Kernel という製品で、CVE-2026-52942 という番号がついた弱点 (脆弱性) が見つかりました。
機密情報が外部に流出する可能性があります。重要度は CVSS スコア 7.1/10 です。
対策: Kernel を 5.10.261, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, 7.0.13 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「Kernel CVE-2026-52942」を検索してください。
CVE-2026-52942 (Kernel) — CWE-125 / CVSS v3 7.1
攻撃ベクター: ローカル / 被害者操作不要
修正バージョン: 5.10.261, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, 7.0.13 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
Kernel に 境界外読み取り (CWE-125) があります。
Kernel の影響バージョンはベンダーのアドバイザリで確認してください。
重要度: 重要 (CVSS 7.1/10)。機密情報が外部に流出する可能性があります。
5.10.261, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, 7.0.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.261, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, 7.0.13ステージング環境で 5.10.261, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, 7.0.13 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxKernel |
2.6.36 以上 5.10.261 未満→ 5.10.261 5.11.0 以上 5.15.210 未満→ 5.15.210 5.16.0 以上 6.1.176 未満→ 6.1.176 6.2.0 以上 6.6.143 未満→ 6.6.143 6.7.0 以上 6.12.94 未満→ 6.12.94 6.13.0 以上 6.18.36 未満→ 6.18.36 6.19.0 以上 7.0.13 未満→ 7.0.13 |
5.10.261 5.15.210 6.1.176 6.6.143 6.12.94 6.18.36 7.0.13 |
| LinuxLinux | — | 記載なし |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2026-52942 linux-lts 修正版あり
- Debian DEBIAN-CVE-2026-52942 linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-52942 linux-xilinx-zynqmp, linux-vmware, linux-riscv-7.0 ほか 57 件 修正版あり
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_log: validate MAC header was set before dumping it
The fallback path of dump_mac_header() guards the MAC header access
only with "skb->mac_header != skb->network_header", without checking
skb_mac_header_was_set(). When the MAC header is unset, mac_header is
0xffff, so the test passes and skb_mac_header(skb) returns
skb->head + 0xffff, ~64 KiB past the buffer; the loop then reads
dev->hard_header_len bytes out of bounds into the kernel log.
This is reachable via the netdev logger: nf_log_unknown_packet() calls
dump_mac_header() unconditionally, and an skb sent through AF_PACKET
with PACKET_QDISC_BYPASS reaches the egress hook with mac_header still
unset (__dev_queue_xmit(), which would reset it, is bypassed).
Add the skb_mac_header_was_set() check the ARPHRD_ETHER path already
uses, and replace the open-coded MAC header length test with
skb_mac_header_len(). Only skbs with an unset MAC header are affected;
valid ones are dumped as before.
BUG: KASAN: slab-out-of-bounds in dump_mac_header (net/netfilter/nf_log_syslog.c:831)
Read of size 1 at addr ffff88800ea49d3f by task exploit/148
Call Trace:
kasan_report (mm/kasan/report.c:595)
dump_mac_header (net/netfilter/nf_log_syslog.c:831)
nf_log_netdev_packet (net/netfilter/nf_log_syslog.c:938 net/netfilter/nf_log_syslog.c:963)
nf_log_packet (net/netfilter/nf_log.c:260)
nft_log_eval (net/netfilter/nft_log.c:60)
nft_do_chain (net/netfi…
出典: GitHub Security Advisories (Global) 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
- web git.kernel.org
- web cert-portal.siemens.com
- web cert-portal.siemens.com
- web cert-portal.siemens.com