CVE-2026-99590: ceph: clamp the inline data length in ceph_fill_inline_data()
Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-20
Description
In the Linux kernel, the following vulnerability has been resolved: ceph: clamp the inline data length in ceph_fill_inline_data() The MDS decides how much inline data to attach to a reply, and the client parses inline_len without any upper bound: ceph_decode_need() only verifies that the message actually carries that many bytes. ceph_fill_inline_data() then copies the data into a single folio with no length check, so a malicious or buggy MDS returning more inline data than the folio can hold writes past its end. Clamp the length to folio_size() so both callers, handle_cap_grant() and fill_inode(), are covered.
Enclave's analysis
The Linux kernel's CephFS client copies 'inline data' sent by the MDS into a single page without checking the length against the page size, so a hostile or compromised MDS can overflow into adjacent kernel memory. It only fires on hosts that kernel-mount CephFS, and only if the MDS the client talks to is malicious, compromised, or CephX auth is off. No public exploit exists and it's buried in a batch of routine kernel hardening fixes. Patch to the fixed kernel builds; treat CephFS mount points as trusting whatever MDS they talk to.
Fix
Upgrade Linux kernel to 6.12.118 or 6.18.64 or 7.3.5; Linux kernel (mainline) to 7.4-rc1. No fixed version is listed for Linux; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| Linux | 31c542a199d79f0f402c2f3e04229464510d47ec before b325a1f0d441bb1925ef3c1e09d1db05ecfcc12c | Not listed |
| Linux | 31c542a199d79f0f402c2f3e04229464510d47ec before f07b16256d7041c60dd2e205783d5d3a7934f884 | Not listed |
| Linux | 31c542a199d79f0f402c2f3e04229464510d47ec before 9d06011f8c5b4c9989397a501483fec0f4a149cb | Not listed |
| Linux | 31c542a199d79f0f402c2f3e04229464510d47ec before 9c1d14d3b66b3e1dd96ee664c0dd2548f2b77a52 | Not listed |
| Linux | 3.19 | Not listed |
| Linux kernel | >=3.19, <6.12.118 | 6.12.118 |
| Linux kernel | >=6.13, <6.18.64 | 6.18.64 |
| Linux kernel | >=6.19, <7.3.5 | 7.3.5 |
| Linux kernel (mainline) | <7.4-rc1 | 7.4-rc1 |