ASoC: SOF: ipc4-topology: Return error for invalid number of formats
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
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_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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 21a5adffad463344e9aca6ee697f45a079cb3ef5 · fixed in 4992cdc4eb97981d6ea66002c5b764a6115edb0c; From 21a5adffad463344e9aca6ee697f45a079cb3ef5 · fixed in 11e828cd6b0f283ebe9dc6b4cffd38e3321e7725
- Linux Linux
7.2
- KernelLinux
From 7.2.0 · fixed in 7.2.6