# CVE-2026-99897: ceph: Fix mds session leak in __open_export_target_session()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-11-30T13:18:04.662Z
- Modified: 2026-11-30T14:20:25.077Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from b682c6d41bc23353b5d80e02ca4961ac67624f4c before 31f12e38f2bfa78796d56d6bad88de73503681dc; from b682c6d41bc23353b5d80e02ca4961ac67624f4c before b7753d36d5c9ac41c7be6f11641510a32fd0846d; from b682c6d41bc23353b5d80e02ca4961ac67624f4c before d97c24d91d7dea4d5eaa241bf5fb1c3d692591d0; from b682c6d41bc23353b5d80e02ca4961ac67624f4c before 619eddf8a5e4e9809668210738be378381fdfd2d; from b682c6d41bc23353b5d80e02ca4961ac67624f4c before e104c02ad1c898fee1c39b8538689f17e0276a29; from b682c6d41bc23353b5d80e02ca4961ac67624f4c before 410855d5e5b63e6a9b5225f0680b68336de90ab2; from b682c6d41bc23353b5d80e02ca4961ac67624f4c before 68db0112f3663f53f6848b0ff75b12c9fc089a04; from b682c6d41bc23353b5d80e02ca4961ac67624f4c before 6c80207392fdb86107d7acbdbf4c86cac38da1af; 5.9 (not affected: before 5.9; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/31f12e38f2bfa78796d56d6bad88de73503681dc>
- <https://git.kernel.org/stable/c/b7753d36d5c9ac41c7be6f11641510a32fd0846d>
- <https://git.kernel.org/stable/c/d97c24d91d7dea4d5eaa241bf5fb1c3d692591d0>
- <https://git.kernel.org/stable/c/619eddf8a5e4e9809668210738be378381fdfd2d>
- <https://git.kernel.org/stable/c/e104c02ad1c898fee1c39b8538689f17e0276a29>
- <https://git.kernel.org/stable/c/410855d5e5b63e6a9b5225f0680b68336de90ab2>
- <https://git.kernel.org/stable/c/68db0112f3663f53f6848b0ff75b12c9fc089a04>
- <https://git.kernel.org/stable/c/6c80207392fdb86107d7acbdbf4c86cac38da1af>

## Sources

- CVE List: [CVE-2026-99897](https://www.cve.org/CVERecord?id=CVE-2026-99897), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-99897](https://nvd.nist.gov/vuln/detail/CVE-2026-99897), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-99897 · Whole record: https://cve.day/CVE-2026-99897.json · Rebuilt by cve.day 2026-11-30T14:33:32.574Z
