Bug 2347805 (CVE-2021-47660) - CVE-2021-47660 kernel: fs/ntfs3: Fix some memory leaks in an error handling path of 'log_replay()'
Summary: CVE-2021-47660 kernel: fs/ntfs3: Fix some memory leaks in an error handling p...
Keywords:
Status: NEW
Alias: CVE-2021-47660
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:07 UTC by OSIDB Bzimport
Modified: 2025-02-26 18:12 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:07:21 UTC
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.

Comment 1 Avinash Hanwate 2025-02-26 14:03:38 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022652-CVE-2021-47660-af30@gregkh/T

Comment 2 Avinash Hanwate 2025-02-26 18:12:02 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022652-CVE-2021-47660-af30@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.