LiveActive security incident?Get immediate response
CVE Record

CVE-2021-47342: ext4: fix possible UAF when remounting r/o a mmp-protected file system

In the Linux kernel, the following vulnerability has been resolved: ext4: fix possible UAF when remounting r/o a mmp-protected file system After commit 618f003199c6 ("ext4: fix memory leak in ext4_fill_super"), after the file system is remounted read-only, there is a race where the kmmpd thread can exit, causing sbi->s_mmp_tsk to point at freed memory, which the call to ext4_stop_mmpd() can trip over. Fix this by only allowing kmmpd() to exit when it is stopped via ext4_stop_mmpd(). Bug-Report-Link: <20210629143603.2166962-1-yebin10@huawei.com>

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2021-47342 is a Linux kernel ext4 bug that can leave a pointer to freed memory when an MMP-protected filesystem is remounted read-only. The public record does not provide CVSS, business impact, or confirmed exploit activity.

Executive priority

Treat this as a kernel maintenance item unless local evidence shows ext4 MMP use on critical systems. No source-provided severity score or exploitation evidence supports emergency handling.

Technical view

The issue is a possible use-after-free in ext4 MMP handling. After a prior ext4_fill_super change, the kmmpd thread could exit during read-only remount, leaving sbi->s_mmp_tsk pointing to freed memory before ext4_stop_mmpd() uses it. Stable kernel commits change kmmpd exit behavior.

Likely exposure

Exposure appears limited to Linux systems using ext4 filesystems with multiple-mount protection where affected kernel code is present. The bundle lists Linux kernel commit identifiers and version 5.10.51, but does not map distro packages or configurations.

Exploitation context

The provided sources do not show active exploitation, and the CVE is not listed as KEV. The record describes a race condition in kernel filesystem handling, not a remote attack path or public exploit.

Researcher notes

The core condition is a race between read-only remount and kmmpd lifecycle management, causing a stale task pointer. Impact details, exploitability constraints, and affected downstream package ranges are not provided in the bundle.

Mitigation direction

  • Check vendor kernel advisories for CVE-2021-47342 coverage.
  • Apply Linux kernel updates that include the referenced stable ext4 fixes.
  • Prioritize systems using ext4 MMP on shared or sensitive storage.
  • Avoid assuming fixed status from upstream version alone; verify distro backports.

Validation and detection

  • Inventory Linux systems using ext4 with MMP enabled.
  • Map deployed kernel packages to vendor fixes or referenced stable commits.
  • Review operational workflows that remount ext4 filesystems read-only.
  • Check kernel logs for ext4 or MMP related crashes or warnings.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-47342 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
3Timeline events
2ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux5e4f5138bd8522ebe231a137682d3857209a2c07, eb7b40d9d3785f7a131fb0b1f89bb6efa46c1833, 618f003199c6188e01472b03cdbba227f1dc5f24, cecfdb9cf9a700d1037066173abac0617f6788dfunaffected
LinuxLinux5.10.51unaffected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.