Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 3fd945a79e147ee10f84213976889b29049c3519 before 657dc653b06a3cc0282aea447a3f137fa94066a4; affected 3fd945a79e147ee10f84213976889b29049c3519 before 5895d0164c84d7fec6abc198920c257f55c51899; affected 3fd945a79e147ee10f84213976889b29049c3519 before 097cd68f46686391a98f2618188f0cb7b7570de2; affected 3fd945a79e147ee10f84213976889b29049c3519 before 13b8b9d6f59ef17fb96c298c3a0d62a8306950cc; affected 3fd945a79e147ee10f84213976889b29049c3519 before 040d159a45ded7f33201421a81df0aa2a86e5a0b; affected 0f2b2d9e881c90402dbe28f9ba831775b7992e1f; affected d42ad3f161a5a487f81915c406f46943c7187a0a; affected e4b168c64da06954be5d520f6c16469b1cadc069; affected 5.10.234 before 5.11; affected 5.15.177 before 5.16; affected 6.1.125 before 6.2 |
| Linux / Linux | affected 6.6; unaffected 0 before 6.6; unaffected 6.6.130 through 6.6.*; unaffected 6.12.78 through 6.12.*; unaffected 6.18.19 through 6.18.*; unaffected 6.19.9 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/657dc653b06a3cc0282aea447a3f137fa94066a4
- https://git.kernel.org/stable/c/5895d0164c84d7fec6abc198920c257f55c51899
- https://git.kernel.org/stable/c/097cd68f46686391a98f2618188f0cb7b7570de2
- https://git.kernel.org/stable/c/13b8b9d6f59ef17fb96c298c3a0d62a8306950cc
- https://git.kernel.org/stable/c/040d159a45ded7f33201421a81df0aa2a86e5a0b