CVE-2026-99891: ceph: bound name skips in ceph_mdsmap_decode() by the message end
ceph: bound name skips in cephmdsmapdecode() by the message end
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1 - Compensating control
In ceph_mdsmap_decode(), use ceph_decode_skip_n() for both name lengths so the remaining bytes are checked against the message end before the parser cursor advances.
Event History
Frequently Asked Questions
Which systems are most directly exposed to this issue?
The documented fault was reproduced on a 32-bit Linux client, where a sufficiently large remote name length can wrap the parser cursor. The vulnerable code is in the kernel Ceph client’s MDSMap decoding path.
What must an attacker provide to trigger the fault?
The attacker must cause the client to decode an MDSMap message containing malformed remote u32 name lengths large enough to advance and wrap the parser cursor. The malformed frame must reach ceph_mdsmap_decode().
What is the observed impact of a malformed message?
On the tested i386 baseline, the malformed frame caused a page fault in ceph_mdsmap_decode(). With the fix, the same frame was rejected without a fault.
How does the fix prevent the issue?
The fix uses ceph_decode_skip_n() for both remote names. This checks that the requested bytes remain within the message before advancing the parser cursor.