GPU VulnDB

Database/Kernel, userspace & hypervisor

Linux kernel CephFS client: use-after-free when an MDS session reopens during an access check

CVSS 9.8CVE-2026-89990Kernel, userspace & hypervisorcurated

Impact

MDS session OPEN handling swaps out mdsc->s_cap_auths under mdsc->mutex and frees the old array and its strings, while ceph_mds_check_access() walks that array without taking the mutex. A session reopen concurrent with any path-open on the mount frees the array under the reader, producing the oops shown in the commit message and, in the general case, a use-after-free an attacker could try to shape into memory corruption. On GPU nodes this matters where CephFS is the shared dataset or checkpoint filesystem mounted in-kernel on every worker: the fault lands in the host kernel, so a training node panics rather than a single job failing, and any node holding the mount is affected. The NVD score of 9.8 with AV:N is the blanket value the kernel CNA applies; the trigger here is a local filesystem operation racing an MDS session reopen, not a remote request.

Who can reach it

Local - any user or container that can open paths on a kernel CephFS mount, racing an MDS session reopen (which a flapping or hostile MDS can drive). No special privilege beyond access to the mount; no authentication to the node beyond a shell or pod on it.

What to do

Take the stable-kernel update carrying the fix (the four git.kernel.org commits listed) from your distribution and reboot each node that mounts CephFS; there is no runtime mitigation short of unmounting CephFS or moving to the FUSE client. Drain and reboot per node - the fix is in the ceph module path in the running kernel, so a module reload would require unmounting every CephFS mount first. No fixed distribution version is stated in the record.

References

Related entries

All Kernel, userspace & hypervisor entries

This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.