Skip to content
Heist/ feed
Back to feed
UnratedFix available

ASoC: SOF: ipc4-topology: Return error for invalid number of formats

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc4-topology: Return error for invalid number of formats When the number of input or output formats is zero, sof_ipc4_widget_setup_comp_src() and sof_ipc4_widget_setup_comp_asrc() print an error and jump to the cleanup label. At that point 'ret' is still 0, because the earlier sof_ipc4_get_audio_fmt() call succeeded, so the function returns success and the caller never finds out that the widget setup actually failed. Set ret to -EINVAL before the goto so the error gets reported.

Products
Kernel
Affected versions
Not specified
Fixed versions
7.2.6
CVEs
CVE-2026-93187
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 19:08 UTC · Revision 1

Source evidence

ASoC: SOF: ipc4-topology: Return error for invalid number of formats

core-osv · Original source

Published 17 Sept 2026, 16:12 UTC

In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc4-topology: Return error for invalid number of formats When the number of input or output formats is zero, sof_ipc4_widget_setup_comp_src() and sof_ipc4_widget_setup_comp_asrc() print an error and jump to the cleanup label. At that point 'ret' is still 0, because the earlier sof_ipc4_get_audio_fmt() call succeeded, so the function returns success and the caller never finds out that the widget setup actually failed. Set ret to -EINVAL before the goto so the error gets reported.

osv:CVE-2026-93187

Kernel

Fixed versions: 7.2.6

Complete source record
{
  "id": "f1b9c0766d2b2db17f04e2e4a0249cf8d11cafbd19a6403b758383379e12494d",
  "url": "https://osv.dev/vulnerability/CVE-2026-93187",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ASoC: SOF: ipc4-topology: Return error for invalid number of formats",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc4-topology: Return error for invalid number of formats When the number of input or output formats is zero, sof_ipc4_widget_setup_comp_src() and sof_ipc4_widget_setup_comp_asrc() print an error and jump to the cleanup label. At that point 'ret' is still 0, because the earlier sof_ipc4_get_audio_fmt() call succeeded, so the function returns success and the caller never finds out that the widget setup actually failed. Set ret to -EINVAL before the goto so the error gets reported.",
    "evidence": "osv:CVE-2026-93187",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.2.6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-93187",
      "aliases": [
        "CVE-2026-93187"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "21a5adffad463344e9aca6ee697f45a079cb3ef5"
                },
                {
                  "fixed": "4992cdc4eb97981d6ea66002c5b764a6115edb0c"
                },
                {
                  "fixed": "11e828cd6b0f283ebe9dc6b4cffd38e3321e7725"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93187.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "7.2.0"
                },
                {
                  "fixed": "7.2.6"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93187.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.449969836Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/11e828cd6b0f283ebe9dc6b4cffd38e3321e7725",
        "https://git.kernel.org/stable/c/4992cdc4eb97981d6ea66002c5b764a6115edb0c",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93187.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-93187",
        "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/93xxx/CVE-2026-93187.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-93187",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 498635,
  "published_at": "2026-09-17T16:12:12.795+00:00"
}