CVE-2026-99306
ceph: reject mdsmaps that claim more than CEPH_MAX_MDS ranks
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: <TASK> 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_map (fs/ceph/mds_client.c:5968) ceph_mdsc_handle_mdsmap (fs/ceph/mds_client.c:7060) extra_mon_dispatch (fs/ceph/super.c:802) mon_dispatch (net/ceph/mon_client.c:1483) ceph_con_process_message (net/ceph/messenger.c:1424) ceph_con_v1_try_read (net/ceph/messenger_v1.c:1430) ceph_con_workfn (net/ceph/messenger.c:1576) process_one_work (kernel/workqueue.c:3396) worker_thread (kernel/workqueue.c:3479 kernel/workqueue.c:3560) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) </TASK> The buggy address belongs to stack of task kworker/1:2/127 and is located at offset 288 in frame: check_new_map (fs/ceph/mds_client.c:5846) This frame has 1 object: [32, 288) 'targets'
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.157% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 9.2 · published by Ubuntu SecurityCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T14:20:00.531Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T14:20:00.531Z | Ubuntu Security |
| epss | verified | 2026-11-19T16:05:00.247Z | FIRST EPSS |
| patches | verified | 2026-11-19T14:20:00.531Z | Ubuntu Security |
| affected | verified | 2026-11-19T10:46:28.994Z | CVE Program |
| lifecycle | verified | 2026-11-19T10:46:28.994Z | CVE Program |
Affected versions and configuration
Linux Linux; default status: unaffected: d517b3983dd3106ca92d6c5d0d09415a4a09481c to < 7931e6798f419bda9ac8cf0c095323eff90a7f52 [affected; scheme: git]; d517b3983dd3106ca92d6c5d0d09415a4a09481c to < e9d72cf5d1bf5b4ddfe86707ada614973d75bf64 [affected; scheme: git]; d517b3983dd3106ca92d6c5d0d09415a4a09481c to < 0574e4aff8e4b28e0d5636204ed4ba2350b8701a [affected; scheme: git]; d517b3983dd3106ca92d6c5d0d09415a4a09481c to < c1742590d2b2fc5fb217e1a9b520108f1fe282e5 [affected; scheme: git] Linux Linux; default status: affected: 5.15 [affected; scheme: unspecified]; 0 to < 5.15 [unaffected; scheme: semver]; 6.12.117 to ≤ 6.12.* [unaffected; scheme: semver]; 6.18.63 to ≤ 6.18.* [unaffected; scheme: semver]; 7.3.4 to ≤ 7.3.* [unaffected; scheme: semver]; 7.4-rc1 to ≤ * [unaffected; scheme: original_commit_for_fix]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "linux",
"debian": "https://tracker.debian.org/pkg/linux",
"source": "https://ubuntu.com/security/cve?package=linux",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=linux",
"statuses": [
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "3.11.0-12.19",
"release_codename": "trusty"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "4.13.0-16.19",
"release_codename": "bionic"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5.4.0-9.12",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "7.4~rc1, 6.8.y, 7.0.y, 7.3.4",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "4.4.0-2.16",
"release_codename": "xenial"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "d517b3983dd3106ca92d6c5d0d09415a4a09481c",
"lessThan": "7931e6798f419bda9ac8cf0c095323eff90a7f52",
"versionType": "git"
},
{
"status": "affected",
"version": "d517b3983dd3106ca92d6c5d0d09415a4a09481c",
"lessThan": "e9d72cf5d1bf5b4ddfe86707ada614973d75bf64",
"versionType": "git"
},
{
"status": "affected",
"version": "d517b3983dd3106ca92d6c5d0d09415a4a09481c",
"lessThan": "0574e4aff8e4b28e0d5636204ed4ba2350b8701a",
"versionType": "git"
},
{
"status": "affected",
"version": "d517b3983dd3106ca92d6c5d0d09415a4a09481c",
"lessThan": "c1742590d2b2fc5fb217e1a9b520108f1fe282e5",
"versionType": "git"
}
],
"programFiles": [
"fs/ceph/mdsmap.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.15"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.15",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.63",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.3.4",
"versionType": "semver",
"lessThanOrEqual": "7.3.*"
},
{
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/ceph/mdsmap.c"
],
"defaultStatus": "affected"
}
],
"additionalContainers": []
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| upstream-release | upstream / upstream | linux | Not a distribution channel | 7.4~rc1 | Official record |
| upstream-note | upstream / upstream | linux | Not a distribution channel | 6.8.y | Official record |
| upstream-note | upstream / upstream | linux | Not a distribution channel | 7.0.y | Official record |
| upstream-release | upstream / upstream | linux | Not a distribution channel | 7.3.4 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T10:46:28.994ZArchived source JSON
Source publication: 2026-11-16T09:59:30.541Z
Source modification: 2026-11-16T09:59:30.541ZDocument fingerprint
2c2345bb4f79c670ee838bddf3e1bcfbafd28bf19f4d81aeb83335be2c40d875 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - Ubuntu SecurityConsulted: 2026-11-19T14:20:00.531ZArchived source JSON
Source publication: 2026-11-16T00:00:00.000Z
Source modification: 2026-11-18T08:32:57.175ZDocument fingerprint
6526c417167a4dba35f39a82f06eecb5bf996778e33c62c6f1d7628aee08af7f - FIRST EPSSConsulted: 2026-11-19T16:05:00.247ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
5731933fc6450a013cfb786007b49cd6237aa7bd2f2357ee149b21fdb5127308
Official status history
- UNKNOWN → PUBLISHED · · evidence