{"id":"CVE-2026-72300","aliases":["CVE-2026-72300"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: SOF: topology: validate vendor array size before parsing","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-15T05:55:19.786Z","modified":"2026-08-17T06:18:32.993Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5c37bd025068381f5bdbbf6a5ae3a1da8f6ed928","fixed":"7c6d2d2baeb1e62dc8c6951d27edc16c5ea6e3aa","status":"affected"},{"type":"git","introduced":"06d4938e41d62af7b5b3f39eb239f58b21f50443","fixed":"a40e250414b463e953c54cd2a829c9a9a49a78c3","status":"affected"},{"type":"git","introduced":"55024322915539098f7a7dd318351c7a003ff041","fixed":"d34deef34c99bb4b3ebd2ac51058857827a20e7e","status":"affected"},{"type":"git","introduced":"215e5fe75881a7e2425df04aeeed47a903d5cd5d","fixed":"201b60c4d15538fcc3c0c2ea9b75dd7d0f58022c","status":"affected"},{"type":"git","introduced":"215e5fe75881a7e2425df04aeeed47a903d5cd5d","fixed":"8468dd79cfb2ffbdeaf7c353f63d64941cb8ba05","status":"affected"},{"type":"git","version":"756c48bdf23050def518e85929be6edea9ae6823","status":"affected"},{"type":"semver","introduced":"6.6.136","fixed":"6.6.145","status":"affected"},{"type":"semver","introduced":"6.12.83","fixed":"6.12.97","status":"affected"},{"type":"semver","introduced":"6.18.24","fixed":"6.18.40","status":"affected"},{"type":"semver","introduced":"6.19.14","fixed":"6.20","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/7c6d2d2baeb1e62dc8c6951d27edc16c5ea6e3aa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a40e250414b463e953c54cd2a829c9a9a49a78c3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d34deef34c99bb4b3ebd2ac51058857827a20e7e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/201b60c4d15538fcc3c0c2ea9b75dd7d0f58022c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8468dd79cfb2ffbdeaf7c353f63d64941cb8ba05","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72300","url":"https://www.cve.org/CVERecord?id=CVE-2026-72300","licence":"CVE Terms of Use","modified":"2026-08-17T05:12:03.913Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72300","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72300","licence":"Public domain","modified":"2026-08-17T06:18:32.993Z"}],"updatedAt":"2026-11-25T22:59:33.074Z","epss":{"score":0.00206,"percentile":0.11175,"date":"2026-12-01T12:00:22.000Z"}}