Servers and applications
CVE-2026-99306
ceph: reject mdsmaps that claim more than CEPH_MAX_MDS ranks
- Severity
- Critical 9.8
- Published
- 16 Nov 2026
- Last changed
- 19 Nov 2026
- Added to UpHeron
- 16 Nov 2026
- Fixed in
- 6.12.117, 6.18.63, 7.3.4
- Exploit chance
- 0.2% in the next 30 daysHigher than 4% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Sources
- CVE Program
Description
In the Linux kernel, the following vulnerability has been resolved:
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().
Affected software
| Software | Affected versions |
|---|---|
Linux kernelServers and applications · cna:linux|linux |
|
About Linux kernel
Unix-like operating system kernel, basis for all Linux operating systems
- GitHub stars
- 255,726GitHub, 15 Nov 2026
- Forks
- 67,394GitHub, 15 Nov 2026
- Developer
- Linus TorvaldsWikidata
- License
- GNU General Public License, version 2.0Wikidata
- Written in
- CWikidata
- First released
- 25 Aug 1991Wikidata
- First published on GitHub
- 4 Sept 2011GitHub
Vulnerabilities in Linux kernel
- In our list
- 2,750
- Published in the last 12 months
- 2,750
- Critical, last 12 months
- 83
- High, last 12 months
- 485
- Known exploited
- 0
- CVE-2026-99565ksmbd: wait for negotiation before receiving another PDUUnrated 19 Nov 2026
- CVE-2026-99564smb: smbdirect: don't wait for RDMA_CM_EVENT_DISCONNECTED in smbdirect_socket_destroy_sync()Unrated 19 Nov 2026
- CVE-2026-99563smb: smbdirect: release failed pending sockets of a listenerUnrated 19 Nov 2026
- CVE-2026-99562ksmbd: reject FSCTL_SET_ZERO_DATA on a directory handleUnrated 19 Nov 2026
- CVE-2026-99561fork: don't create io threads once PF_POSTCOREDUMP is setUnrated 19 Nov 2026
- CVE-2026-99560wifi: mt76: mt7925: fix reset panic caused by the WM2 rx irq maskUnrated 19 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-99306