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.
https://git.kernel.org/stable/c/cff53880d9513168db812a0773796b0ad0ddce6d
https://git.kernel.org/stable/c/bc418e234e5be14b97dec90e84a680e615b4134e
https://git.kernel.org/stable/c/87cba8ebbaa7d2b85f6a4912c1697c0f2642b39a
https://git.kernel.org/stable/c/512b5cf725d576aba222d976f9cb9a197d3316ab
https://git.kernel.org/stable/c/301185fe9caaf6623122759608025815c7ce8630