Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792758830; b=reG96Q4h/fJab7al8j+bj5dbWJRUYr8KJAqClgTy/TOF46XobSQplIZRG7QFgp+phMwg Cl//N6ksnDQGHYdAtEx7IrTiSHAmCwC7dTcm6ZYsrSviNn+fkLGsnBFnd8Nj+DDREMzDV BXUZIIn4nCtgiPdQnxjmliKH55gHH/iYGAj7BMTu3QMPww8caDOLf/P4V3YBfZU2fX/+a yEsJmE9fU0q7ZqvWh6xtYiCeCXwP8kwbFjywSozb3tbtoZFXxAXBrQVYU9GbDVcTp7FSJ ch7XaVtoCgUC4nVGYcV4ej1bamKYTFqcqIAMqqpQneW3i3IvDVEYYvETeXYuOpgKGJw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792758830; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=E6h9YTWjFCEBKZpY1ucGajAvdkDNnPkg8cbRtwuZqqk=; b=2yp/T/R/b5pidDMwLeYo+LjUfmGvOckW5gjRYwu1y35aHQ5YnPwU0Fp4KPUtV64HRPhk 4e3QN2vjtha4t0aZmsDCnP9XHtQWCkVFe9LsuCI8pTjA0xv+9Pk0yA8mq4ItbudFssQ5o 5kU2dF7INBF7fQ0zOl/G3+VuG7J1WeFClRd9X19A51O9zGgwAhHXNJFBrB+b77GJc2oiI w3iaYlv3L9pj+SIKMVQ/mKvIzkVPyvYx7/JXApwC2PHsrC1KC39SxVHKGQwr5QipKvynL +e5KINWc+B36QebOKboqnKFs4ZESzCzXBPVpWjPn4EADod6G+poYo5qTFiWXqEuGcCA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=FQrlXFi+; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7DE81606A31A for ; Fri, 23 Oct 2026 12:33:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=FQrlXFi+ Received: by smtp.kernel.org (Postfix) with ESMTPSA id C12D51F01828; Fri, 23 Oct 2026 12:33:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792758830; bh=E6h9YTWjFCEBKZpY1ucGajAvdkDNnPkg8cbRtwuZqqk=; h=From:To:Cc:Subject:Date:Reply-To; b=FQrlXFi+IL47Myv4Nsa1x25dobcL7ywJAoN5PIfKuGLFb/69uFCa4IGKYCZXPq/zp L5O5oPcRLxG60vxyytFD0xS7hBtb9+/P5ytll+J+kmHa8d17uYjtaIdNaae3/7r9ZO KCnSjOOnBN2O6HIqPUtYdKmjY730FKLYThw0Zr1Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99001: drm/xe/i2c: cancel the client work on remove Date: Fri, 23 Oct 2026 14:20:03 +0200 Message-ID: <2026102317-CVE-2026-99001-a382@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3532; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fMpwhcauJR9UHGZ5FGWjM7yMJRbIcEIqmTcODPvPnxM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A46ucLvO4+5Z0FbtUBoWYjrTe8kytfw/i9q55iw5u naD/oXnHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRZ3MYFsxaO11lW/57rYhT zUze9hnyc65M72CYp2eilntQQmxZs8zpDy+N7m+I3l0sDgA= 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: drm/xe/i2c: cancel the client work on remove xe_i2c_notifier() stores the DesignWare adapter in i2c->adapter and schedules i2c->work when the adapter is registered under the xe I2C platform device, and xe_i2c_client_work() then instantiates the AMC client device on that adapter. xe_i2c_remove() tears down the AMC, unregisters the client devices, the bus notifier and the adapter platform device, but it never drains i2c->work. A work item that is still queued or running when the adapter is unregistered dereferences i2c->adapter in i2c_new_client_device() after platform_device_unregister() has released the adapter. The work item is also embedded in the devm-allocated struct xe_i2c, so a work item still queued after the drm device devm unwind frees that allocation runs its callback on freed memory. The bus notifier is the only thing that schedules this work, and it is unregistered after the client devices. An instance that is still queued when the teardown runs can therefore write i2c->client[XE_I2C_CLIENT_AMC] while the loop is unregistering and clearing the same array, and an AMC client it instantiates late is only cleaned up by the adapter's own child sweep in i2c_del_adapter(). Move bus_unregister_notifier() in front of the client teardown loop and cancel the work right after it, so no new instance can be scheduled and a queued instance is drained before the client array is touched. A running instance still finds a live adapter, since the adapter is unregistered later. (cherry picked from commit a23f27d5ec11c3f418c5e5531eea34ccda2b5b20) The Linux kernel CVE team has assigned CVE-2026-99001 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit f0e53aadd702c64b2c2090996751c9be043f9e80 and fixed in 6.18.58 with commit 2efa187fd4c9b8d7edcae0c1acf46739ce39fd01 Issue introduced in 6.17 with commit f0e53aadd702c64b2c2090996751c9be043f9e80 and fixed in 7.2.11 with commit 175d654cd48320ad52d0f82dc3f4e3c063c3c5ca Issue introduced in 6.17 with commit f0e53aadd702c64b2c2090996751c9be043f9e80 and fixed in 7.3 with commit 611857adc9e7b0ee1239a0baf38498922ca5a12e 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-99001 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/gpu/drm/xe/xe_i2c.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/2efa187fd4c9b8d7edcae0c1acf46739ce39fd01 https://git.kernel.org/stable/c/175d654cd48320ad52d0f82dc3f4e3c063c3c5ca https://git.kernel.org/stable/c/611857adc9e7b0ee1239a0baf38498922ca5a12e