CVE-2024-53685
ceph: give up on paths longer than PATH_MAX
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.
INFO
Published Date :
Jan. 11, 2025, 1:15 p.m.
Last Modified :
Nov. 3, 2025, 9:17 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Apply the latest Linux kernel security patch.
- Reboot the affected system after patching.
- Verify the patch installation and system stability.
Public PoC/Exploit Available at Github
CVE-2024-53685 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-53685.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-53685 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-53685
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Java Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-53685 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-53685 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 03, 2025
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html Added Reference https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html -
Initial Analysis by [email protected]
Oct. 15, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-835 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:2.6.34:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:2.6.34:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:2.6.34:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:2.6.34:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:2.6.34:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:2.6.34:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.35 up to (excluding) 5.10.234 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.177 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.125 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.70 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.7 *cpe:2.3:o:linux:linux_kernel:2.6.34:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:* Added Reference Type kernel.org: https://git.kernel.org/stable/c/0f2b2d9e881c90402dbe28f9ba831775b7992e1f Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/550f7ca98ee028a606aa75705a7e77b1bd11720f Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/99a37ab76a315c8307eb5b0dc095d8ad9d8efeaa Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c47ed91156daf328601d02b58d52d9804da54108 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d42ad3f161a5a487f81915c406f46943c7187a0a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e4b168c64da06954be5d520f6c16469b1cadc069 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Feb. 02, 2025
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/0f2b2d9e881c90402dbe28f9ba831775b7992e1f -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jan. 23, 2025
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/d42ad3f161a5a487f81915c406f46943c7187a0a -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jan. 17, 2025
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/e4b168c64da06954be5d520f6c16469b1cadc069 -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jan. 11, 2025
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/550f7ca98ee028a606aa75705a7e77b1bd11720f Added Reference https://git.kernel.org/stable/c/99a37ab76a315c8307eb5b0dc095d8ad9d8efeaa Added Reference https://git.kernel.org/stable/c/c47ed91156daf328601d02b58d52d9804da54108