Local service interruption via unchecked mount namespace
Published Oct 28, 2025 · Updated Oct 28, 2025
NULL-pointer dereference in Linux kernel 6.16 through 6.17.2 allows local users to interrupt service through a fanotify mark. do_fanotify_mark() dereferences mntns->user_ns without checking whether mnt_ns_from_dentry() returned NULL for a path that is not a mount namespace object. A low-privileged local user can trigger the kernel Oops inside user and mount namespaces, terminating the process and disrupting the host.
Summary
What happened
NULL-pointer dereference in Linux kernel 6.16 through 6.17.2 allows local users to interrupt service through a fanotify mark. do_fanotify_mark() dereferences mntns->user_ns without checking whether mnt_ns_from_dentry() returned NULL for a path that is not a mount namespace object. A low-privileged local user can trigger the kernel Oops inside user and mount namespaces, terminating the process and disrupting the host.
The record
- CVE
- CVE-2025-40072
- Published
- Oct 28, 2025
- Updated
- Oct 28, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 28, 2025CVE publishedPublication date reported by the CVE source.
- Oct 28, 2025Record 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=58f5fbeb367ff6f30a2448b2cad70f70b2de4b06 <62e59ffe8787b5550ccff70c30b6f6be6a3ac3dd
- Affected versionversion=58f5fbeb367ff6f30a2448b2cad70f70b2de4b06 <73ce2a774ad6497cbd48dc4f8a5d699bc417f3fa
- Affected versionversion=6.16
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
- fanotify_nullptr.c reproducerproof of concept · demonstrated
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