← Back to CVE Explorer

CVE-2026-93187

Full vulnerability record from the local CVENow database.

Description

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-17 17:18:14.787000
Last modified
2026-10-19 10:17:09.230000
View original CVE JSON
{
  "id": "CVE-2026-93187",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-17T17:18:14.787",
  "lastModified": "2026-10-19T10:17:09.230",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: ipc4-topology: Return error for invalid number of formats\n\nWhen the number of input or output formats is zero,\nsof_ipc4_widget_setup_comp_src() and sof_ipc4_widget_setup_comp_asrc()\nprint an error and jump to the cleanup label. At that point 'ret' is\nstill 0, because the earlier sof_ipc4_get_audio_fmt() call succeeded, so\nthe function returns success and the caller never finds out that the\nwidget setup actually failed.\n\nSet ret to -EINVAL before the goto so the error gets reported."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "sound/soc/sof/ipc4-topology.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "21a5adffad463344e9aca6ee697f45a079cb3ef5",
              "lessThan": "4992cdc4eb97981d6ea66002c5b764a6115edb0c",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "21a5adffad463344e9aca6ee697f45a079cb3ef5",
              "lessThan": "11e828cd6b0f283ebe9dc6b4cffd38e3321e7725",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "sound/soc/sof/ipc4-topology.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "7.2",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "7.2",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.6",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/11e828cd6b0f283ebe9dc6b4cffd38e3321e7725",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/4992cdc4eb97981d6ea66002c5b764a6115edb0c",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}