Local denial of service via mount-point d_parent walk
Published Jul 12, 2024 · Updated May 11, 2026
Denial of service in affected Linux kernels allows local users to trigger a kernel warning by linking a root mount point. Landlock collect_domain_accesses() wrongly walks the source directory d_parent when the source is itself the mount point, before VFS rejects the link. With panic_on_warn enabled, the warning crashes the host; otherwise, the attempted link cannot succeed and no confidentiality or integrity impact is reported.
Summary
What happened
Denial of service in affected Linux kernels allows local users to trigger a kernel warning by linking a root mount point. Landlock collect_domain_accesses() wrongly walks the source directory d_parent when the source is itself the mount point, before VFS rejects the link. With panic_on_warn enabled, the warning crashes the host; otherwise, the attempted link cannot succeed and no confidentiality or integrity impact is reported.
The record
- CVE
- CVE-2024-40938
- Published
- Jul 12, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 12, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.19
- Affected versionversion=b91c3e4ea756b12b7d992529226edce1cfd854d7 <88da52ccd66e65f2e63a6c35c9dff55d448ef4dc
- Affected versionversion=b91c3e4ea756b12b7d992529226edce1cfd854d7 <b6e5e696435832b33e40775f060ef5c95f4fda1f
- Affected versionversion=b91c3e4ea756b12b7d992529226edce1cfd854d7 <c7618c7b0b8c45bcef34410cc1d1e953eb17f8f6
- Affected versionversion=b91c3e4ea756b12b7d992529226edce1cfd854d7 <cc30d05b34f9a087a6928d09b131f7b491e9ab11
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo