{"id":"CVE-2024-50064","state":"PUBLISHED","title":"zram: free secondary algorithms names","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nzram: free secondary algorithms names\n\nWe need to kfree() secondary algorithms names when reset zram device that\nhad multi-streams, otherwise we leak memory.\n\n[senozhatsky@chromium.org: kfree(NULL) is legal]","publishedAt":"2024-10-21T19:39:52.348Z","updatedAt":"2026-05-11T20:44:43.114Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"001d9273570115b2eb360d5452bbc46f6cc063a1","status":"affected","lessThan":"6272936fd242ca1f784c3e21596dfb3859dff276","versionType":"git"},{"version":"001d9273570115b2eb360d5452bbc46f6cc063a1","status":"affected","lessThan":"ef35cc0d15b89dd013e1bb829fe97db7b1ab79eb","versionType":"git"},{"version":"001d9273570115b2eb360d5452bbc46f6cc063a1","status":"affected","lessThan":"684826f8271ad97580b138b9ffd462005e470b99","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/block/zram/zram_drv.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.2","versionType":"semver"},{"version":"6.6.57","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.4","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/block/zram/zram_drv.c"]}],"references":["https://git.kernel.org/stable/c/6272936fd242ca1f784c3e21596dfb3859dff276","https://git.kernel.org/stable/c/ef35cc0d15b89dd013e1bb829fe97db7b1ab79eb","https://git.kernel.org/stable/c/684826f8271ad97580b138b9ffd462005e470b99"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/50xxx/CVE-2024-50064.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-50064","state":"PUBLISHED","datePublished":"2024-10-21T19:39:52.348Z","dateUpdated":"2026-05-11T20:44:43.114Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-10-21T19:36:19.939Z"},"containers":{"cna":{"title":"zram: free secondary algorithms names","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nzram: free secondary algorithms names\n\nWe need to kfree() secondary algorithms names when reset zram device that\nhad multi-streams, otherwise we leak memory.\n\n[senozhatsky@chromium.org: kfree(NULL) is legal]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"001d9273570115b2eb360d5452bbc46f6cc063a1","status":"affected","lessThan":"6272936fd242ca1f784c3e21596dfb3859dff276","versionType":"git"},{"version":"001d9273570115b2eb360d5452bbc46f6cc063a1","status":"affected","lessThan":"ef35cc0d15b89dd013e1bb829fe97db7b1ab79eb","versionType":"git"},{"version":"001d9273570115b2eb360d5452bbc46f6cc063a1","status":"affected","lessThan":"684826f8271ad97580b138b9ffd462005e470b99","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/block/zram/zram_drv.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.2","versionType":"semver"},{"version":"6.6.57","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.4","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/block/zram/zram_drv.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/6272936fd242ca1f784c3e21596dfb3859dff276"},{"url":"https://git.kernel.org/stable/c/ef35cc0d15b89dd013e1bb829fe97db7b1ab79eb"},{"url":"https://git.kernel.org/stable/c/684826f8271ad97580b138b9ffd462005e470b99"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:44:43.114Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.57"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.11.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.12"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-50064","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-10-22T13:22:29.918345Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-22T13:28:41.739Z"}}]}}}