CVE-2024-53685: Linux kernel · ceph: give up on paths longer than PATH_MAX
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 00:56 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 11 Jan 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix is available that removes the retry loop and causes the function to fail with ENAMETOOLONG when the path length exceeds PATH_MAX. Users should apply the official Linux kernel patch that addresses this issue. No other mitigations are indicated.
Description
CVE-2024-53685 is a denial-of-service vulnerability in the Linux kernel's Ceph filesystem code. The function ceph_mdsc_build_path() enters an endless retry loop if the constructed path length exceeds PATH_MAX, causing the affected task to block indefinitely and rendering much of the system unusable. The issue has been resolved by removing the retry loop and returning an ENAMETOOLONG error instead.
References
- nvd.nist.gov/vuln/detail/CVE-2024-53685 (opens in a new tab)
- git.kernel.org/stable/c/0f2b2d9e881c90402dbe28f9ba831775b7992e1f (opens in a new tab)
- git.kernel.org/stable/c/550f7ca98ee028a606aa75705a7e77b1bd11720f (opens in a new tab)
- git.kernel.org/stable/c/99a37ab76a315c8307eb5b0dc095d8ad9d8efeaa (opens in a new tab)
- git.kernel.org/stable/c/c47ed91156daf328601d02b58d52d9804da54108 (opens in a new tab)
- git.kernel.org/stable/c/d42ad3f161a5a487f81915c406f46943c7187a0a (opens in a new tab)
- git.kernel.org/stable/c/e4b168c64da06954be5d520f6c16469b1cadc069 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)