{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-40938","id":"CVE-2024-40938","title":"landlock: Fix d_parent walk","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlandlock: Fix d_parent walk\n\nThe WARN_ON_ONCE() in collect_domain_accesses() can be triggered when\ntrying to link a root mount point.  This cannot work in practice because\nthis directory is mounted, but the VFS check is done after the call to\nsecurity_path_link().\n\nDo not use source directory's d_parent when the source directory ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nlandlock: Fix d_parent walk\n\nThe WARN_ON_ONCE() in collect_domain_accesses() can be triggered when\ntrying to link a root mount point.  This cannot work in practice because\nthis directory is mounted, but the VFS check is done after the call to\nsecurity_path_link().\n\nDo not use source directory's d_parent when the source directory is the\nmount point.\n\n[mic: Fix commit message]","published":"2024-07-12T12:25:14.463Z","updated":"2026-10-28T02:31:05.846196630Z","reserved":"2024-07-12T12:17:45.584Z","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":"b91c3e4ea756b12b7d992529226edce1cfd854d7","lessThan":"b6e5e696435832b33e40775f060ef5c95f4fda1f","status":"affected","versionType":"git"},{"version":"b91c3e4ea756b12b7d992529226edce1cfd854d7","lessThan":"cc30d05b34f9a087a6928d09b131f7b491e9ab11","status":"affected","versionType":"git"},{"version":"b91c3e4ea756b12b7d992529226edce1cfd854d7","lessThan":"c7618c7b0b8c45bcef34410cc1d1e953eb17f8f6","status":"affected","versionType":"git"},{"version":"b91c3e4ea756b12b7d992529226edce1cfd854d7","lessThan":"88da52ccd66e65f2e63a6c35c9dff55d448ef4dc","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","lessThan":"5.19","status":"unaffected","versionType":"semver"},{"version":"6.1.95","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.35","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.9.6","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/b6e5e696435832b33e40775f060ef5c95f4fda1f","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/cc30d05b34f9a087a6928d09b131f7b491e9ab11","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/c7618c7b0b8c45bcef34410cc1d1e953eb17f8f6","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/88da52ccd66e65f2e63a6c35c9dff55d448ef4dc","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40938.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40938","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.00249,"epssPercentile":0.16419,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-40938","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40938","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-40938","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-40938","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}