Skip to content
Critical 9.8

Linux Kernelのcephで境界チェックの整数オーバーフローによる脆弱性

CVE-2026-99304 First seen on SecPulse

Summary

Linux KernelのCephファイルシステム処理に、スナップショット情報の境界チェックで整数オーバーフローが起きる脆弱性(CVE-2026-99304)があります。細工された通信によりメモリの範囲外を読み取られるおそれがあり、深刻度はCVSS 7.5(High)です。6.12.117、6.18.63、7.3.4以降の修正版が公開されているため、利用中のカーネルのバージョンを確認し、修正版に更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux KernelのCephファイルシステム処理に、スナップショット情報の境界チェックで整数オーバーフローが起きる脆弱性(CVE-2026-99304)があります。細工された通信によりメモリの範囲外を読み取られるおそれがあり、深刻度はCVSS 7.5(High)です。6.12.117、6.18.63、7.3.4以降の修正版が公開されているため、利用中のカーネルのバージョンを確認し、修正版に更新してください。

Affected packages

PackageAffected → Fixed
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

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details