ceph: Fix mds session leak in __open_export_target_session()

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

ceph: Fix mds session leak in __open_export_target_session()

__open_export_target_session() holds a reference on the target session, either from __ceph_lookup_mds_session() or from register_session(), which the caller is expected to drop. When __open_session() fails, the helper returns ERR_PTR(ret) without dropping that reference, leaking one session reference on every open failure.

Drop the session reference before returning the error.

ProductVersions
Linux Linuxb682c6d41bc23353b5d80e02ca4961ac67624f4c to before 31f12e38f2bfa78796d56d6bad88de73503681dc Affectedb682c6d41bc23353b5d80e02ca4961ac67624f4c to before b7753d36d5c9ac41c7be6f11641510a32fd0846d Affectedb682c6d41bc23353b5d80e02ca4961ac67624f4c to before d97c24d91d7dea4d5eaa241bf5fb1c3d692591d0 Affectedb682c6d41bc23353b5d80e02ca4961ac67624f4c to before 619eddf8a5e4e9809668210738be378381fdfd2d Affectedb682c6d41bc23353b5d80e02ca4961ac67624f4c to before e104c02ad1c898fee1c39b8538689f17e0276a29 Affectedb682c6d41bc23353b5d80e02ca4961ac67624f4c to before 410855d5e5b63e6a9b5225f0680b68336de90ab2 Affectedb682c6d41bc23353b5d80e02ca4961ac67624f4c to before 68db0112f3663f53f6848b0ff75b12c9fc089a04 Affectedb682c6d41bc23353b5d80e02ca4961ac67624f4c to before 6c80207392fdb86107d7acbdbf4c86cac38da1af Affected
Linux Linux5.9 Affectedbefore 5.9 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.