CVE-2026-89652
Description
A flaw was found in the Linux kernel's Ceph file system. A malicious or compromised Ceph Metadata Server (MDS) can send a specially crafted LOOKUPNAME reply that causes a buffer overflow when copying dentry names during an NFS export operation. This out-of-bounds write can lead to memory corruption on the client system, particularly when a CephFS mount is re-exported over NFS.
Statement
A buffer overflow flaw was found in the Linux kernel's Ceph file system, rated IMPORTANT by Red Hat. It affects the kernel shipped in Red Hat Enterprise Linux 7, 8, 9, and 10, Red Hat In-Vehicle OS, and Red Hat OpenShift Container Platform (through the RHEL CoreOS kernels); fixes for the affected products are being pursued. Red Hat Enterprise Linux 6 is not affected because its kernel does not contain the vulnerable code, which was introduced upstream in kernel 3.15.
In ceph_get_name() and __get_snap_name(), the dentry name supplied by a Ceph Metadata Server (MDS) in a LOOKUPNAME reply is copied into a NAME_MAX-sized buffer using memcpy() without first checking the supplied length against NAME_MAX. A malicious or compromised MDS that returns a reply with a name length greater than NAME_MAX therefore causes a slab out-of-bounds write in the client's kernel memory. The vulnerable path is reachable when a CephFS mount is re-exported over NFS, so systems in that configuration are exposed to kernel memory corruption, which can lead to a system crash (denial of service) or other memory-corruption consequences. The upstream fix adds a length check that rejects names longer than NAME_MAX with -ENAMETOOLONG before the copy is performed.
The upstream CVE record rates this flaw CRITICAL (CVSS 9.8, network attack vector, no privileges required), while Red Hat rates it IMPORTANT (CVSS 7.0, local attack vector, high attack complexity). The lower Red Hat severity reflects that the out-of-bounds write occurs in the client's local kernel memory and that exploitation requires both a malicious or compromised MDS and a client whose CephFS mount is re-exported over NFS, conditions that significantly reduce practical exploitability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 7 | N/A | 9.8 |
| Attack Vector | Local | N/A | Network |
| Attack Complexity | High | N/A | Low |
| Privileges Required | Low | N/A | None |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | High | N/A | High |
| Integrity Impact | High | N/A | High |
| Availability Impact | High | N/A | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.