CVE-2026-89652
In the Linux kernel, the following vulnerability has been resolved:
ceph: bound copied dentry name length in NFS export get_name
cephgetname() copies the MDS-supplied name into the caller's
NAMEMAX-sized buffer with memcpy(name, rinfo->dname, rinfo->dnamelen)
and then writes name[rinfo->dnamelen] = 0, without checking dnamelen
against NAME_MAX. A malicious or buggy MDS that returns a LOOKUPNAME reply
with dnamelen > NAMEMAX overflows the buffer. _getsnap_name() copies
rde->name / rde->name_len the same unchecked way.
Impact: a malicious or compromised Ceph MDS overflows the NAME_MAX name
buffer in a client's NFS-export get_name path, a slab out-of-bounds write
reported by KASAN. Reachable when a CephFS mount is re-exported over NFS.
Add cephexportcopyname(), which rejects lengths above NAMEMAX with
-ENAMETOOLONG before the copy, and use it in both cephgetname() and
_getsnap_name().
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://git.kernel.org/stable/c/06fb5e623cdc2402d6bb29be94d9beb9a826ffec, https://git.kernel.org/stable/c/61d9f27b191b838b96b697ce0bfaee39a138243a, https://git.kernel.org/stable/c/a294064e0e0f81ea607b2f019e16888aa1b0a011, https://git.kernel.org/stable/c/e7c2fd3893a7f7fcd7e8cf0b2c6348bb1e893df6, https://git.kernel.org/stable/c/eff8013c5a8916613c742ae5a2cc341cb605c0ae, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89652.json, https://nvd.nist.gov/vuln/detail/CVE-2026-89652, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git