← CVE Intelligence

CVE-2021-47660

fs/ntfs3: Fix some memory leaks in an error handling path of 'log_replay()' PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected b46acd6a6a627d876898e1c84d3f84902264b445 before d8be98ab88250dc12a98efdb703792a537b0eac3; affected b46acd6a6a627d876898e1c84d3f84902264b445 before bc4a1d384a04c6dba9312e1421a9f9f7c03339a4; affected b46acd6a6a627d876898e1c84d3f84902264b445 before 2c97519ed6b4239594c58ddacf3d0d576cf070cc; affected b46acd6a6a627d876898e1c84d3f84902264b445 before e589f9b7078e1c0191613cd736f598e81d2390de
Linux / Linuxaffected 5.15; unaffected 0 before 5.15; unaffected 5.15.46 through 5.15.*; unaffected 5.17.14 through 5.17.*; unaffected 5.18.3 through 5.18.*; unaffected 5.19 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.