---
id: CVE-2026-93187
title: |-
  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_…
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_…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 21a5adffad463344e9aca6ee697f45a079cb3ef5 <
    4992cdc4eb97981d6ea66002c5b764a6115edb0c
  - >-
    Linux >= 21a5adffad463344e9aca6ee697f45a079cb3ef5 <
    11e828cd6b0f283ebe9dc6b4cffd38e3321e7725
  - Linux 7.2
published: '2026-09-17'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T17:18:14.787'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93187'
references:
  - url: 'https://git.kernel.org/stable/c/11e828cd6b0f283ebe9dc6b4cffd38e3321e7725'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4992cdc4eb97981d6ea66002c5b764a6115edb0c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-17T16:21:47.726Z'
epss: 0.00198
epssPercentile: 0.08452
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
