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 853AD3AA4EB for ; Sat, 15 Aug 2026 12:30: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=1786797049; cv=none; b=PMtyrMhP1MrnBwq2RmJ93RUZ8NVMm9gpQqUrrmsv0mvYYPERxRgTRAsN1dtA5QMF1E5uqXNSxlyBHzPVudqjy3CUeynusRfMFTdPozP6BOOFrBjBKrMqcGfzemkoFb3iZ37yzgtnQfkA4UEXngklIbmm+fJm804w6r0pE1yPp/M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786797049; c=relaxed/simple; bh=GSgoMgce1D3E2LmdcGjgpTvB0XWWGv/KuNR/h7nLRfE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PblY0bJIfO2NxuyHSVvsGVeMXHtCYQmjETGKhZZz2Yvpq47iu5+c+c9Ck5CnV9IhL2KylfwJIzdC+JqAeZcyUZDfRZK1DVAdE03AvNbNtZl4QoAcCiXnFUQCg3TGtm1bICjEbGkPFnl9lhze+cdZtsNwIZdEC+bk9kbQ54oOFuU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Nz08JaCO; 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="Nz08JaCO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD38D1F000E9; Sat, 15 Aug 2026 12:30:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786797048; bh=I5Xz/JwuIo/OYKOHSuKd8EgTnQBv03R2X59tcNbGFDY=; h=From:To:Cc:Subject:Date:Reply-To; b=Nz08JaCOAT+9MxQGDMLKN0UUYrKLE5FIbOMKMRfQaDC3MLrmAo+HVpD6UozwGMQQK 5s0JyvyklTANhKWziJQA1V4N4lk30cd4Aj6W7zzKG0eqaMwu5N/Tj7H2AOX1jFhgEG FrBlfjyKCTTQ7GxfB5lIrSmzqZ/0v4i9dJdxPR4c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74461: i2c: imx: Cancel hrtimer before clearing slave pointer Date: Sat, 15 Aug 2026 21:25:42 +0900 Message-ID: <2026081532-CVE-2026-74461-5a10@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=3025; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YiHahILjpfJ+QYm1fKEthtgKGvC88OH8g4htLr6VFk0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNUXsSyhvmiMYvKVV9yRnq/3ne1x8qLkzPF6yJcZvnK TRx376QjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZgIUxPDbPZUq97lTw23CnP/ EXaq50sK+PMxmmG++9Wo1LYXjq/Zpl56d9d78+GPZluSAQ== 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: imx: Cancel hrtimer before clearing slave pointer In i2c_imx_unreg_slave(), the slave pointer is set to NULL after disabling interrupts. However, a pending interrupt might already have started the hrtimer (i2c_imx_slave_timeout) before the pointer was cleared. If the hrtimer fires after i2c_imx->slave is set to NULL, the timer callback i2c_imx_slave_finish_op() will call i2c_imx_slave_event() with a NULL slave pointer, which results in a use-after-free / NULL pointer dereference. Fix by canceling the hrtimer and waiting for it to complete after disabling interrupts, before clearing the slave pointer. The Linux kernel CVE team has assigned CVE-2026-74461 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit f7414cd6923fd7f78e57086fc964ba2dc25db5c1 and fixed in 6.6.151 with commit a8a1f9ac3d763e721586f15479ef9140b216ddf3 Issue introduced in 5.11 with commit f7414cd6923fd7f78e57086fc964ba2dc25db5c1 and fixed in 6.12.103 with commit 753060f2b77ff2f386addbd3ecadb95b9f90cddd Issue introduced in 5.11 with commit f7414cd6923fd7f78e57086fc964ba2dc25db5c1 and fixed in 6.18.44 with commit affd62f5719a78135b7441aa49c8cab3c3b5e838 Issue introduced in 5.11 with commit f7414cd6923fd7f78e57086fc964ba2dc25db5c1 and fixed in 7.1.8 with commit dab4762ee7f3fd0a01980d5407ba48d0261d3bff Issue introduced in 5.11 with commit f7414cd6923fd7f78e57086fc964ba2dc25db5c1 and fixed in 7.2-rc6 with commit 6ac7702b6cc2b94aaed9ef2d95bfbefcdc90061f 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-74461 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-imx.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/a8a1f9ac3d763e721586f15479ef9140b216ddf3 https://git.kernel.org/stable/c/753060f2b77ff2f386addbd3ecadb95b9f90cddd https://git.kernel.org/stable/c/affd62f5719a78135b7441aa49c8cab3c3b5e838 https://git.kernel.org/stable/c/dab4762ee7f3fd0a01980d5407ba48d0261d3bff https://git.kernel.org/stable/c/6ac7702b6cc2b94aaed9ef2d95bfbefcdc90061f