{"id":"CVE-2026-72263","state":"PUBLISHED","title":"ASoC: SOF: topology: fix memory leak in snd_sof_load_topology","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: topology: fix memory leak in snd_sof_load_topology\n\nWhen the topology filename contains \"dummy\" and tplg_cnt is 0, the\nfunction returns -EINVAL directly without freeing the tplg_files\nallocated by kcalloc() at line 2497. This leaks memory on every\nsuch topology load attempt.\n\nFix this by setting ret = -EINVAL and jumping to the out: label,\nwhich already handles the kfree(tplg_files) cleanup.","publishedAt":"2026-08-15T05:54:50.265Z","updatedAt":"2026-08-17T05:11:22.312Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"99c159279c6dfa2c4867c7f76875f58263f8f43b","status":"affected","lessThan":"6ed7787c43ecf4ae27a3e700cab53a1ed646c7f8","versionType":"git"},{"version":"99c159279c6dfa2c4867c7f76875f58263f8f43b","status":"affected","lessThan":"d46f9f23897261da53ffbeb89d48a13982ba7d28","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/sof/topology.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/sof/topology.c"]}],"references":["https://git.kernel.org/stable/c/6ed7787c43ecf4ae27a3e700cab53a1ed646c7f8","https://git.kernel.org/stable/c/d46f9f23897261da53ffbeb89d48a13982ba7d28"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72263.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72263","state":"PUBLISHED","datePublished":"2026-08-15T05:54:50.265Z","dateUpdated":"2026-08-17T05:11:22.312Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.915Z"},"containers":{"cna":{"title":"ASoC: SOF: topology: fix memory leak in snd_sof_load_topology","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: topology: fix memory leak in snd_sof_load_topology\n\nWhen the topology filename contains \"dummy\" and tplg_cnt is 0, the\nfunction returns -EINVAL directly without freeing the tplg_files\nallocated by kcalloc() at line 2497. This leaks memory on every\nsuch topology load attempt.\n\nFix this by setting ret = -EINVAL and jumping to the out: label,\nwhich already handles the kfree(tplg_files) cleanup."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"99c159279c6dfa2c4867c7f76875f58263f8f43b","status":"affected","lessThan":"6ed7787c43ecf4ae27a3e700cab53a1ed646c7f8","versionType":"git"},{"version":"99c159279c6dfa2c4867c7f76875f58263f8f43b","status":"affected","lessThan":"d46f9f23897261da53ffbeb89d48a13982ba7d28","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/sof/topology.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/sof/topology.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/6ed7787c43ecf4ae27a3e700cab53a1ed646c7f8"},{"url":"https://git.kernel.org/stable/c/d46f9f23897261da53ffbeb89d48a13982ba7d28"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:11:22.312Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}