ceph: validate fscrypt auth blob length

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: validate fscrypt auth blob length

ceph_crypt_get_context() trusts cfa_blob_len after checking only that the inode-owned fscrypt_auth allocation contains the fixed header and one byte. An MDS can therefore place a larger inner length in a shorter outer object, causing memcpy() to read beyond the allocation when a caller requests the encryption nonce.

Require the complete blob to fit in the inode-owned allocation before using the inner length.

On the tested baseline, the malformed reply produced the same KASAN slab-out-of-bounds read twice. An ordinary UID obtained sixteen wire-absent SLUB redzone bytes in two non-KASAN production-path runs. The input was rejected twice after this change, while a complete context still worked.

ProductVersions
Linux Linux2d332d5bc424404911540006a8bb450fbb96b178 to before cff53880d9513168db812a0773796b0ad0ddce6d Affected2d332d5bc424404911540006a8bb450fbb96b178 to before 301185fe9caaf6623122759608025815c7ce8630 Affected2d332d5bc424404911540006a8bb450fbb96b178 to before 512b5cf725d576aba222d976f9cb9a197d3316ab Affected2d332d5bc424404911540006a8bb450fbb96b178 to before 87cba8ebbaa7d2b85f6a4912c1697c0f2642b39a Affected2d332d5bc424404911540006a8bb450fbb96b178 to before bc418e234e5be14b97dec90e84a680e615b4134e Affected
Linux Linux6.6 Affectedbefore 6.6 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.