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 D44F241A551 for ; Thu, 3 Sep 2026 08:26:57 +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=1788424019; cv=none; b=jjzcpxVXS24NYIOWsVqaEwAszmxwJ8W8QThmo8kXUTNrLTg6GqwCXDpB9cYQbHXOmbDEWQ871Alal8zIfNwPsZJC4FpI7STRFn/nk7MvrmCI6qEWN8LFuULsKrrl8LJ99caW30VgnDKts67tAwhheyPuoR9SeeRF3Zy7Rmr0fKg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788424019; c=relaxed/simple; bh=rD6ncvmIBrOqzd6xwjJevc9hh2ePU57ZiC660AyOG+k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Jsc16+FDNBGpmq9L4ItfUv2Yh44x6cNm61QtAuK2jIyMRxTBmeweo3STw8zwNEb+Pb7UZxMNmIaAmmf4vMHdlU+tkTbzMqIEIwr59sGjyu+UCoabPdHzPpn7WzgoDwMFSwyD+ZeJUYW+pzNDpY5C+K0x1kghk1VnDlASZPc1Zgs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=m7UHGjtT; 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="m7UHGjtT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D11D31F000E9; Thu, 3 Sep 2026 08:26:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788424017; bh=R92UxK5ZRRGSCfAPz2uvEsDl3DyRUSOWFaKKbqXIDRU=; h=From:To:Cc:Subject:Date:Reply-To; b=m7UHGjtTEDjtuIoO9Vs6xf8poe6M4sNRPxBR1IGUkjED/EZrQhtIlEQGzRwEmk4wj 69kmGhEgULQMXQaCr3UmQgh5QKeWUk4tlO3FBPzfS2JPgI7+yfc9b0MIhkCzBqFZo6 lL2+CIFxECmLCQ3dFXU4rIoqldlmV+HexmcSafag= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80751: pmdomain: mediatek: mfg: initialize prev_o in mtk_mfg_attach_dev() Date: Thu, 3 Sep 2026 10:26:48 +0200 Message-ID: <2026090339-CVE-2026-80751-4809@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=2357; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=n8hbLH3n6ZBF3Fvl5BXhEvlXKCQU0YJfi9IjEH2C/nY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkz9e3XSSRuqe6K+sT7yak/+dq5hoS9NiIXnuZY2EVES C3kTZPpiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgImEyTPML/fccvVA+aGSyU+n TnY7q81ZJ1qbybBgn0U8Y8C76xMWPBboXL971du7ARH5AA== 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: pmdomain: mediatek: mfg: initialize prev_o in mtk_mfg_attach_dev() mtk_mfg_attach_dev() reads prev_o on the first iteration of its loop, in "if (prev_o && prev_o->freq == o->freq)", before prev_o is assigned at the end of the loop body. On that first iteration, evaluating prev_o reads an indeterminate value. If it is non-NULL, the condition dereferences a stale or invalid pointer, potentially faulting or incorrectly skipping the first OPP. Initialize prev_o to NULL. This matches the intent as well: there is no previous OPP to compare against on the first iteration. Found with Clang's -Wconditional-uninitialized. The Linux kernel CVE team has assigned CVE-2026-80751 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit f08e7a4e8d6ac4de677727af352ea33c6ce9f444 and fixed in 7.1.10 with commit de4eec0dfde8c0e27f8915bbb244d17ff68f2fb4 Issue introduced in 6.19 with commit f08e7a4e8d6ac4de677727af352ea33c6ce9f444 and fixed in 7.2 with commit 090a95dbe13df9965279b588d97eda134831769c 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-80751 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: drivers/pmdomain/mediatek/mtk-mfg-pmdomain.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/de4eec0dfde8c0e27f8915bbb244d17ff68f2fb4 https://git.kernel.org/stable/c/090a95dbe13df9965279b588d97eda134831769c