{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99590","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.423Z","datePublished":"2026-11-20T05:49:19.032Z","dateUpdated":"2026-11-22T11:09:08.489Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-22T11:09:08.489Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: clamp the inline data length in ceph_fill_inline_data()\n\nThe MDS decides how much inline data to attach to a reply, and the\nclient parses inline_len without any upper bound: ceph_decode_need()\nonly verifies that the message actually carries that many bytes.\nceph_fill_inline_data() then copies the data into a single folio\nwith no length check, so a malicious or buggy MDS returning more\ninline data than the folio can hold writes past its end.\n\nClamp the length to folio_size() so both callers, handle_cap_grant()\nand fill_inode(), are covered."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"},"scenarios":[{"lang":"en","value":"AV:N - The MDS supplies inline_len and the following payload in a CEPH_MSG_CLIENT_REPLY, decoded by parse_reply_info_inline_data and passed through handle_reply and ceph_fill_inode, or in a v4+ CEPH_MSG_CLIENT_CAPS decoded by parse_inline_data and passed through ceph_handle_caps and handle_cap_grant; both copy it in ceph_fill_inline_data over the TCP messenger.\nAC:L - A new inode has i_inline_version 0 and i_truncate_seq 0. The MDS reply sets a non-directory mode, size > 0, inline_version greater than 1, and CEPH_CAP_FILE_CACHE, so ceph_fill_file_size stores a non-zero i_size and ceph_fill_inode copies into a freshly created, non-uptodate page 0.\nPR:N - handle_reply and ceph_handle_caps accept inline_len from the MDS peer on the session opened by ceph_real_mount. That peer is the remote cluster endpoint, and the copy runs with no local user credential consulted.\nUI:N - open_root_dentry issues CEPH_MDS_OP_GETATTR during ceph_real_mount, and that reply is what handle_reply feeds to ceph_fill_inode. The MDS delivers inline_len in its own response; no later user action is required.\nS:U - The memcpy corrupts memory of the kernel that mounted ceph, which is the same security authority as the filesystem client.\nC:H - ceph_fill_inline_data memcpy's MDS-chosen bytes from the message through kmap_atomic or memcpy_to_folio past the single page at index 0, so the write continues into the adjacent direct-map page and can corrupt neighboring kernel objects into a disclosure primitive.\nI:H - inline_len is the u32 from the MDS message, checked only by ceph_decode_need against the message end. The destination page is PAGE_SIZE, and the memcpy writes that full attacker-chosen length past the end of the page.\nA:H - The overrun past that page writes into adjacent kernel memory and oopses the client; inline_len can extend to the messenger front limit of 16MB."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ceph/addr.c"],"versions":[{"version":"31c542a199d79f0f402c2f3e04229464510d47ec","lessThan":"b325a1f0d441bb1925ef3c1e09d1db05ecfcc12c","status":"affected","versionType":"git"},{"version":"31c542a199d79f0f402c2f3e04229464510d47ec","lessThan":"f07b16256d7041c60dd2e205783d5d3a7934f884","status":"affected","versionType":"git"},{"version":"31c542a199d79f0f402c2f3e04229464510d47ec","lessThan":"9d06011f8c5b4c9989397a501483fec0f4a149cb","status":"affected","versionType":"git"},{"version":"31c542a199d79f0f402c2f3e04229464510d47ec","lessThan":"9c1d14d3b66b3e1dd96ee664c0dd2548f2b77a52","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ceph/addr.c"],"versions":[{"version":"3.19","status":"affected"},{"version":"0","lessThan":"3.19","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"6.12.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"6.18.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"7.3.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/b325a1f0d441bb1925ef3c1e09d1db05ecfcc12c"},{"url":"https://git.kernel.org/stable/c/f07b16256d7041c60dd2e205783d5d3a7934f884"},{"url":"https://git.kernel.org/stable/c/9d06011f8c5b4c9989397a501483fec0f4a149cb"},{"url":"https://git.kernel.org/stable/c/9c1d14d3b66b3e1dd96ee664c0dd2548f2b77a52"}],"title":"ceph: clamp the inline data length in ceph_fill_inline_data()","x_generator":{"engine":"bippy-1.2.0"}}}}