Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99899

published

libceph: reject an initial monmap with no monitors

Published
30 Nov 2026, 13:18:05 UTC
Updated
30 Nov 2026, 13:18:05 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux7b19b4db5add8d9f50e854907a82a10ba4d27c42 to < 3f8f95ba07b57deebd7d5f881210ed166c3d9e94 · 7b19b4db5add8d9f50e854907a82a10ba4d27c42 to < 8edc65bd79aeb027acf77306bd971c28570201ce · 7b19b4db5add8d9f50e854907a82a10ba4d27c42 to < b585bb63aaa24a302dc7095263d6853ca1953f21 · 7b19b4db5add8d9f50e854907a82a10ba4d27c42 to < de314d21f7adb39bd2de38c2f7145375201ca180 · 7b19b4db5add8d9f50e854907a82a10ba4d27c42 to < 0c0dfc2b238cb6eb24f68406c8655a6a71e877ad · 7b19b4db5add8d9f50e854907a82a10ba4d27c42 to < 94dbce2ae4fdb57bdb53ffa3456da777a5cfb981 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.17 (affected) · 0 to < 5.17 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: libceph: reject an initial monmap with no monitors build_initial_monmap() takes the monitor count straight from ceph_options::num_mon and builds a monmap with that many entries without checking that there is at least one. ceph_parse_ips() writes *count only after it has parsed an address successfully, so a ceph_options that went through a failed parse still has num_mon == 0 and the resulting monmap has no monitors in it at all. The first thing the client does with that monmap is open a session, and pick_new_mon() asserts the invariant that it is non-empty: kernel BUG at net/ceph/mon_client.c:211! RIP: 0010:pick_new_mon net/ceph/mon_client.c:211 [inline] RIP: 0010:__open_session+0x60f/0x740 net/ceph/mon_client.c:245 Call Trace: ceph_monc_open_session+0x46/0x60 net/ceph/mon_client.c:534 __ceph_open_session+0x135/0x590 net/ceph/ceph_common.c:798 ceph_real_mount fs/ceph/super.c:1173 [inline] ceph_get_tree+0xd98/0x1fd0 fs/ceph/super.c:1362 vfs_get_tree+0x92/0x320 fs/super.c:1947 vfs_cmd_create+0xd7/0x2a0 fs/fsopen.c:231 __do_sys_fsconfig+0x55a/0xcb0 fs/fsopen.c:463 The reproducer gets there through the new device syntax: an fsconfig() mon_addr= that does not resolve ("libceph: resolve '127.0.0.' (ret=-3): failed") leaves fsopt->mon_addr set but num_mon at 0, so the "No monitor address" check in ceph_get_tree() passes and the mount proceeds with an empty monmap. The next patch stops that string from being kept, but the assertion should not be reachable from a mount option in the first place. Commit 40480eee361e ("libceph: Reject monmaps advertising zero monitors") made the same BUG_ON() unreachable from the wire by rejecting num_mon == 0 in ceph_monmap_decode(). Apply the same rule to the initial monmap, which is the only other way one gets built, and fail the mount with -EINVAL rather than assert afterwards.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 7b19b4db5add8d9f50e854907a82a10ba4d27c42 to < 3f8f95ba07b57deebd7d5f881210ed166c3d9e94 (affected · git)7b19b4db5add8d9f50e854907a82a10ba4d27c42 to < 8edc65bd79aeb027acf77306bd971c28570201ce (affected · git)7b19b4db5add8d9f50e854907a82a10ba4d27c42 to < b585bb63aaa24a302dc7095263d6853ca1953f21 (affected · git)7b19b4db5add8d9f50e854907a82a10ba4d27c42 to < de314d21f7adb39bd2de38c2f7145375201ca180 (affected · git)7b19b4db5add8d9f50e854907a82a10ba4d27c42 to < 0c0dfc2b238cb6eb24f68406c8655a6a71e877ad (affected · git)7b19b4db5add8d9f50e854907a82a10ba4d27c42 to < 94dbce2ae4fdb57bdb53ffa3456da777a5cfb981 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.17 (affected)0 to < 5.17 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

libceph: reject an initial monmap with no monitors

Provenance

Schema
5.2
Searchable
yes
Content hash
3c38440805bbd92968d43bf398d87647ffb43188540032cf9372ff289a530ab6
Ingested
30 Nov 2026, 13:30:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected