Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 7E8F74A6CC2 for ; Thu, 24 Sep 2026 16:11:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790266309; cv=none; b=gx0+b883HZ/5d2JvBM6rNJ88NPL+fScyGp4M6Tf70jdYBGzkEpzA/iKIf/wh/oQFXaRS8rsx9QNfag3UrDVpNNUQkZJ0oskh0tf2mSXEplriVzKXMI7MxvwuovdEhPGiedCb03FQ1FMkjZHwZC0shQa5QvQNR3nB8mbpY1NbPIQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790266309; c=relaxed/simple; bh=xG98wrbpLFjNWSULhLX3UVTbC04Ec9T5yWZ2WIT/cxM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=l3F67iwTJIM9ijvRRpPWsScZRgNN874sRMjpm2+55+lRLwmAPjqIZknV4j+WiLMuCqg5ZK5sJ0FUk4WyjRNUWIEZ8M1ydSun5ucQETTcOgRD3z039pqOIEZBpDt5AzLfCa6Vr4SiEVno7sMUQc3hdR5ZA9OPM6n5tzziLnV8tEQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fKd7+EqL; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="fKd7+EqL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 050E31F000FF; Thu, 24 Sep 2026 16:11:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790266308; bh=P5iw8qBCYP9BAH4y4/+nZzOael8xvaG7fWZgpVZNf+g=; h=From:To:Cc:Subject:Date:Reply-To; b=fKd7+EqLqDSzKVYPAltNU6b51YyMIZK5CvJ+cbqR0xt1mQIZxhE+L467cq1txtOJA 3nE+qsHQ9ywoog5UCW6j/jgbR8L0ka/SwhlYlsqiypZ1KJPJxo4zhCEnmLybR34wi0 gNDs71Vg8/Kk/asVRpLfEiSxRO8kiCoJrVT1BId8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97414: ASoC: mediatek: mt8365-afe-pcm: fix possible NULL-pointer dereferences in mt8365_afe_suspend() Date: Thu, 24 Sep 2026 18:03:14 +0200 Message-ID: <2026092426-CVE-2026-97414-d108@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2306; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BZzrHo7MIpmO4ucFHtykt5Trsinw3ESSPMOy6xcJXf8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbPSex/Ob/xqK63GSmvd23ncdtnvwO6SrVmV74T//so Yl742YYdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEfs5mmF/Jcsu5d16r1/yi j6+23kuWMTHxvMAwz8w92rB619W/BWm8Dl+5L8m0va4VBQA= 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: mt8365-afe-pcm: fix possible NULL-pointer dereferences in mt8365_afe_suspend() mt8365_afe_suspend() allocates the register backup buffer with devm_kcalloc(), but does not check for allocation failure before using the returned pointer. This may lead to a NULL pointer dereference when accessing afe->reg_back_up[i]. Add the missing NULL check and return -ENOMEM on allocation failure after disabling the main clock. Also propagate the return value of mt8365_afe_suspend() in mt8365_afe_dev_runtime_suspend() so that the suspended state is not updated when suspend fails. The Linux kernel CVE team has assigned CVE-2026-97414 to this issue. Affected and fixed versions =========================== Fixed in 6.12.111 with commit f87707bc0406fe92bc142a9eee5f480c94ce9ff8 Fixed in 6.18.53 with commit 1094d83ad325829acd68e63147793536060a0d60 Fixed in 7.2 with commit b8948ac26efc395264a47f9a743889065adb5cff 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-2026-97414 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/mt8365/mt8365-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/f87707bc0406fe92bc142a9eee5f480c94ce9ff8 https://git.kernel.org/stable/c/1094d83ad325829acd68e63147793536060a0d60 https://git.kernel.org/stable/c/b8948ac26efc395264a47f9a743889065adb5cff