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 07E632236E0 for ; Fri, 24 Apr 2026 14:37:57 +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=1777041477; cv=none; b=HRq00uYGZj6HCPOmGwyiPWJI4KHDWwIZtajdtlalzdhqnYvQ8eorCwIne7z6XXxowjTS/a4hZxJr/WTHXPTNMyg6ZJ3QoFSMbjwPCWYT2X2lTz50wqllo/yqL4AblHqhUrEcwOF08psx9VAFbDfcIsQYpZqbn6H/hKcsWF0L2AA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041477; c=relaxed/simple; bh=OScNIOALJBhgI4VlxuJULvk5ATO5w57bTRGhEDkcgHg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=l/+KVJIHU0pRv5r8kvk9Ne518J8YvpXJEoi2Audm/PJWxxZyYnUr3Vahtt7EaaZKdfPfaOaEi5l26mhVO0RIPpG6bj21YwamWYQfbeamW2H/QDb2qTSbHRhjhNXb5H7B0/UM3oYbLgzQoQvcFMijxKvA28flYdbv0bardAwfLWM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=00vEROFQ; 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="00vEROFQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 921C6C19425; Fri, 24 Apr 2026 14:37:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777041476; bh=OScNIOALJBhgI4VlxuJULvk5ATO5w57bTRGhEDkcgHg=; h=From:To:Cc:Subject:Date:Reply-To:From; b=00vEROFQ66FUJx2YzB+EhZdyZ80BkvbsDvqY2knWQpkAoMF9eeRhB3kBRk6r5XjXm N8Jr64cqihIRicNofUg16j4vn7EoJJDStOrFX+S20QtVznO7aXhPHFgXYzwJqRz6t5 HQKLIsZlZA3chN00vttFvjgy0RKBxY/oRpJ7YwfM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31572: i2c: designware: amdisp: Fix resume-probe race condition issue Date: Fri, 24 Apr 2026 16:36:16 +0200 Message-ID: <2026042402-CVE-2026-31572-0eec@gregkh> X-Mailer: git-send-email 2.53.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=2971; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KsSwmgP9ABTQTb/wwDc2IlZJ1wVJgjsyCn7TP9hg6SA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmv6y95Kp3SN8k5d33FswN1c4xVGvNNudW/X2oOl73Ws lvxdGpuRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEQ5NhnkIM5/GJr4Iuyngz sHCnqCqmtnf6MMwzbp2wV9vklKWcxe6QjgmM59sWBb8CAA== 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: i2c: designware: amdisp: Fix resume-probe race condition issue Identified resume-probe race condition in kernel v7.0 with the commit 38fa29b01a6a ("i2c: designware: Combine the init functions"),but this issue existed from the beginning though not detected. The amdisp i2c device requires ISP to be in power-on state for probe to succeed. To meet this requirement, this device is added to genpd to control ISP power using runtime PM. The pm_runtime_get_sync() called before i2c_dw_probe() triggers PM resume, which powers on ISP and also invokes the amdisp i2c runtime resume before the probe completes resulting in this race condition and a NULL dereferencing issue in v7.0 Fix this race condition by using the genpd APIs directly during probe: - Call dev_pm_genpd_resume() to Power ON ISP before probe - Call dev_pm_genpd_suspend() to Power OFF ISP after probe - Set the device to suspended state with pm_runtime_set_suspended() - Enable runtime PM only after the device is fully initialized The Linux kernel CVE team has assigned CVE-2026-31572 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit d6263c468a761cd4c89887073614394ac48441e1 and fixed in 6.18.21 with commit 83bcea9da91965484df64a6492b89e65d41ab31c Issue introduced in 6.16 with commit d6263c468a761cd4c89887073614394ac48441e1 and fixed in 6.19.11 with commit e81f0341754c309e33babea2821eda8f98f0b44c Issue introduced in 6.16 with commit d6263c468a761cd4c89887073614394ac48441e1 and fixed in 7.0 with commit e2f1ada8e089dd5a331bcd8b88125ae2af8d188f 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-31572 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/i2c/busses/i2c-designware-amdisp.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/83bcea9da91965484df64a6492b89e65d41ab31c https://git.kernel.org/stable/c/e81f0341754c309e33babea2821eda8f98f0b44c https://git.kernel.org/stable/c/e2f1ada8e089dd5a331bcd8b88125ae2af8d188f