CVE-2026-93187 PUBLISHED

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

Assigner: Linux
Reserved: 17.09.2026 Published: 17.09.2026 Updated: 17.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 21a5adffad463344e9aca6ee697f45a079cb3ef5 to 4992cdc4eb97981d6ea66002c5b764a6115edb0c (excl.)
  • affected from 21a5adffad463344e9aca6ee697f45a079cb3ef5 to 11e828cd6b0f283ebe9dc6b4cffd38e3321e7725 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 7.2 is affected
  • unaffected from 0 to 7.2 (excl.)
  • unaffected from 7.2.6 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References