fs/ntfs3: Fix some memory leaks in an error handling path of 'log_replay()'
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
An error-handling path in the Linux kernel's ntfs3 log_replay() returns without freeing several resources, causing a memory leak. The input does not specify how an attacker could trigger this path or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check whether their version includes the affected ntfs3 code; affected versions are not specified.