CVE-2024-40938landlock: Fix d_parent walk
- 5.5MediumCVSS base score
- 0.25%Exploitation in 30 daysEPSS · top 84% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: landlock: Fix d_parent walk The WARN_ON_ONCE() in collect_domain_accesses() can be triggered when trying to link a root mount point. This cannot work in practice because this directory is mounted, but the VFS check is done after the call to security_path_link(). Do not use source directory's d_parent when the source directory is the mount point. [mic: Fix commit message]
Timeline
ID reserved
By Linux
Published
- 22 months later
· 22 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.25% · top 84% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected b91c3e4ea756b12b7d992529226edce1cfd854d7 – < b6e5e696435832b33e40775f060ef5c95f4fda1f
- affected b91c3e4ea756b12b7d992529226edce1cfd854d7 – < cc30d05b34f9a087a6928d09b131f7b491e9ab11
- affected b91c3e4ea756b12b7d992529226edce1cfd854d7 – < c7618c7b0b8c45bcef34410cc1d1e953eb17f8f6
- affected b91c3e4ea756b12b7d992529226edce1cfd854d7 – < 88da52ccd66e65f2e63a6c35c9dff55d448ef4dc
- affected 5.19
- unaffected < 5.19
- unaffected 6.1.95 – ≤ 6.1.*
- unaffected 6.6.35 – ≤ 6.6.*
- unaffected 6.9.6 – ≤ 6.9.*
- unaffected 6.10 – ≤ *
References
References5
- https://git.kernel.org/stable/c/b6e5e696435832b33e40775f060ef5c95f4fda1f (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/cc30d05b34f9a087a6928d09b131f7b491e9ab11 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/c7618c7b0b8c45bcef34410cc1d1e953eb17f8f6 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/88da52ccd66e65f2e63a6c35c9dff55d448ef4dc (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-38826 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-40938)Record last updated .