Paper/Archive/CVE-2026-99891

CVE-2026-99891

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

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
Linux2f2dc053404febedc9c273452d9d518fb31fde72 – < 635d69abc3efdf6bd92eefe3824842b5626a6242635d69abc3efdf6bd92eefe3824842b5626a6242CNA
Linux2f2dc053404febedc9c273452d9d518fb31fde72 – < 85105987f7eea0f68e6573d7b3048ee38de6c45585105987f7eea0f68e6573d7b3048ee38de6c455CNA
Linux2f2dc053404febedc9c273452d9d518fb31fde72 – < b7abd15f5041ab821b823764f3b9bb8a75a3ecf7b7abd15f5041ab821b823764f3b9bb8a75a3ecf7CNA
Linux2f2dc053404febedc9c273452d9d518fb31fde72 – < 44abd92f5f8792b3e21a2bdc8197162c42b2857f44abd92f5f8792b3e21a2bdc8197162c42b2857fCNA
Linux2f2dc053404febedc9c273452d9d518fb31fde72 – < 59779874bf7618798e083b5adcc8b96082a9c29459779874bf7618798e083b5adcc8b96082a9c294CNA
Linux2f2dc053404febedc9c273452d9d518fb31fde72 – < ff6e8ae28b522586507f7de81230b471a4d9c633ff6e8ae28b522586507f7de81230b471a4d9c633CNA
Linux2f2dc053404febedc9c273452d9d518fb31fde72 – < bd04d73a0d6e6c52186f3836ad1689080be7f7edbd04d73a0d6e6c52186f3836ad1689080be7f7edCNA
Linux2f2dc053404febedc9c273452d9d518fb31fde72 – < 7f702e1703c9648fcb02a217d66c880d004171507f702e1703c9648fcb02a217d66c880d00417150CNA
Linux2.6.34–CNA

Scores by source

Linux (CNA)9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

References

refgit.kernel.org/stable/c/635d69abc3efdf6bd92eefe3824842b5626a6242refgit.kernel.org/stable/c/85105987f7eea0f68e6573d7b3048ee38de6c455refgit.kernel.org/stable/c/b7abd15f5041ab821b823764f3b9bb8a75a3ecf7refgit.kernel.org/stable/c/44abd92f5f8792b3e21a2bdc8197162c42b2857frefgit.kernel.org/stable/c/59779874bf7618798e083b5adcc8b96082a9c294refgit.kernel.org/stable/c/ff6e8ae28b522586507f7de81230b471a4d9c633refgit.kernel.org/stable/c/bd04d73a0d6e6c52186f3836ad1689080be7f7edrefgit.kernel.org/stable/c/7f702e1703c9648fcb02a217d66c880d00417150