Linux Kernelのcephで境界チェックの整数オーバーフローによる脆弱性
概要
Linux KernelのCephファイルシステム処理に、スナップショット情報の境界チェックで整数オーバーフローが起きる脆弱性(CVE-2026-99304)があります。細工された通信によりメモリの範囲外を読み取られるおそれがあり、深刻度はCVSS 7.5(High)です。6.12.117、6.18.63、7.3.4以降の修正版が公開されているため、利用中のカーネルのバージョンを確認し、修正版に更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Linux KernelのCephファイルシステム処理に、スナップショット情報の境界チェックで整数オーバーフローが起きる脆弱性(CVE-2026-99304)があります。細工された通信によりメモリの範囲外を読み取られるおそれがあり、深刻度はCVSS 7.5(High)です。6.12.117、6.18.63、7.3.4以降の修正版が公開されているため、利用中のカーネルのバージョンを確認し、修正版に更新してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxLinux | — | 記載なし |
| LinuxKernel |
2.6.34 以上 5.10.275 未満→ 5.10.275 5.11.0 以上 5.15.226 未満→ 5.15.226 5.16.0 以上 6.1.193 未満→ 6.1.193 6.2.0 以上 6.6.163 未満→ 6.6.163 6.7.0 以上 6.12.117 未満→ 6.12.117 6.13.0 以上 6.18.63 未満→ 6.18.63 6.19.0 以上 7.3.4 未満→ 7.3.4 |
5.10.275 5.15.226 6.1.193 6.6.163 6.12.117 6.18.63 7.3.4 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2026-99304 linux-lts 修正版あり
- Debian DEBIAN-CVE-2026-99304 linux-6.12, linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-99304 linux-xilinx-zynqmp, linux-xilinx, linux-vmware ほか 166 件 この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
ceph: fix integer overflow in the snap trace bounds check
ceph_update_snap_trace() bounds the two encoded snapid arrays that follow a
struct ceph_mds_snap_realm with sizeof(u64) * (num_snaps +
num_prior_parent_snaps). Both counts come straight off the wire as __le32,
so the addition is evaluated in unsigned int and wraps before sizeof(u64)
promotes it to size_t: an MDS sending num_snaps = 1 and
num_prior_parent_snaps = 0xffffffff makes the sum zero and the check
degenerates to ceph_decode_need(&p, e, 0, bad), which always passes.
dup_array() then reads num_snaps * 8 bytes past the end of the message
front, which ceph_msg_new2() allocates at exactly front_len bytes. An
unsolicited CEPH_MSG_CLIENT_SNAP reaches this from a malicious or
compromised MDS with no client-side action, as do the snaptraces carried in
an MDS reply and in a cap import.
Compute the length with size_add()/size_mul() so it saturates at SIZE_MAX
instead of wrapping, in the style fs/ceph/mdsmap.c already uses for
num_export_targets.
BUG: KASAN: slab-out-of-bounds in dup_array (include/linux/unaligned.h:28 fs/ceph/snap.c:500)
Read of size 8 at addr ffff8880102a16c8 by task kworker/1:2/129
Workqueue: ceph-msgr ceph_con_workfn
Call Trace:
dump_stack_lvl (lib/dump_stack.c:94 lib/dump_stack.c:120)
print_report (mm/kasan/report.c:378 mm/kasan/report.c:482)
kasan_report (mm/kasan/report.c:595)
dup_array (include/linux/unali…
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory nvd.nist.gov
- advisory github.com
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org