CVE-2021-47660
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2021-47660 is a vulnerability in the Linux kernel's NTFS3 filesystem module, specifically in the error handling path of the 'log_replay()' function. The issue was discovered and fixed in 2021, with the patch being integrated into various Linux distributions. The vulnerability affects systems using the NTFS3 filesystem module (Debian Security, Ubuntu Security).

Technical details

The vulnerability stems from improper error handling in the 'logreplay()' function within the NTFS3 filesystem module. When an error condition is encountered, the code directly returns instead of properly cleaning up resources, leading to memory leaks of 'log', 'ra', and 'log->onepage_buf' resources. The fix involves modifying the error handling path to properly free these resources by using the 'goto out' statement instead of a direct return (Kernel Git).

Impact

The vulnerability results in memory leaks in the Linux kernel when handling NTFS3 filesystem operations, specifically during journal replay operations. This could lead to resource exhaustion over time if the affected code path is repeatedly triggered (Debian Security).

Mitigation and workarounds

The issue has been fixed in various Linux distributions through kernel updates. For example, Debian has fixed versions in bullseye (5.10.223-1), bookworm (6.1.129-1), and sid/trixie (6.12.17-1). Ubuntu has marked this as a medium priority issue and is working on updates for affected versions (Debian Security, Ubuntu Security).

Additional resources


SourceThis report was generated using AI

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