CVE-2026-99590
ceph: clamp the inline data length in ceph_fill_inline_data()
What happened?
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 software and versions
| Software | Version information | Fixed version |
|---|---|---|
| LinuxLinux | affected: 31c542a199d79f0f402c2f3e04229464510d47ec to < d9c1bf1967d0e9a499e311d79e648c14dc9e30eb; affected: 31c542a199d79f0f402c2f3e04229464510d47ec to < 5134f282c7c65a1e44a975bb26fe5c022d9625de; affected: 31c542a199d79f0f402c2f3e04229464510d47ec to < 7b5eea42b34895df5788789ddd7f748086673a5f; affected: 31c542a199d79f0f402c2f3e04229464510d47ec to < 595c6d7d3cf3c90ceaab4eb5392dbc1bbb12821a; affected: 31c542a199d79f0f402c2f3e04229464510d47ec to < b325a1f0d441bb1925ef3c1e09d1db05ecfcc12c; affected: 31c542a199d79f0f402c2f3e04229464510d47ec to < f07b16256d7041c60dd2e205783d5d3a7934f884; affected: 31c542a199d79f0f402c2f3e04229464510d47ec to < 9d06011f8c5b4c9989397a501483fec0f4a149cb; affected: 31c542a199d79f0f402c2f3e04229464510d47ec to < 9c1d14d3b66b3e1dd96ee664c0dd2548f2b77a52 | See vendor advisory |
| LinuxLinux | affected: 3.19; unaffected: 0 to < 3.19; unaffected: 5.10.275 to ≤ 5.10.*; unaffected: 5.15.226 to ≤ 5.15.*; unaffected: 6.1.193 to ≤ 6.1.*; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.118 to ≤ 6.12.*; unaffected: 6.18.64 to ≤ 6.18.*; unaffected: 7.3.5 to ≤ 7.3.*; unaffected: 7.4-rc1 to ≤ * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-99590
- https://git.kernel.org/stable/c/d9c1bf1967d0e9a499e311d79e648c14dc9e30eb
- https://git.kernel.org/stable/c/5134f282c7c65a1e44a975bb26fe5c022d9625de
- https://git.kernel.org/stable/c/7b5eea42b34895df5788789ddd7f748086673a5f
- https://git.kernel.org/stable/c/595c6d7d3cf3c90ceaab4eb5392dbc1bbb12821a
- https://git.kernel.org/stable/c/b325a1f0d441bb1925ef3c1e09d1db05ecfcc12c
- https://git.kernel.org/stable/c/f07b16256d7041c60dd2e205783d5d3a7934f884
- https://git.kernel.org/stable/c/9d06011f8c5b4c9989397a501483fec0f4a149cb
- https://git.kernel.org/stable/c/9c1d14d3b66b3e1dd96ee664c0dd2548f2b77a52