CVE-2026-99897: ceph: Fix mds session leak in __open_export_target_session()
ceph: Fix mds session leak in openexporttargetsession()
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1 - Compensating control
In __open_export_target_session(), drop the target session reference before returning an error when __open_session() fails.
Event History
Frequently Asked Questions
When does the session reference leak occur?
The leak occurs when __open_export_target_session() obtains a reference to the target MDS session and the subsequent __open_session() call fails. Each such open failure leaks one session reference.
What systems are exposed to this issue?
Systems using the Linux kernel Ceph code path that invokes __open_export_target_session() and encounters __open_session() failures are affected. The provided information does not identify specific kernel versions or configurations.
How can I tell whether the issue is occurring?
The described symptom is a session reference leak for every failed session open. The provided information does not specify a log message, metric, or diagnostic command for detecting it.
What mitigation is available if an update cannot be applied immediately?
No workaround or configuration-based mitigation is provided. The resolution is to use a kernel containing the change that drops the target session reference before returning an __open_session() error.