Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
3c124f09b7ff0434b076a8dec1ed446a6170b549 to < b270ed327380428581bbcbd85707f62e942428d7affected31ed8da1c8e5e504710bb36863700e3389f8fc81 to < c06995637f6a4667f2b540ac65315bfc8196a099affected31ed8da1c8e5e504710bb36863700e3389f8fc81 to < 8cba53b862e1437257ec206d303ff942684284f1affected31ed8da1c8e5e504710bb36863700e3389f8fc81 to < d48691e70d4a9434b71039d4ed12bb0df4601acfaffected31ed8da1c8e5e504710bb36863700e3389f8fc81 to < e780e4917d43683224812400fe3dc4816fceba75affected6.6.13 to < 6.6.153affected
Linux Linux
Default version status: affected
6.7affected0 to < 6.7unaffected6.6.153 to ≤ 6.6.*unaffected6.12.105 to ≤ 6.12.*unaffected6.18.46 to ≤ 6.18.*unaffected7.1.10 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
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 ↗