Database/Kernel, userspace & hypervisor
Linux CephFS client: use-after-free on an MDS session freed while check_new_map drops mdsc->mutex
Impact
check_new_map() walks mdsc->sessions[] and drops mdsc->mutex for per-session work. The forced-close path takes a session reference first, but three other paths - address change, reconnect, and the active transition - do not. Another thread that acquires mdsc->mutex in that window can call __unregister_session(), drop the last reference and free the session; the original thread then locks s->s_mutex on freed memory. This is a race in ordinary cluster churn - an MDS moving address, a reconnect, a rank going active - not something a tenant steers. On a GPU node with a kernel CephFS mount the outcome is a kernel crash and the loss of any resident job.
Who can reach it
No tenant path. Requires MDS map churn on the storage cluster and a concurrent session teardown on the client; influencing the timing means influencing the Ceph monitors or the storage network.
What to do
Update to a stable kernel carrying the fix (two backport commits linked on the record) and drain and reboot each node with a kernel CephFS mount - the client module cannot be replaced under a live mount. Batch with the other ceph fixes published the same day. No configuration change avoids the race.
References
Related entries
- Linux CephFS client: use-after-free when a cap-flush entry is freed by a fast FLUSH_ACK mid-iterationCVE-2026-89655 · Linux kernel CephFS client (__kick_flushing_caps, cap flush list iteration)Unscored
- Linux libceph: malformed CRUSH map aliases bucket workspaces and overflows the permutation bufferCVE-2026-89656 · Linux kernel libceph (crush_decode, bucket id vs array slot validation)Unscored
- Linux libceph: malformed OSD sparse-read reply advances the message cursor past the request buffer and panicsCVE-2026-89657 · Linux kernel libceph (osd_sparse_read, sparse extent map validation)Unscored
- Linux kernel nfsd: dentry reference leak on every crafted NFSv3 filehandle against a V4ROOT exportCVE-2026-89683 · Linux kernel nfsd (V4ROOT export filehandle lookup)Unscored
- Linux nfsd: ACL translation errors in NFSv4 CREATE are discarded and the file is created without the requested ACLCVE-2026-89693 · Linux kernel nfsd (nfsd4_create ACL error handling)Unscored
- Linux nfsd: any authenticated NFSv4.2 client can cancel and free another client's copy-notify stateidCVE-2026-89694 · Linux kernel nfsd (NFSv4.2 copy-notify stateid)Unscored
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.