ceph: fix memory leaks in ceph_mdsc_build_path()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3fd945a79e147ee10f84213976889b29049c3519 · < 040d159a45ded7f33201421a81df0aa2a86e5a0b| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s Ceph path-building function can leak memory on error paths that fail to free an allocated path. The input does not specify how an attacker could trigger the leak or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check whether their version includes the Ceph fix; affected versions are not specified.