{"id":"CVE-2026-72300","state":"PUBLISHED","title":"ASoC: SOF: topology: validate vendor array size before parsing","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: topology: validate vendor array size before parsing\n\nsof_parse_token_sets() reads array->size while iterating over topology\nprivate data. The loop condition only checks that some data remains, so a\nmalformed topology with a truncated trailing vendor array can make the\nparser read the size field before a full vendor-array header is available.\n\nValidate that the remaining private data contains a complete\nsnd_soc_tplg_vendor_array header before reading array->size.\n\nThe declared array size check also needs to remain signed. asize is an int,\nbut sizeof(*array) has type size_t, so comparing them directly promotes\nnegative asize values to unsigned and lets them pass the check,\nas reported in the stable review thread reference below.\n\nCast sizeof(*array) to int when validating the declared array size. This\nrejects negative, zero and otherwise too-small sizes before the parser\ndispatches to the tuple-specific code.","publishedAt":"2026-08-15T05:55:19.786Z","updatedAt":"2026-08-17T05:12:03.913Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5c37bd025068381f5bdbbf6a5ae3a1da8f6ed928","status":"affected","lessThan":"7c6d2d2baeb1e62dc8c6951d27edc16c5ea6e3aa","versionType":"git"},{"version":"06d4938e41d62af7b5b3f39eb239f58b21f50443","status":"affected","lessThan":"a40e250414b463e953c54cd2a829c9a9a49a78c3","versionType":"git"},{"version":"55024322915539098f7a7dd318351c7a003ff041","status":"affected","lessThan":"d34deef34c99bb4b3ebd2ac51058857827a20e7e","versionType":"git"},{"version":"215e5fe75881a7e2425df04aeeed47a903d5cd5d","status":"affected","lessThan":"201b60c4d15538fcc3c0c2ea9b75dd7d0f58022c","versionType":"git"},{"version":"215e5fe75881a7e2425df04aeeed47a903d5cd5d","status":"affected","lessThan":"8468dd79cfb2ffbdeaf7c353f63d64941cb8ba05","versionType":"git"},{"version":"756c48bdf23050def518e85929be6edea9ae6823","status":"affected","versionType":"git"},{"version":"6.6.136","status":"affected","lessThan":"6.6.145","versionType":"semver"},{"version":"6.12.83","status":"affected","lessThan":"6.12.97","versionType":"semver"},{"version":"6.18.24","status":"affected","lessThan":"6.18.40","versionType":"semver"},{"version":"6.19.14","status":"affected","lessThan":"6.20","versionType":"semver"}],"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":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","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/7c6d2d2baeb1e62dc8c6951d27edc16c5ea6e3aa","https://git.kernel.org/stable/c/a40e250414b463e953c54cd2a829c9a9a49a78c3","https://git.kernel.org/stable/c/d34deef34c99bb4b3ebd2ac51058857827a20e7e","https://git.kernel.org/stable/c/201b60c4d15538fcc3c0c2ea9b75dd7d0f58022c","https://git.kernel.org/stable/c/8468dd79cfb2ffbdeaf7c353f63d64941cb8ba05"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72300.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72300","state":"PUBLISHED","datePublished":"2026-08-15T05:55:19.786Z","dateUpdated":"2026-08-17T05:12:03.913Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.918Z"},"containers":{"cna":{"title":"ASoC: SOF: topology: validate vendor array size before parsing","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: topology: validate vendor array size before parsing\n\nsof_parse_token_sets() reads array->size while iterating over topology\nprivate data. The loop condition only checks that some data remains, so a\nmalformed topology with a truncated trailing vendor array can make the\nparser read the size field before a full vendor-array header is available.\n\nValidate that the remaining private data contains a complete\nsnd_soc_tplg_vendor_array header before reading array->size.\n\nThe declared array size check also needs to remain signed. asize is an int,\nbut sizeof(*array) has type size_t, so comparing them directly promotes\nnegative asize values to unsigned and lets them pass the check,\nas reported in the stable review thread reference below.\n\nCast sizeof(*array) to int when validating the declared array size. This\nrejects negative, zero and otherwise too-small sizes before the parser\ndispatches to the tuple-specific code."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5c37bd025068381f5bdbbf6a5ae3a1da8f6ed928","status":"affected","lessThan":"7c6d2d2baeb1e62dc8c6951d27edc16c5ea6e3aa","versionType":"git"},{"version":"06d4938e41d62af7b5b3f39eb239f58b21f50443","status":"affected","lessThan":"a40e250414b463e953c54cd2a829c9a9a49a78c3","versionType":"git"},{"version":"55024322915539098f7a7dd318351c7a003ff041","status":"affected","lessThan":"d34deef34c99bb4b3ebd2ac51058857827a20e7e","versionType":"git"},{"version":"215e5fe75881a7e2425df04aeeed47a903d5cd5d","status":"affected","lessThan":"201b60c4d15538fcc3c0c2ea9b75dd7d0f58022c","versionType":"git"},{"version":"215e5fe75881a7e2425df04aeeed47a903d5cd5d","status":"affected","lessThan":"8468dd79cfb2ffbdeaf7c353f63d64941cb8ba05","versionType":"git"},{"version":"756c48bdf23050def518e85929be6edea9ae6823","status":"affected","versionType":"git"},{"version":"6.6.136","status":"affected","lessThan":"6.6.145","versionType":"semver"},{"version":"6.12.83","status":"affected","lessThan":"6.12.97","versionType":"semver"},{"version":"6.18.24","status":"affected","lessThan":"6.18.40","versionType":"semver"},{"version":"6.19.14","status":"affected","lessThan":"6.20","versionType":"semver"}],"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":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","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/7c6d2d2baeb1e62dc8c6951d27edc16c5ea6e3aa"},{"url":"https://git.kernel.org/stable/c/a40e250414b463e953c54cd2a829c9a9a49a78c3"},{"url":"https://git.kernel.org/stable/c/d34deef34c99bb4b3ebd2ac51058857827a20e7e"},{"url":"https://git.kernel.org/stable/c/201b60c4d15538fcc3c0c2ea9b75dd7d0f58022c"},{"url":"https://git.kernel.org/stable/c/8468dd79cfb2ffbdeaf7c353f63d64941cb8ba05"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:12:03.913Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.136","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.83","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18.24","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19.14"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}