CVE-2024-53685
ceph: give up on paths longer than PATH_MAX
Check your servers for CVE-2024-53685
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-53685 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
ceph: give up on paths longer than PATH_MAX
If the full path to be built by ceph_mdsc_build_path() happens to be longer than PATH_MAX, then this function will enter an endless (retry) loop, effectively blocking the whole task. Most of the machine becomes unusable, making this a very simple and effective DoS vulnerability.
I cannot imagine why this retry was ever implemented, but it seems rather useless and harmful to me. Let's remove it and fail with ENAMETOOLONG instead.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 9030aaf9bf0a1eee47a154c316c789e959638b0f, before 0f2b2d9e881c90402dbe28f9ba831775b7992e1f affected from 9030aaf9bf0a1eee47a154c316c789e959638b0f, before d42ad3f161a5a487f81915c406f46943c7187a0a affected from 9030aaf9bf0a1eee47a154c316c789e959638b0f, before e4b168c64da06954be5d520f6c16469b1cadc069 affected from 9030aaf9bf0a1eee47a154c316c789e959638b0f, before c47ed91156daf328601d02b58d52d9804da54108 affected from 9030aaf9bf0a1eee47a154c316c789e959638b0f, before 99a37ab76a315c8307eb5b0dc095d8ad9d8efeaa affected from 9030aaf9bf0a1eee47a154c316c789e959638b0f, before 550f7ca98ee028a606aa75705a7e77b1bd11720f
Other versions: unaffected
|
| Linux |
affected 2.6.34 unaffected before 2.6.34 unaffected from 5.10.234 up to and including 5.10.* unaffected from 5.15.177 up to and including 5.15.* unaffected from 6.1.125 up to and including 6.1.* unaffected from 6.6.70 up to and including 6.6.* unaffected from 6.12.7 up to and including 6.12.* unaffected 6.13 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-53685 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-53685
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-53685
trivy image --scanners vuln IMAGE | grep CVE-2024-53685
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/0f2b2d9e881c90402dbe28f9ba831775b7992e1f git.kernel.org
- https://git.kernel.org/stable/c/d42ad3f161a5a487f81915c406f46943c7187a0a git.kernel.org
- https://git.kernel.org/stable/c/e4b168c64da06954be5d520f6c16469b1cadc069 git.kernel.org
- https://git.kernel.org/stable/c/c47ed91156daf328601d02b58d52d9804da54108 git.kernel.org
- https://git.kernel.org/stable/c/99a37ab76a315c8307eb5b0dc095d8ad9d8efeaa git.kernel.org
- https://git.kernel.org/stable/c/550f7ca98ee028a606aa75705a7e77b1bd11720f git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
Source: the record CVE-2024-53685 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse