CVE-2021-47342
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47342 affects the Linux kernel's ext4 filesystem implementation. The vulnerability was discovered in relation to a possible Use-After-Free (UAF) condition when remounting a Multiple Mount Protection (MMP) protected filesystem as read-only. This issue emerged after the implementation of commit 618f003199c6 which was intended to fix a memory leak in ext4_fill_super. The vulnerability was reported by Ye Bin and disclosed in 2024 (NVD).

Technical details

The vulnerability occurs due to a race condition where the kmmpd thread can exit while the filesystem is being remounted as read-only, causing sbi->s_mmp_tsk to point at freed memory. This can be triggered when ext4_stop_mmpd() attempts to access this memory. The issue has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could lead to a Use-After-Free condition in the Linux kernel, potentially resulting in system crashes, information leaks, or privilege escalation. The issue affects Linux kernel versions up to (excluding) 5.10.77 and versions from (including) 5.11 up to (excluding) 5.13.3 (NVD).

Exploitability

The vulnerability requires local access and low privileges to exploit. An attacker would need to have the ability to mount and remount filesystems on the affected system. The attack complexity is considered low, but requires specific timing to trigger the race condition (NVD).

Mitigation and workarounds

The vulnerability has been fixed by modifying the kmmpd() function to only allow exit when explicitly stopped via ext4_stop_mmpd(). The fix has been implemented in Linux kernel versions 5.10.77 and 5.13.3 and later. Users should upgrade to these or later versions to mitigate the vulnerability (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74730CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 22, 2026
CVE-2026-74733HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesAug 22, 2026
CVE-2026-74726HIGH7.3
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesAug 22, 2026
CVE-2026-74732MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • kernel-selftests-internal
NoYesAug 22, 2026
CVE-2026-74728NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-modules-core
NoNoAug 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management