ceph: bound name skips in ceph_mdsmap_decode() by the message end

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

ceph: bound name skips in ceph_mdsmap_decode() by the message end

ceph_mdsmap_decode() reads two remote u32 name lengths and advances its parser cursor without checking that either string remains in the message. On a 32-bit client, a sufficiently large length can wrap the cursor below `end`. The following numerical bounds check then succeeds and dereferences the wrapped address.

Use ceph_decode_skip_n() for both names so the remaining bytes are checked before the cursor advances.

The issue produced a page fault in ceph_mdsmap_decode twice on the tested i386 baseline. The same frame was rejected without a fault twice after this change, while a normal MDSMap continued to be accepted.

ProductVersions
Linux Linux2f2dc053404febedc9c273452d9d518fb31fde72 to before 635d69abc3efdf6bd92eefe3824842b5626a6242 Affected2f2dc053404febedc9c273452d9d518fb31fde72 to before 85105987f7eea0f68e6573d7b3048ee38de6c455 Affected2f2dc053404febedc9c273452d9d518fb31fde72 to before b7abd15f5041ab821b823764f3b9bb8a75a3ecf7 Affected2f2dc053404febedc9c273452d9d518fb31fde72 to before 44abd92f5f8792b3e21a2bdc8197162c42b2857f Affected2f2dc053404febedc9c273452d9d518fb31fde72 to before 59779874bf7618798e083b5adcc8b96082a9c294 Affected2f2dc053404febedc9c273452d9d518fb31fde72 to before ff6e8ae28b522586507f7de81230b471a4d9c633 Affected2f2dc053404febedc9c273452d9d518fb31fde72 to before bd04d73a0d6e6c52186f3836ad1689080be7f7ed Affected2f2dc053404febedc9c273452d9d518fb31fde72 to before 7f702e1703c9648fcb02a217d66c880d00417150 Affected
Linux Linux2.6.34 Affectedbefore 2.6.34 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.