CVE-2024-56563

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-56563
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56563.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-56563
Downstream
Related
Published
2024-12-27T14:23:07Z
Modified
2025-10-17T18:03:10.300127Z
Summary
ceph: fix cred leak in ceph_mds_check_access()
Details

In the Linux kernel, the following vulnerability has been resolved:

ceph: fix cred leak in cephmdscheck_access()

getcurrentcred() increments the reference counter, but the put_cred() call was missing.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
596afb0b8933ba6ed7227adcc538db26feb25c74
Fixed
e3d1c9e2b811f13bdbbb962c2b17a6091c28522c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
596afb0b8933ba6ed7227adcc538db26feb25c74
Fixed
c5cf420303256dcd6ff175643e9e9558543c2047

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.12
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.12.1
v6.12.2
v6.12.3

Database specific

vanir_signatures

[
    {
        "signature_type": "Line",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e3d1c9e2b811f13bdbbb962c2b17a6091c28522c",
        "signature_version": "v1",
        "target": {
            "file": "fs/ceph/mds_client.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "23607905959737099455066490313321726439",
                "270771070934856136032097781672931352019",
                "18357397171176734975586423704381793319",
                "286056835836985933684213073140212079389",
                "180675576825510507181270194574527601458",
                "268312201708635587611183398784983835143",
                "78028041314058401411794063738409270874"
            ]
        },
        "id": "CVE-2024-56563-247a0165"
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e3d1c9e2b811f13bdbbb962c2b17a6091c28522c",
        "signature_version": "v1",
        "target": {
            "function": "ceph_mds_check_access",
            "file": "fs/ceph/mds_client.c"
        },
        "digest": {
            "function_hash": "150748926625860254214959683883623526494",
            "length": 1402.0
        },
        "id": "CVE-2024-56563-613f7b69"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c5cf420303256dcd6ff175643e9e9558543c2047",
        "signature_version": "v1",
        "target": {
            "file": "fs/ceph/mds_client.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "23607905959737099455066490313321726439",
                "270771070934856136032097781672931352019",
                "18357397171176734975586423704381793319",
                "286056835836985933684213073140212079389",
                "180675576825510507181270194574527601458",
                "268312201708635587611183398784983835143",
                "78028041314058401411794063738409270874"
            ]
        },
        "id": "CVE-2024-56563-94313e37"
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c5cf420303256dcd6ff175643e9e9558543c2047",
        "signature_version": "v1",
        "target": {
            "function": "ceph_mds_check_access",
            "file": "fs/ceph/mds_client.c"
        },
        "digest": {
            "function_hash": "150748926625860254214959683883623526494",
            "length": 1402.0
        },
        "id": "CVE-2024-56563-f71976ff"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.12.4