{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-53685","id":"CVE-2024-53685","title":"ceph: give up on paths longer than PATH_MAX","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: give up on paths longer than PATH_MAX\n\nIf the full path to be built by ceph_mdsc_build_path() happens to be\nlonger than PATH_MAX, then this function will enter an endless (retry)\nloop, effectively blocking the whole task.  Most of the machine\nbecomes unusable, making this a very simple and effective DoS\nvulnerability.\n\nI ca","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: give up on paths longer than PATH_MAX\n\nIf the full path to be built by ceph_mdsc_build_path() happens to be\nlonger than PATH_MAX, then this function will enter an endless (retry)\nloop, effectively blocking the whole task.  Most of the machine\nbecomes unusable, making this a very simple and effective DoS\nvulnerability.\n\nI cannot imagine why this retry was ever implemented, but it seems\nrather useless and harmful to me.  Let's remove it and fail with\nENAMETOOLONG instead.","published":"2025-01-11T12:35:40.252Z","updated":"2026-11-07T02:30:34.709731718Z","reserved":"2025-01-11T12:34:02.558Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9030aaf9bf0a1eee47a154c316c789e959638b0f","lessThan":"0f2b2d9e881c90402dbe28f9ba831775b7992e1f","status":"affected","versionType":"git"},{"version":"9030aaf9bf0a1eee47a154c316c789e959638b0f","lessThan":"d42ad3f161a5a487f81915c406f46943c7187a0a","status":"affected","versionType":"git"},{"version":"9030aaf9bf0a1eee47a154c316c789e959638b0f","lessThan":"e4b168c64da06954be5d520f6c16469b1cadc069","status":"affected","versionType":"git"},{"version":"9030aaf9bf0a1eee47a154c316c789e959638b0f","lessThan":"c47ed91156daf328601d02b58d52d9804da54108","status":"affected","versionType":"git"},{"version":"9030aaf9bf0a1eee47a154c316c789e959638b0f","lessThan":"99a37ab76a315c8307eb5b0dc095d8ad9d8efeaa","status":"affected","versionType":"git"},{"version":"9030aaf9bf0a1eee47a154c316c789e959638b0f","lessThan":"550f7ca98ee028a606aa75705a7e77b1bd11720f","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.34","status":"affected"},{"version":"0","lessThan":"2.6.34","status":"unaffected","versionType":"semver"},{"version":"5.10.234","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.177","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.125","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.70","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.7","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-835"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/0f2b2d9e881c90402dbe28f9ba831775b7992e1f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d42ad3f161a5a487f81915c406f46943c7187a0a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e4b168c64da06954be5d520f6c16469b1cadc069","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c47ed91156daf328601d02b58d52d9804da54108","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/99a37ab76a315c8307eb5b0dc095d8ad9d8efeaa","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/550f7ca98ee028a606aa75705a7e77b1bd11720f","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53685.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53685","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00231,"epssPercentile":0.141,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-53685","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53685","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-53685","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-53685","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}