What’s Vulnerable › Vulnerabilities
CVE-2021-47660: fs/ntfs3: Fix some memory leaks in an error handling path of 'log_replay()'
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-26 · updated 2026-06-17
- Weakness: CWE-401
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
- Linux kernel: from 5.15 before 5.15.46; from 5.16 before 5.17.14; from 5.18 before 5.18.3 — fixed in 5.15.46, 5.17.14, 5.18.3
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
- https://git.kernel.org/stable/c/2c97519ed6b4239594c58ddacf3d0d576cf070cc
- https://git.kernel.org/stable/c/bc4a1d384a04c6dba9312e1421a9f9f7c03339a4
- https://git.kernel.org/stable/c/d8be98ab88250dc12a98efdb703792a537b0eac3
- https://git.kernel.org/stable/c/e589f9b7078e1c0191613cd736f598e81d2390de
Get alerted when CVE-2021-47660 or the next vulnerability affects your stack