From mboxrd@z Thu Jan 1 00:00:00 1970 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 EFBA93BB12E for ; Mon, 8 Jun 2026 15:47:36 +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=1780933658; cv=none; b=jpJKF6v12lB0kxCBJFEVYftPr/JU7ORBi0lOZPiGGExB9zalKK2DfBu9BxUBq5PletxBc5w+acLBOgcAJHm2lWZHLBjiGTQbTCe1nOEHhXq656v6wFCLYJ2uP45iuiREVsCOHzexR22AAzKR0m102TJqNF038OsEMupk4kLT72A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780933658; c=relaxed/simple; bh=t2AEnOxE/Tglu0WlB5q7yIZAL1jskrXyV8mLM0cYJao=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=i/sq+zEVRF0gA4ECA1+TmBAoO03mkMtd6c2Cjb81LQ92YRGBH+uH4YZD44XHfOgWiun/naDoaSZD69tGZVvpUfQe0OnzF5aQReJ07aH/qw5An7zK8sOn7uf5deOQ9CWWptmzaGvFuAarXCVgL9g79rv0Ex63Tv5XT7uFKNP9YJQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BS5iC99g; 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="BS5iC99g" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F1DD1F00893; Mon, 8 Jun 2026 15:47:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780933656; bh=S6vyqFRYGAal/twOj4MVtb2nhQ2BJE/Cn7ubZtrUXZI=; h=From:To:Cc:Subject:Date:Reply-To; b=BS5iC99gCMf/w7FiHnmFXsHOsJEiVWlxzl53+pUsoUzY/BomA4UqRSm/nC6C0b+JU ygfbz/veR87B399AowHc7rx9ylXvL+1UhASbzxBE+iXKACRm/EK6ILb4CErYMDI0+L z4fNLwlwLkUPiSpyrgl4gUY3mcIGsVpAAzf9Fbi8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46308: pmdomain: mediatek: fix use-after-free in scpsys_get_bus_protection_legacy() Date: Mon, 8 Jun 2026 17:46:15 +0200 Message-ID: <2026060801-CVE-2026-46308-d902@gregkh> X-Mailer: git-send-email 2.54.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=2643; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cOLnSf2VtvM8MX2UoOlgdhrhx4Z8nShV07KVQvKN1Jk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlqj3d+Kl2wzVpcQ3HJrbkvfQ6mhonbRqzgv+ASt/fW+ Zhdz4WedMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEXoczzC9Q07rh6bFz9aHq Mn+t6v+T3Moi3jHMlRedv3OKlLPm16kRl3/dZ015zH4qBwA= 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: fix use-after-free in scpsys_get_bus_protection_legacy() In scpsys_get_bus_protection_legacy(), of_find_node_with_property() returns a device node with its reference count incremented. The function then calls of_node_put(node) before checking whether syscon_regmap_lookup_by_phandle() returns an error. If an error occurs, dev_err_probe() dereferences the node pointer to print diagnostic information, but the node memory may have already been freed due to the earlier of_node_put(), leading to a use-after-free vulnerability. Fix this by moving the of_node_put() call after the error check, ensuring the node is still valid when accessed in the error path. The Linux kernel CVE team has assigned CVE-2026-46308 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit c29345fa5f66bea0790cf2219f57b974d4fc177b and fixed in 6.18.30 with commit cb27e43c0511e9e1ca8818d231656070b11c18cf Issue introduced in 6.18 with commit c29345fa5f66bea0790cf2219f57b974d4fc177b and fixed in 7.0.7 with commit 38d8410021b55d226847b2ac8d189d89fe5a8866 Issue introduced in 6.18 with commit c29345fa5f66bea0790cf2219f57b974d4fc177b and fixed in 7.1-rc3 with commit ec1fcddb3117d9452210e838fd37389ee61e10e8 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-46308 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-pm-domains.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/cb27e43c0511e9e1ca8818d231656070b11c18cf https://git.kernel.org/stable/c/38d8410021b55d226847b2ac8d189d89fe5a8866 https://git.kernel.org/stable/c/ec1fcddb3117d9452210e838fd37389ee61e10e8