Paper/Archive/CVE-2026-99590

CVE-2026-99590

Linux Linux — ceph: clamp the inline data length in ceph_fill_inline_data()

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
Linux31c542a199d79f0f402c2f3e04229464510d47ec – < d9c1bf1967d0e9a499e311d79e648c14dc9e30ebd9c1bf1967d0e9a499e311d79e648c14dc9e30ebCNA
Linux31c542a199d79f0f402c2f3e04229464510d47ec – < 5134f282c7c65a1e44a975bb26fe5c022d9625de5134f282c7c65a1e44a975bb26fe5c022d9625deCNA
Linux31c542a199d79f0f402c2f3e04229464510d47ec – < 7b5eea42b34895df5788789ddd7f748086673a5f7b5eea42b34895df5788789ddd7f748086673a5fCNA
Linux31c542a199d79f0f402c2f3e04229464510d47ec – < 595c6d7d3cf3c90ceaab4eb5392dbc1bbb12821a595c6d7d3cf3c90ceaab4eb5392dbc1bbb12821aCNA
Linux31c542a199d79f0f402c2f3e04229464510d47ec – < b325a1f0d441bb1925ef3c1e09d1db05ecfcc12cb325a1f0d441bb1925ef3c1e09d1db05ecfcc12cCNA
Linux31c542a199d79f0f402c2f3e04229464510d47ec – < f07b16256d7041c60dd2e205783d5d3a7934f884f07b16256d7041c60dd2e205783d5d3a7934f884CNA
Linux31c542a199d79f0f402c2f3e04229464510d47ec – < 9d06011f8c5b4c9989397a501483fec0f4a149cb9d06011f8c5b4c9989397a501483fec0f4a149cbCNA
Linux31c542a199d79f0f402c2f3e04229464510d47ec – < 9c1d14d3b66b3e1dd96ee664c0dd2548f2b77a529c1d14d3b66b3e1dd96ee664c0dd2548f2b77a52CNA
Linux3.19–CNA

Scores by source

Linux (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

refgit.kernel.org/stable/c/d9c1bf1967d0e9a499e311d79e648c14dc9e30ebrefgit.kernel.org/stable/c/5134f282c7c65a1e44a975bb26fe5c022d9625derefgit.kernel.org/stable/c/7b5eea42b34895df5788789ddd7f748086673a5frefgit.kernel.org/stable/c/595c6d7d3cf3c90ceaab4eb5392dbc1bbb12821arefgit.kernel.org/stable/c/b325a1f0d441bb1925ef3c1e09d1db05ecfcc12crefgit.kernel.org/stable/c/f07b16256d7041c60dd2e205783d5d3a7934f884refgit.kernel.org/stable/c/9d06011f8c5b4c9989397a501483fec0f4a149cbrefgit.kernel.org/stable/c/9c1d14d3b66b3e1dd96ee664c0dd2548f2b77a52