ceph: pass cred pointer to ceph_mds_auth_match()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ceph: pass cred pointer to ceph_mds_auth_match()
This eliminates a redundant get_current_cred() call, because ceph_mds_check_access() has already obtained this pointer.
As a side effect, this also fixes a reference leak in ceph_mds_auth_match(): by omitting the get_current_cred() call, no additional cred reference is taken.
From the CVE record · Linux
The Linux kernel’s Ceph code leaks a credential reference in ceph_mds_auth_match() when it calls get_current_cred() unnecessarily. The input does not establish how an attacker could trigger the leak or whether authentication or user interaction is required.
Engineers running Linux kernels with Ceph support should check whether their kernel includes the fix; affected versions were not provided.