Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: sof-audio: Fix error path in sof_widget_setup_unlocked() If either tplg_ops->dai_config or widget_kcontrol_setup fail during widget setup we would double decrement the use_count of the widget because the sof_widget_free_unlocked() would be called twice, similarly the core_put would be invoked twice as well. Since the use_count and core_put() is handled within the widget_free function we need to return without falling through the pipe_widget_free label. The fixes tag is picked to the last change around this part of the code which is adequately old enough for backporting purposes.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 3c124f09b7ff0434b076a8dec1ed446a6170b549 before b270ed327380428581bbcbd85707f62e942428d7; affected 31ed8da1c8e5e504710bb36863700e3389f8fc81 before c06995637f6a4667f2b540ac65315bfc8196a099; affected 31ed8da1c8e5e504710bb36863700e3389f8fc81 before 8cba53b862e1437257ec206d303ff942684284f1; affected 31ed8da1c8e5e504710bb36863700e3389f8fc81 before d48691e70d4a9434b71039d4ed12bb0df4601acf; affected 31ed8da1c8e5e504710bb36863700e3389f8fc81 before e780e4917d43683224812400fe3dc4816fceba75; affected 6.6.13 before 6.6.153 |
| Linux / Linux | affected 6.7; unaffected 0 before 6.7; unaffected 6.6.153 through 6.6.*; unaffected 6.12.105 through 6.12.*; unaffected 6.18.46 through 6.18.*; unaffected 7.1.10 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/b270ed327380428581bbcbd85707f62e942428d7
- https://git.kernel.org/stable/c/c06995637f6a4667f2b540ac65315bfc8196a099
- https://git.kernel.org/stable/c/8cba53b862e1437257ec206d303ff942684284f1
- https://git.kernel.org/stable/c/d48691e70d4a9434b71039d4ed12bb0df4601acf
- https://git.kernel.org/stable/c/e780e4917d43683224812400fe3dc4816fceba75