CVE-2026-72300

ASoC: SOF: topology: validate vendor array size before parsing

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

ASoC: SOF: topology: validate vendor array size before parsing

sof_parse_token_sets() reads array->size while iterating over topology private data. The loop condition only checks that some data remains, so a malformed topology with a truncated trailing vendor array can make the parser read the size field before a full vendor-array header is available.

Validate that the remaining private data contains a complete snd_soc_tplg_vendor_array header before reading array->size.

The declared array size check also needs to remain signed. asize is an int, but sizeof(*array) has type size_t, so comparing them directly promotes negative asize values to unsigned and lets them pass the check, as reported in the stable review thread reference below.

Cast sizeof(*array) to int when validating the declared array size. This rejects negative, zero and otherwise too-small sizes before the parser dispatches to the tuple-specific code.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5c37bd025068381f5bdbbf6a5ae3a1da8f6ed928 to before 7c6d2d2baeb1e62dc8c6951d27edc16c5ea6e3aaAffected
  • 06d4938e41d62af7b5b3f39eb239f58b21f50443 to before a40e250414b463e953c54cd2a829c9a9a49a78c3Affected
  • 55024322915539098f7a7dd318351c7a003ff041 to before d34deef34c99bb4b3ebd2ac51058857827a20e7eAffected
  • 215e5fe75881a7e2425df04aeeed47a903d5cd5d to before 201b60c4d15538fcc3c0c2ea9b75dd7d0f58022cAffected
  • 215e5fe75881a7e2425df04aeeed47a903d5cd5d to before 8468dd79cfb2ffbdeaf7c353f63d64941cb8ba05Affected
  • 756c48bdf23050def518e85929be6edea9ae6823Affected
  • 6.6.136 to before 6.6.145Affected
  • 6.12.83 to before 6.12.97Affected
  • 6.18.24 to before 6.18.40Affected
  • 6.19.14 to before 6.20Affected
LinuxLinux
  • 7.0Affected
  • before 7.0Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.