Linux Kernelのcephで範囲外メモリを読まれる脆弱性、攻撃の可能性
Summary
Linux Kernelのcephモジュールに、MDSマップが上限を超えるランク数を宣言すると範囲外のメモリを読み出してしまう脆弱性が見つかりました。CVSSは9.8で、5.15.0から6.12.117未満、6.13.0から6.18.63未満、6.19.0から7.3.4未満が影響を受けます。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モジュールに、MDSマップが上限を超えるランク数を宣言すると範囲外のメモリを読み出してしまう脆弱性が見つかりました。CVSSは9.8で、5.15.0から6.12.117未満、6.13.0から6.18.63未満、6.19.0から7.3.4未満が影響を受けます。6.12.117、6.18.63、7.3.4以降の修正版で直るため、利用中のカーネルの版を確認し、修正版への更新を検討してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 5.15.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.15.226 6.1.193 6.6.163 6.12.117 6.18.63 7.3.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99306 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99306 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-99306 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +166 more No fixed version in this record
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
ceph: reject mdsmaps that claim more than CEPH_MAX_MDS ranks
check_new_map() sizes its export-target bitmap from CEPH_MAX_MDS but walks
it with newmap->possible_max_rank, which comes straight off the wire:
ceph_mdsmap_decode() sets it to max(m_num_active_mds, m_max_mds), then
overwrites it with the size of the "in" set. Neither is bounded by
CEPH_MAX_MDS, only by m_info allocating, so a monitor announcing more ranks
than the bitmap holds makes test_bit() read past the end of targets[]. The
clear_bit() loop above indexes the same bitmap, though it is additionally
bounded by mdsc->max_sessions. The map arrives on the monitor connection,
which is unauthenticated in legacy msgr mode.
CEPH_MAX_MDS is a protocol constant from src/mds/mdstypes.h, and the
reserved inode ranges in super.h are laid out one rank apart over that
span, so a map claiming more ranks is corrupt. Reject it where the rank
space is established rather than letting the count reach check_new_map().
BUG: KASAN: stack-out-of-bounds in check_new_map (fs/ceph/mds_client.c:5968)
Read of size 8 at addr ffffc90000ac7798 by task kworker/1:2/127
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)
kasan_check_range (mm/kasan/generic.c:186 mm/kasan/generic.c:200)
check_new_ma…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- 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