CVE-2026-99590: ceph: clamp the inline data length in ceph_fill_inline_data()

Published Nov 20, 2026

In the Linux kernel, the following vulnerability has been resolved:

ceph: clamp the inline data length in cephfillinlinedata()

The MDS decides how much inline data to attach to a reply, and the client parses inlinelen without any upper bound: cephdecodeneed() only verifies that the message actually carries that many bytes. cephfillinlinedata() 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 foliosize() so both callers, handlecapgrant() and fillinode(), are covered.

Affected Software

3 affected componentsFixes available
linux/kernel>=3.19.0<6.12.118
6.12.118
linux/kernel>=6.13.0<6.18.64
6.18.64
linux/kernel>=6.19.0<7.3.5
7.3.5

Frequently Asked Questions

1

Who is exposed to this issue?

Linux kernel Ceph clients that process inline data supplied in MDS replies are exposed. The issue can be triggered by a malicious or buggy MDS that returns more inline data than a destination folio can hold.

2

What must an attacker or faulty component do to trigger it?

The MDS must provide an inline_len value and corresponding inline-data payload that exceed the size of the folio used by ceph_fill_inline_data(). The existing message-length validation only confirms that the reply contains the claimed bytes; it does not ensure they fit in the folio.

3

What is the impact of receiving an oversized inline-data reply?

The client can copy inline data past the end of a single folio, causing an out-of-bounds write. Both handle_cap_grant() and fill_inode() can reach the affected copy path.

4

What should be done if patching cannot happen immediately?

The provided information identifies the MDS reply as the source of the oversized data. Limiting clients to trusted, correctly functioning MDS servers is the available mitigation described by the issue; no client-side configuration workaround is provided.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203