{"id":"CVE-2021-47660","state":"PUBLISHED","title":"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:\n\nfs/ntfs3: Fix some memory leaks in an error handling path of 'log_replay()'\n\nAll error handling paths lead to 'out' where many resources are freed.\n\nDo it as well here instead of a direct return, otherwise 'log', 'ra' and\n'log->one_page_buf' (at least) will leak.","publishedAt":"2025-02-26T02:05:57.461Z","updatedAt":"2026-05-11T13:58:48.160Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"d8be98ab88250dc12a98efdb703792a537b0eac3","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"bc4a1d384a04c6dba9312e1421a9f9f7c03339a4","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"2c97519ed6b4239594c58ddacf3d0d576cf070cc","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"e589f9b7078e1c0191613cd736f598e81d2390de","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/fslog.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.46","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.17.14","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18.3","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/fslog.c"]}],"references":["https://git.kernel.org/stable/c/d8be98ab88250dc12a98efdb703792a537b0eac3","https://git.kernel.org/stable/c/bc4a1d384a04c6dba9312e1421a9f9f7c03339a4","https://git.kernel.org/stable/c/2c97519ed6b4239594c58ddacf3d0d576cf070cc","https://git.kernel.org/stable/c/e589f9b7078e1c0191613cd736f598e81d2390de"],"weaknesses":["CWE-401"],"ingestedAt":"2026-10-29T19:49:19.404Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/47xxx/CVE-2021-47660.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-47660","state":"PUBLISHED","datePublished":"2025-02-26T02:05:57.461Z","dateUpdated":"2026-05-11T13:58:48.160Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-02-26T02:04:38.057Z"},"containers":{"cna":{"title":"fs/ntfs3: Fix some memory leaks in an error handling path of 'log_replay()'","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: Fix some memory leaks in an error handling path of 'log_replay()'\n\nAll error handling paths lead to 'out' where many resources are freed.\n\nDo it as well here instead of a direct return, otherwise 'log', 'ra' and\n'log->one_page_buf' (at least) will leak."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"d8be98ab88250dc12a98efdb703792a537b0eac3","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"bc4a1d384a04c6dba9312e1421a9f9f7c03339a4","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"2c97519ed6b4239594c58ddacf3d0d576cf070cc","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","status":"affected","lessThan":"e589f9b7078e1c0191613cd736f598e81d2390de","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/fslog.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.46","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.17.14","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18.3","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/fslog.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d8be98ab88250dc12a98efdb703792a537b0eac3"},{"url":"https://git.kernel.org/stable/c/bc4a1d384a04c6dba9312e1421a9f9f7c03339a4"},{"url":"https://git.kernel.org/stable/c/2c97519ed6b4239594c58ddacf3d0d576cf070cc"},{"url":"https://git.kernel.org/stable/c/e589f9b7078e1c0191613cd736f598e81d2390de"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T13:58:48.160Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.15.46"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.17.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.18.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2021-47660","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T19:44:52.140091Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-401","lang":"en","type":"CWE","description":"CWE-401 Missing Release of Memory after Effective Lifetime"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T19:46:59.435Z"}}]}}}