CVE-2024-53685
Last modified
CVE-2024-53685 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 2.6.35, < 5.10.234 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.177 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.125 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.70 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.7 | — |
| Linux | Linux Kernel | 2.6.34 | — |
| Linux | Linux Kernel | 6.13 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-53685?
How severe is CVE-2024-53685?
How do I fix CVE-2024-53685?
Are you affected by CVE-2024-53685?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
