ceph: fix memory leaks in ceph_mdsc_build_path()
In the Linux kernel, the following vulnerability has been resolved: ceph: fix memory leaks in ceph_mdsc_build_path() Add __putname() calls to error code paths that did not free the "path" pointer obtained by __getname(). If ownership of this pointer is not passed to the caller via path_info.path, the function must free it before returning.
02 / AFFECTED SOFTWARE
Affected packages
1286 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
In the Linux kernel, the following vulnerability has been resolved: ceph: fix memory leaks in ceph_mdsc_build_path() Add __putname() calls to error code paths that did not free the "path" pointer obtained by __getname(). If ownership of this pointer is not passed to the caller via path_info.path, the function must free it before returning.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/040d159a45ded7f33201421a81df0aa2a86e5a0b
- https://git.kernel.org/stable/c/097cd68f46686391a98f2618188f0cb7b7570de2
- https://git.kernel.org/stable/c/13b8b9d6f59ef17fb96c298c3a0d62a8306950cc
- https://git.kernel.org/stable/c/5895d0164c84d7fec6abc198920c257f55c51899
- https://git.kernel.org/stable/c/657dc653b06a3cc0282aea447a3f137fa94066a4
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43419.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-43419