{"id":"CVE-2026-93187","summary":"ASoC: SOF: ipc4-topology: Return error for invalid number of formats","details":"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.","modified":"2026-09-19T03:47:22.804439113Z","published":"2026-09-17T16:12:12.795Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93187.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/11e828cd6b0f283ebe9dc6b4cffd38e3321e7725"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4992cdc4eb97981d6ea66002c5b764a6115edb0c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93187.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93187"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"21a5adffad463344e9aca6ee697f45a079cb3ef5"},{"fixed":"4992cdc4eb97981d6ea66002c5b764a6115edb0c"},{"fixed":"11e828cd6b0f283ebe9dc6b4cffd38e3321e7725"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93187.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93187.json"}}],"schema_version":"1.9.0"}