{"id":"CVE-2023-54072","state":"PUBLISHED","title":"ALSA: pcm: Fix potential data race at PCM memory allocation helpers","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: Fix potential data race at PCM memory allocation helpers\n\nThe PCM memory allocation helpers have a sanity check against too many\nbuffer allocations.  However, the check is performed without a proper\nlock and the allocation isn't serialized; this allows user to allocate\nmore memories than predefined max size.\n\nPractically seen, this isn't really a big problem, as it's more or\nless some \"soft limit\" as a sanity check, and it's not possible to\nallocate unlimitedly.  But it's still better to address this for more\nconsistent behavior.\n\nThe patch covers the size check in do_alloc_pages() with the\ncard->memory_mutex, and increases the allocated size there for\npreventing the further overflow.  When the actual allocation fails,\nthe size is decreased accordingly.","publishedAt":"2025-12-24T12:23:15.552Z","updatedAt":"2026-05-11T19:54:55.996Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"95b30a4312545f2dde9db12bf6a425f35d5a0d77","status":"affected","lessThan":"7e1d1456c8db9949459c5a24e8845cfe92430b0f","versionType":"git"},{"version":"d4cfb30fce03093ad944e0b44bd8f40bdad5330e","status":"affected","lessThan":"7e11c58b2620a22c67a5ae28d64ce383890ee9f4","versionType":"git"},{"version":"d4cfb30fce03093ad944e0b44bd8f40bdad5330e","status":"affected","lessThan":"a0ab49e7a758b488b2090171a75d50735c0876f6","versionType":"git"},{"version":"d4cfb30fce03093ad944e0b44bd8f40bdad5330e","status":"affected","lessThan":"3eb4e47a94e3f76521d7d344696db61e6a9619c7","versionType":"git"},{"version":"d4cfb30fce03093ad944e0b44bd8f40bdad5330e","status":"affected","lessThan":"773ccad902f67583a58b5650a2f8d8daf2e76fac","versionType":"git"},{"version":"d4cfb30fce03093ad944e0b44bd8f40bdad5330e","status":"affected","lessThan":"bd55842ed998a622ba6611fe59b3358c9f76773d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/pcm_memory.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.6","versionType":"semver"},{"version":"5.10.193","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.129","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.39","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.4.4","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/pcm_memory.c"]}],"references":["https://git.kernel.org/stable/c/7e1d1456c8db9949459c5a24e8845cfe92430b0f","https://git.kernel.org/stable/c/7e11c58b2620a22c67a5ae28d64ce383890ee9f4","https://git.kernel.org/stable/c/a0ab49e7a758b488b2090171a75d50735c0876f6","https://git.kernel.org/stable/c/3eb4e47a94e3f76521d7d344696db61e6a9619c7","https://git.kernel.org/stable/c/773ccad902f67583a58b5650a2f8d8daf2e76fac","https://git.kernel.org/stable/c/bd55842ed998a622ba6611fe59b3358c9f76773d"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:42.242Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/54xxx/CVE-2023-54072.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-54072","state":"PUBLISHED","datePublished":"2025-12-24T12:23:15.552Z","dateUpdated":"2026-05-11T19:54:55.996Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-24T12:21:05.093Z"},"containers":{"cna":{"title":"ALSA: pcm: Fix potential data race at PCM memory allocation helpers","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: Fix potential data race at PCM memory allocation helpers\n\nThe PCM memory allocation helpers have a sanity check against too many\nbuffer allocations.  However, the check is performed without a proper\nlock and the allocation isn't serialized; this allows user to allocate\nmore memories than predefined max size.\n\nPractically seen, this isn't really a big problem, as it's more or\nless some \"soft limit\" as a sanity check, and it's not possible to\nallocate unlimitedly.  But it's still better to address this for more\nconsistent behavior.\n\nThe patch covers the size check in do_alloc_pages() with the\ncard->memory_mutex, and increases the allocated size there for\npreventing the further overflow.  When the actual allocation fails,\nthe size is decreased accordingly."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"95b30a4312545f2dde9db12bf6a425f35d5a0d77","status":"affected","lessThan":"7e1d1456c8db9949459c5a24e8845cfe92430b0f","versionType":"git"},{"version":"d4cfb30fce03093ad944e0b44bd8f40bdad5330e","status":"affected","lessThan":"7e11c58b2620a22c67a5ae28d64ce383890ee9f4","versionType":"git"},{"version":"d4cfb30fce03093ad944e0b44bd8f40bdad5330e","status":"affected","lessThan":"a0ab49e7a758b488b2090171a75d50735c0876f6","versionType":"git"},{"version":"d4cfb30fce03093ad944e0b44bd8f40bdad5330e","status":"affected","lessThan":"3eb4e47a94e3f76521d7d344696db61e6a9619c7","versionType":"git"},{"version":"d4cfb30fce03093ad944e0b44bd8f40bdad5330e","status":"affected","lessThan":"773ccad902f67583a58b5650a2f8d8daf2e76fac","versionType":"git"},{"version":"d4cfb30fce03093ad944e0b44bd8f40bdad5330e","status":"affected","lessThan":"bd55842ed998a622ba6611fe59b3358c9f76773d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/pcm_memory.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.6","versionType":"semver"},{"version":"5.10.193","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.129","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.39","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.4.4","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/pcm_memory.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7e1d1456c8db9949459c5a24e8845cfe92430b0f"},{"url":"https://git.kernel.org/stable/c/7e11c58b2620a22c67a5ae28d64ce383890ee9f4"},{"url":"https://git.kernel.org/stable/c/a0ab49e7a758b488b2090171a75d50735c0876f6"},{"url":"https://git.kernel.org/stable/c/3eb4e47a94e3f76521d7d344696db61e6a9619c7"},{"url":"https://git.kernel.org/stable/c/773ccad902f67583a58b5650a2f8d8daf2e76fac"},{"url":"https://git.kernel.org/stable/c/bd55842ed998a622ba6611fe59b3358c9f76773d"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:54:55.996Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"5.10.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"5.15.129"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"6.1.39"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"6.4.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"6.5"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}