CVE-2021-47660

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

Medium · published February 26, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
15.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00246 · 15.0th percentile
Published
2025-02-26T02:05Z
EPSS history
Timeline
  • 26 FEB 02:05Z
    fs/ntfs3: Fix some memory leaks in an error handling path of 'log_replay()'
    cvelistv5