CVE-2021-47660: fs/ntfs3: Fix some memory leaks in an error handling path of 'log_replay()'
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: Fix some memory leaks in an error handling path of 'log_replay()'
All error handling paths lead to 'out' where many resources are freed.
Do it as well here instead of a direct return, otherwise 'log', 'ra' and
'log->one_page_buf' (at least) will leak.
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel memory leak in the NTFS3 filesystem driver. A local, low-privileged user could potentially drive an error path that leaks kernel memory and causes a denial of service. The sources do not show data theft, integrity impact, remote attack, or active exploitation.
Executive priority
Treat this as a routine-to-priority kernel maintenance item, not an emergency remote compromise. Patch affected Linux fleets through normal kernel update channels, with higher priority for shared systems with untrusted local users.
Technical view
The issue is CWE-401 in fs/ntfs3 log_replay(). One error path returned directly instead of using shared cleanup, leaving resources such as log, ra, and log->one_page_buf allocated. CVSS 3.1 is 5.5 with local attack vector, low complexity, low privileges, no user interaction, and high availability impact.
Likely exposure
Exposure is most likely on Linux systems running affected kernels with NTFS3 filesystem support. The CVE data lists Linux kernel versions around 5.15 through 5.18/5.19, but exact exposure depends on distro backports and kernel packaging.
Exploitation context
The CVE record does not report known exploitation and it is not listed as KEV. The CVSS vector indicates local access with low privileges is required. Evidence supports availability risk, not confidentiality or integrity compromise.
Researcher notes
The available evidence is limited to the CVE description, CVSS vector, CWE classification, and kernel stable commit references. The vulnerability is an error-handling cleanup bug in ntfs3 log replay; no public exploit status or detailed triggering conditions are provided in the bundle.
Mitigation direction
Apply vendor or distribution kernel updates that include the referenced upstream stable fixes.
Check Linux distribution advisories for backported fixes matching your deployed kernel builds.
Prioritize systems where untrusted local users can interact with NTFS3-mounted filesystems.
If patching is delayed, reduce unnecessary NTFS3 exposure where operationally feasible.
Validation and detection
Inventory Linux kernel versions and confirm whether NTFS3 support is present or used.
Map deployed kernels to distribution advisories or the referenced stable commits.
Review vulnerability scanner findings for CVE-2021-47660 against actual kernel package versions.
Monitor local systems for abnormal memory pressure or availability issues until patched.
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.
cwe · low confidence lookup
CWE-401: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
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.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-401 · source CWE mapping
Missing Release of Memory after Effective Lifetime
Missing Release of Memory after Effective Lifetime represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.