{"id":"CVE-2026-93187","revision":"a8cf0af9890046199d0886d377593226","records":[{"revision":"a8cf0af9890046199d0886d377593226","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-93187","aliases":[],"title":"ASoC: SOF: ipc4-topology: Return error for invalid number of formats","description":"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.","state":0,"publishedAt":"2026-09-17T16:12:12.795+00:00","modifiedAt":"2026-10-19T09:06:59.972+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"sound/soc/sof/ipc4-topology.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"21a5adffad463344e9aca6ee697f45a079cb3ef5\",\n                            \"lessThan\": \"4992cdc4eb97981d6ea66002c5b764a6115edb0c\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"21a5adffad463344e9aca6ee697f45a079cb3ef5\",\n                            \"lessThan\": \"11e828cd6b0f283ebe9dc6b4cffd38e3321e7725\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"sound/soc/sof/ipc4-topology.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"7.2\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"7.2\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.6\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/4992cdc4eb97981d6ea66002c5b764a6115edb0c","https://git.kernel.org/stable/c/11e828cd6b0f283ebe9dc6b4cffd38e3321e7725"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-93187","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-93187","identifiers":["CVE-2026-93187"]},"retained":false,"historicalAffected":[]}],"coverage":[]}