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 35D402DEA9D for ; Wed, 1 Oct 2025 11:51:56 +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=1759319516; cv=none; b=K1sjJEewGiOXV6d07kPKQxQr+VxIenMniX5i8IyzhLh4QxnRtLVDY/NFry6jtl/7VZ9rOXXpnBoY2fJi9cTargMhL5VPJD8nY3PokELx+ZT3zPW4bM4M9fRJkGXumIQPshDDaF8u1avB/XuEw3ME+wWXUQeELGBNL6Gh0wwnVnA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319516; c=relaxed/simple; bh=rsH57HldbklpeC5cEkhXA9GbtoUZyukki2aniNg4E6o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=N9a9DKxTqVyNVlG9zlFTfEyXCVOmiz5ZT/X+Er5QGaAEaMyFpCCEAbE7WsshT0WK0d9KlBIlLYnN3m/R6ncPC2OB6pwYFT8ddQjPMKoR44ofd7Dnh6dBIsqoZyBwenAaiG6hbgATGiPh+BLmHB6E+eXzXXkYaefPDo/XGXCmsSk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xp1D7+Qs; 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="xp1D7+Qs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98B2CC4CEF4; Wed, 1 Oct 2025 11:51:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319516; bh=rsH57HldbklpeC5cEkhXA9GbtoUZyukki2aniNg4E6o=; h=From:To:Cc:Subject:Date:Reply-to:From; b=xp1D7+QsHbAjOgbW2Gw3UziFjJLrvnW96VBrbgHoWKhosintCfrZKIaKe/3Or6nue m1dlsiMmENSfaWZA1GioJw0xEf3x/pPO4cAaPZgrzLhLT/6R3QDnepU1FzmOHDLvGC Wa+Q0Jd+WwuMiBtN0Fcr2VE/TZ6abB5xTmAZhfdA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50439: ASoC: mediatek: mt8173: Enable IRQ when pdata is ready Date: Wed, 1 Oct 2025 13:42:12 +0200 Message-ID: <2025100100-CVE-2022-50439-6054@gregkh> X-Mailer: git-send-email 2.51.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=3067; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xIgFOotYxJCn/jSC393QSc+hrbkqLfEk1JQtEuQUMw4=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl3hTu0+BN6V9+dy25V56g9e/He2rnJfklt7r8ObX315 Mub/lvvO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi9REM89P9nsx/a1pzxOnD rnPlogpp5y54lzLMFZ7wv5D3nnlB4bKlie9ZnFh/7Q94BQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8173: Enable IRQ when pdata is ready If the device does not come straight from reset, we might receive an IRQ before we are ready to handle it. [ 2.334737] Unable to handle kernel read from unreadable memory at virtual address 00000000000001e4 [ 2.522601] Call trace: [ 2.525040] regmap_read+0x1c/0x80 [ 2.528434] mt8173_afe_irq_handler+0x40/0xf0 ... [ 2.598921] start_kernel+0x338/0x42c The Linux kernel CVE team has assigned CVE-2022-50439 to this issue. Affected and fixed versions =========================== Issue introduced in 4.2 with commit ee0bcaff109f36d582df9851f204c9a5eb79c028 and fixed in 5.4.229 with commit 190685ff4ee03eef8f12c71d8f626e414fa078a9 Issue introduced in 4.2 with commit ee0bcaff109f36d582df9851f204c9a5eb79c028 and fixed in 5.10.163 with commit 57491967ad8f865a9a81d08c36b26facd14d84e5 Issue introduced in 4.2 with commit ee0bcaff109f36d582df9851f204c9a5eb79c028 and fixed in 5.15.86 with commit 27e7cf595d4a9fea9d3906b47d0faa87896beeb3 Issue introduced in 4.2 with commit ee0bcaff109f36d582df9851f204c9a5eb79c028 and fixed in 6.0.16 with commit 9ce9c78a2bdbc9a014e7102a35834310c28528b9 Issue introduced in 4.2 with commit ee0bcaff109f36d582df9851f204c9a5eb79c028 and fixed in 6.1.2 with commit 77c6b6be7e80ca4a4d4b66b63fd5bb48ccefdd5a Issue introduced in 4.2 with commit ee0bcaff109f36d582df9851f204c9a5eb79c028 and fixed in 6.2 with commit 4cbb264d4e9136acab2c8fd39e39ab1b1402b84b 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-50439 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/mediatek/mt8173/mt8173-afe-pcm.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/190685ff4ee03eef8f12c71d8f626e414fa078a9 https://git.kernel.org/stable/c/57491967ad8f865a9a81d08c36b26facd14d84e5 https://git.kernel.org/stable/c/27e7cf595d4a9fea9d3906b47d0faa87896beeb3 https://git.kernel.org/stable/c/9ce9c78a2bdbc9a014e7102a35834310c28528b9 https://git.kernel.org/stable/c/77c6b6be7e80ca4a4d4b66b63fd5bb48ccefdd5a https://git.kernel.org/stable/c/4cbb264d4e9136acab2c8fd39e39ab1b1402b84b