What’s Vulnerable › Vulnerabilities

CVE-2021-47660: fs/ntfs3: Fix some memory leaks in an error handling path of 'log_replay()'

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.46, 5.17.14, 5.18.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47660 or the next vulnerability affects your stack