Kernel panic via mountpoint reference race
Published May 4, 2020 · Updated Aug 4, 2024
Race condition in fs/namespace.c in the Linux kernel allows local users to trigger a kernel panic through concurrent pivot_root operations. pivot_root increments a mountpoint's m_count without holding mount_lock while put_mountpoint can decrement it under that lock, corrupting the reference counter. Unprivileged local access is sufficient on 4.4.x before 4.4.221, 4.9.x before 4.9.221, 4.14.x before 4.14.178, 4.19.x before 4.19.119, and 5.x before 5.3; exploitation crashes the host without reported data exposure or modification.
Summary
What happened
Race condition in fs/namespace.c in the Linux kernel allows local users to trigger a kernel panic through concurrent pivot_root operations. pivot_root increments a mountpoint's m_count without holding mount_lock while put_mountpoint can decrement it under that lock, corrupting the reference counter. Unprivileged local access is sufficient on 4.4.x before 4.4.221, 4.9.x before 4.9.221, 4.14.x before 4.14.178, 4.19.x before 4.19.119, and 5.x before 5.3; exploitation crashes the host without reported data exposure or modification.
The record
- CVE
- CVE-2020-12114
- Published
- May 4, 2020
- Updated
- Aug 4, 2024
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-362, CAPEC-29, CAPEC-26, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 4, 2020CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record 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?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
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