| From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2022-49617: ASoC: Intel: sof_sdw: handle errors on card registration |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| ASoC: Intel: sof_sdw: handle errors on card registration |
| |
| If the card registration fails, typically because of deferred probes, |
| the device properties added for headset codecs are not removed, which |
| leads to kernel oopses in driver bind/unbind tests. |
| |
| We already clean-up the device properties when the card is removed, |
| this code can be moved as a helper and called upon card registration |
| errors. |
| |
| The Linux kernel CVE team has assigned CVE-2022-49617 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.7 with commit 52db12d193d45728e738df6119702cba08fd46a2 and fixed in 5.15.56 with commit f2556ce6b35ae0fc72000a4daa21ded12665e2f2 |
| Issue introduced in 5.7 with commit 52db12d193d45728e738df6119702cba08fd46a2 and fixed in 5.18.13 with commit 09bca0ffc95c50369f1345d80ecfaca51864126f |
| Issue introduced in 5.7 with commit 52db12d193d45728e738df6119702cba08fd46a2 and fixed in 5.19 with commit fe154c4ff376bc31041c6441958a08243df09c99 |
| |
| Please see https://www.kernel.org for a full list of currently supported |
| kernel versions by the kernel community. |
| |
| Unaffected versions might change over time as fixes are backported to |
| older supported kernel versions. The official CVE entry at |
| https://cve.org/CVERecord/?id=CVE-2022-49617 |
| will be updated if fixes are backported, please check that for the most |
| up to date information about this issue. |
| |
| |
| Affected files |
| ============== |
| |
| The file(s) affected by this issue are: |
| sound/soc/intel/boards/sof_sdw.c |
| |
| |
| Mitigation |
| ========== |
| |
| The Linux kernel CVE team recommends that you update to the latest |
| stable kernel version for this, and many other bugfixes. Individual |
| changes are never tested alone, but rather are part of a larger kernel |
| release. Cherry-picking individual commits is not recommended or |
| supported by the Linux kernel community at all. If however, updating to |
| the latest release is impossible, the individual changes to resolve this |
| issue can be found at these commits: |
| https://git.kernel.org/stable/c/f2556ce6b35ae0fc72000a4daa21ded12665e2f2 |
| https://git.kernel.org/stable/c/09bca0ffc95c50369f1345d80ecfaca51864126f |
| https://git.kernel.org/stable/c/fe154c4ff376bc31041c6441958a08243df09c99 |