Kernel crash via dangling MMP thread pointer
Published May 21, 2024 · Updated May 23, 2026
Use-after-free in ext4 in Linux 5.10.51 through 5.10.76 and 5.12.18 through 5.12.19 allows local users to crash the kernel during a read-only remount. A race lets kmmpd exit after the remount while sbi->s_mmp_tsk still references its freed task, and ext4_stop_mmpd then accesses that dangling pointer. Exploitation requires privileges to remount an MMP-protected ext4 file system read-only and can interrupt the host through a kernel crash.
Summary
What happened
Use-after-free in ext4 in Linux 5.10.51 through 5.10.76 and 5.12.18 through 5.12.19 allows local users to crash the kernel during a read-only remount. A race lets kmmpd exit after the remount while sbi->s_mmp_tsk still references its freed task, and ext4_stop_mmpd then accesses that dangling pointer. Exploitation requires privileges to remount an MMP-protected ext4 file system read-only and can interrupt the host through a kernel crash.
The record
- CVE
- CVE-2021-47342
- Published
- May 21, 2024
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- May 21, 2024CVE publishedPublication date reported by the CVE source.
- May 23, 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.10.51 <5.10.77
- Affected versionversion=5.12.18 <5.13
- Affected versionversion=5e4f5138bd8522ebe231a137682d3857209a2c07 <b663890d854403e566169f7e90aed5cd6ff64f6b
- Affected versionversion=618f003199c6188e01472b03cdbba227f1dc5f24 <61bb4a1c417e5b95d9edb4f887f131de32e419cb
- Affected versionversion=cecfdb9cf9a700d1037066173abac0617f6788df
- Affected versionversion=eb7b40d9d3785f7a131fb0b1f89bb6efa46c1833 <7ed572cdf11081f8f9e07abd4bea56a3f2c4edbd
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.
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