Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6CA612C6A5 for ; Wed, 28 Feb 2024 08:17:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709108262; cv=none; b=sXeIwPzXOzIdv5R1JGtoih6oBWye9qOpnJghQhWGt5bd/1QL0pWdsjqgOkb7aVO+T/m1D/uukIvOndSsNW8aO1bs3W8QXZmst135Xp1xztrtyfpU6639oHQH4W1ZIJyIcMbqKQSzCfJSqMYWzUTQGpRb+z8C1jbR2p17hrTK/eM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709108262; c=relaxed/simple; bh=d1A7kXPO+hQfIL8MfekFk98Vow/K9FxbGopFk4u3IYA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dSH3mc5C9uhkCC/s/bK+9bRQSE3p2Iglt98UEhRfuImZFufB8Va/v7g1qfzY8zQhWF/e8wvrBCDyr5YMk+y1+juGsRmFF1nEqX0uz2Of3RpAl05Ry6WRYo7gcGQO5+YS/5+AvFbJtTl7Sx4qQdPYvK8S0TYYuJk2rSSIVDBrdLE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DAheyIUt; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="DAheyIUt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EEE60C433C7; Wed, 28 Feb 2024 08:17:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709108262; bh=d1A7kXPO+hQfIL8MfekFk98Vow/K9FxbGopFk4u3IYA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=DAheyIUtUw+WtWJ+PK6NfDXYR0vIvv47rd57A5zy3/7ccClfI3I1NyeF7jF+/4oyO +QZ543xRedTf6SxFHf5i/+AvIfONVBKIj0al5Tasvus/kzGolnADqM3MQQAMq9kg54 ZpN3R0lJzvtGG0Cp6Ubbsy8C2ucZroqlm1la0oYc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: gregkh@kernel.org Subject: CVE-2021-47037: ASoC: q6afe-clocks: fix reprobing of the driver Date: Wed, 28 Feb 2024 09:15:25 +0100 Message-ID: <2024022837-CVE-2021-47037-d130@gregkh> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2207; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GlgUY1OB8nT7RgvK1+EfZ1FvIOrF84F1ZCUQzAWb2Ac=; b=owGbwMvMwCRo6H6F97bub03G02pJDKn3XudWHA5KYHXmkr/uM+3qN5H7a/1r7KZPkGgJqO2o8 17ZWD6vI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZifJthQWvIy/bL2+Jmrnsb xfxsxW3n+pCgSoYFN9Yw/BBPneq6/OIBrqUdYWw9Ggy/AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: gregkh@kernel.org Description =========== In the Linux kernel, the following vulnerability has been resolved: ASoC: q6afe-clocks: fix reprobing of the driver Q6afe-clocks driver can get reprobed. For example if the APR services are restarted after the firmware crash. However currently Q6afe-clocks driver will oops because hw.init will get cleared during first _probe call. Rewrite the driver to fill the clock data at runtime rather than using big static array of clocks. The Linux kernel CVE team has assigned CVE-2021-47037 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 520a1c396d19 and fixed in 5.11.21 with commit 6893df3753be Issue introduced in 5.10 with commit 520a1c396d19 and fixed in 5.12.4 with commit 62413972f526 Issue introduced in 5.10 with commit 520a1c396d19 and fixed in 5.13 with commit 96fadf7e8ff4 Please see https://www.kernel.org or 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-2021-47037 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/qcom/qdsp6/q6afe-clocks.c sound/soc/qcom/qdsp6/q6afe.c sound/soc/qcom/qdsp6/q6afe.h 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/6893df3753beafa5f7351228a9dd8157a57d7492 https://git.kernel.org/stable/c/62413972f5266568848a36fd15160397b211fa74 https://git.kernel.org/stable/c/96fadf7e8ff49fdb74754801228942b67c3eeebd