Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.97, 6.18.40, 6.6.145, 7.1.5
CVEs
CVE-2026-72300
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 08:57 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 15 Aug 2026, 05:55 UTC

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.

osv:CVE-2026-72300

Kernel

Fixed versions: 6.6.145, 6.12.97, 6.18.40, 7.1.5

Complete source record
{
  "id": "7e510c58863221af53184185c5ec864f493b88c0dbf44b640d8f2cc7ffcb69bb",
  "url": "https://osv.dev/vulnerability/CVE-2026-72300",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ASoC: SOF: topology: validate vendor array size before parsing",
    "summary": "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.",
    "evidence": "osv:CVE-2026-72300",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.145",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.97",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.40",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-72300",
      "aliases": [
        "CVE-2026-72300"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5c37bd025068381f5bdbbf6a5ae3a1da8f6ed928"
                },
                {
                  "fixed": "7c6d2d2baeb1e62dc8c6951d27edc16c5ea6e3aa"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "06d4938e41d62af7b5b3f39eb239f58b21f50443"
                },
                {
                  "fixed": "a40e250414b463e953c54cd2a829c9a9a49a78c3"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "55024322915539098f7a7dd318351c7a003ff041"
                },
                {
                  "fixed": "d34deef34c99bb4b3ebd2ac51058857827a20e7e"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "215e5fe75881a7e2425df04aeeed47a903d5cd5d"
                },
                {
                  "fixed": "201b60c4d15538fcc3c0c2ea9b75dd7d0f58022c"
                },
                {
                  "fixed": "8468dd79cfb2ffbdeaf7c353f63d64941cb8ba05"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.6.136"
                },
                {
                  "fixed": "6.6.145"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.12.83"
                },
                {
                  "fixed": "6.12.97"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.18.24"
                },
                {
                  "fixed": "6.18.40"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.19.14"
                },
                {
                  "fixed": "6.20"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "756c48bdf23050def518e85929be6edea9ae6823"
                }
              ]
            }
          ],
          "versions": [
            "v6.6.144",
            "v6.6.143",
            "v6.6.142",
            "v6.6.141",
            "v6.6.140",
            "v6.6.139",
            "v6.6.138",
            "v6.6.137",
            "v6.6.136",
            "v6.12.96",
            "v6.12.95",
            "v6.12.94",
            "v6.12.93",
            "v6.12.92",
            "v6.12.91",
            "v6.12.90",
            "v6.12.89",
            "v6.12.88",
            "v6.12.87",
            "v6.12.86",
            "v6.12.85",
            "v6.12.84",
            "v6.12.83",
            "v6.18.39",
            "v6.18.38",
            "v6.18.37",
            "v6.18.36",
            "v6.18.35",
            "v6.18.34",
            "v6.18.33",
            "v6.18.32",
            "v6.18.31",
            "v6.18.30",
            "v6.18.29",
            "v6.18.28",
            "v6.18.27",
            "v6.18.26",
            "v6.18.25",
            "v6.18.24",
            "v6.19.14"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72300.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.6.145"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.97"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.40"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.1.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72300.json"
          }
        }
      ],
      "modified": "2026-10-08T02:51:46.311959431Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/201b60c4d15538fcc3c0c2ea9b75dd7d0f58022c",
        "https://git.kernel.org/stable/c/7c6d2d2baeb1e62dc8c6951d27edc16c5ea6e3aa",
        "https://git.kernel.org/stable/c/8468dd79cfb2ffbdeaf7c353f63d64941cb8ba05",
        "https://git.kernel.org/stable/c/a40e250414b463e953c54cd2a829c9a9a49a78c3",
        "https://git.kernel.org/stable/c/d34deef34c99bb4b3ebd2ac51058857827a20e7e",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72300.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-72300",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72300.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-72300",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 98339,
  "published_at": "2026-08-15T05:55:19.786+00:00"
}