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 6799958B6C9 for ; Thu, 17 Sep 2026 16:24:22 +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=1789662264; cv=none; b=Yemlv4B9ErosBs0jqYj0BiwDbKe+mIxEJdsTgWFqwg2/3j9T9uQ+cXUKeRW6AL1AKBtLPMapZ7M9XhW/YFifyyC6Fo3l8/I4FaGcExo22mj+rlHZnz/jGhXR5ug7BXy6fPu8Bu+y7Th4DlmZsubFgY5KEd6fPfYUwjSksllj7Is= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662264; c=relaxed/simple; bh=9Y4tW+VAqxRUeV5clpHfjC44uYNFv2+Xcz5x2xtxzyw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BtrN23UAi/wWngYI5xcWhPe6J+cIPmTod4+lpVCpwW5HCz02zGdyXnyEaxLSsfJk+2AbDuNA61cbJ9ZrLjgOeX5ERQWiK8YdWPlD7Dq8Wols4qXAuLSFO4IJhIr8vIWesKEo9gjAIdCnsQD39aMQfd41M1/IIM3Zri/lxst5ThM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UKLAP+/+; 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="UKLAP+/+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB1F71F000FF; Thu, 17 Sep 2026 16:24:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662262; bh=QUl2EGuvGw2lzoh+VSDTulYJ/S5HT3VC2EqVCgXVspI=; h=From:To:Cc:Subject:Date:Reply-To; b=UKLAP+/+mEs2WQIQgFxOwxauyEorI1+/XdyDv9ptvPnmiHxk+GrbHRdb4tjdjLrEL FdOUS72wZWk7pQoU7zFuwmu0T5V8kVCaE7BfHygedTP+aTqsU0l7+J2oPCSycCOw/X 9XN54WO3mGWPRfjO5e3f8kdE3zQSYgpRZmPFCTVQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90296: cpufreq: imx6q: fix devres accumulation across driver rebind Date: Thu, 17 Sep 2026 17:12:06 +0100 Message-ID: <2026091753-CVE-2026-90296-9b05@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=3982; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lWHIUwlif+LLGqKJ7qIw38iZOXJWs2jHj84sjx+R4CE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBKaa5zxcWlaZcaDpipx8/Kq5ZnN2zL15J84qevKyy T5LW1KPdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEZBIZ5tmdW775x7atESsm Za//e1J2bfjEqhiGBRNbquKXVj1793vTn7d/U1b2FrGwpQMA 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: cpufreq: imx6q: fix devres accumulation across driver rebind imx6_soc_volt is allocated with devm_kcalloc(cpu_dev, ...), where cpu_dev is the CPU device from get_cpu_device(0). That device is never unbound, so its devres list is never released, and imx6q_cpufreq_remove() does not free the array either. Every probe therefore adds an allocation that stays for the lifetime of the system. Allocate against the platform device instead. Its devres is released when the driver is unbound, which is exactly the lifetime the array wants: imx6q_set_target() reads it, and nothing may reach that after cpufreq_unregister_driver(). That makes the array actually go away on unbind, so also clear the file-scope pointer in remove and on the failed-probe path, rather than leave it pointing at memory devres is about to release. Tested by rebinding the driver on qemu's mcimx6ul-evk. The Linux kernel CVE team has assigned CVE-2026-90296 to this issue. Affected and fixed versions =========================== Issue introduced in 3.14 with commit b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 and fixed in 5.10.270 with commit 493c4d5982f037f288509a1cee352b8b9705fb38 Issue introduced in 3.14 with commit b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 and fixed in 5.15.221 with commit d91f07381e2b70578ff92b83d9422ac31e7b9096 Issue introduced in 3.14 with commit b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 and fixed in 6.1.188 with commit 38d2c3c9238b9d499e1829a3b8e80c2f73c73b5c Issue introduced in 3.14 with commit b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 and fixed in 6.6.157 with commit 92e53a5274276a7b1ca815b9aacebea4fb7efe75 Issue introduced in 3.14 with commit b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 and fixed in 6.12.110 with commit 9e314b3ecd2594958d4f4999313641290ad28ebe Issue introduced in 3.14 with commit b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 and fixed in 6.18.52 with commit e2d2612e63e294ebcdec7c6f08a1a052b7dfdc59 Issue introduced in 3.14 with commit b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 and fixed in 7.2.6 with commit 0f77d1a0a25056146eea1f8619fa06ce287c91f7 Issue introduced in 3.14 with commit b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 and fixed in 7.3-rc1 with commit 22c23c72c3b21fa3ec3db5070dfc0582794e0ef9 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-90296 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/cpufreq/imx6q-cpufreq.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/493c4d5982f037f288509a1cee352b8b9705fb38 https://git.kernel.org/stable/c/d91f07381e2b70578ff92b83d9422ac31e7b9096 https://git.kernel.org/stable/c/38d2c3c9238b9d499e1829a3b8e80c2f73c73b5c https://git.kernel.org/stable/c/92e53a5274276a7b1ca815b9aacebea4fb7efe75 https://git.kernel.org/stable/c/9e314b3ecd2594958d4f4999313641290ad28ebe https://git.kernel.org/stable/c/e2d2612e63e294ebcdec7c6f08a1a052b7dfdc59 https://git.kernel.org/stable/c/0f77d1a0a25056146eea1f8619fa06ce287c91f7 https://git.kernel.org/stable/c/22c23c72c3b21fa3ec3db5070dfc0582794e0ef9