AZL-115336: CVE-2026-99590 affecting package kernel 6.6.161.1-1
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Clamp the inline data length to folio_size() in ceph_fill_inline_data(), covering both handle_cap_grant() and fill_inode().