{"id":"CVE-2024-56564","state":"PUBLISHED","title":"ceph: pass cred pointer to ceph_mds_auth_match()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: pass cred pointer to ceph_mds_auth_match()\n\nThis eliminates a redundant get_current_cred() call, because\nceph_mds_check_access() has already obtained this pointer.\n\nAs a side effect, this also fixes a reference leak in\nceph_mds_auth_match(): by omitting the get_current_cred() call, no\nadditional cred reference is taken.","publishedAt":"2024-12-27T14:23:08.563Z","updatedAt":"2026-05-11T20:54:52.602Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"596afb0b8933ba6ed7227adcc538db26feb25c74","status":"affected","lessThan":"ffa6ba7bdb7f07f49c9e9150b0176df066520f62","versionType":"git"},{"version":"596afb0b8933ba6ed7227adcc538db26feb25c74","status":"affected","lessThan":"23426309a4064b25a961e1c72961d8bfc7c8c990","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ceph/mds_client.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.4","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ceph/mds_client.c"]}],"references":["https://git.kernel.org/stable/c/ffa6ba7bdb7f07f49c9e9150b0176df066520f62","https://git.kernel.org/stable/c/23426309a4064b25a961e1c72961d8bfc7c8c990"],"weaknesses":[],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/56xxx/CVE-2024-56564.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-56564","state":"PUBLISHED","datePublished":"2024-12-27T14:23:08.563Z","dateUpdated":"2026-05-11T20:54:52.602Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-12-27T14:03:05.995Z"},"containers":{"cna":{"title":"ceph: pass cred pointer to ceph_mds_auth_match()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: pass cred pointer to ceph_mds_auth_match()\n\nThis eliminates a redundant get_current_cred() call, because\nceph_mds_check_access() has already obtained this pointer.\n\nAs a side effect, this also fixes a reference leak in\nceph_mds_auth_match(): by omitting the get_current_cred() call, no\nadditional cred reference is taken."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"596afb0b8933ba6ed7227adcc538db26feb25c74","status":"affected","lessThan":"ffa6ba7bdb7f07f49c9e9150b0176df066520f62","versionType":"git"},{"version":"596afb0b8933ba6ed7227adcc538db26feb25c74","status":"affected","lessThan":"23426309a4064b25a961e1c72961d8bfc7c8c990","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ceph/mds_client.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.4","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ceph/mds_client.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ffa6ba7bdb7f07f49c9e9150b0176df066520f62"},{"url":"https://git.kernel.org/stable/c/23426309a4064b25a961e1c72961d8bfc7c8c990"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:54:52.602Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.13"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}