Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2021-47660

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • b46acd6a6a627d876898e1c84d3f84902264b445 to < d8be98ab88250dc12a98efdb703792a537b0eac3affected
  • b46acd6a6a627d876898e1c84d3f84902264b445 to < bc4a1d384a04c6dba9312e1421a9f9f7c03339a4affected
  • b46acd6a6a627d876898e1c84d3f84902264b445 to < 2c97519ed6b4239594c58ddacf3d0d576cf070ccaffected
  • b46acd6a6a627d876898e1c84d3f84902264b445 to < e589f9b7078e1c0191613cd736f598e81d2390deaffected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 5.15.46 to ≤ 5.15.*unaffected
  • 5.17.14 to ≤ 5.17.*unaffected
  • 5.18.3 to ≤ 5.18.*unaffected
  • 5.19 to ≤ *unaffected

References