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 A651C44E042 for ; Thu, 24 Sep 2026 16:08:51 +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=1790266132; cv=none; b=o5aelalORMxmpWd5c6X46hwLE26JDdRfLejnAKXys5dooFImSBfPqS0O+trWR1s3mVj1xYEXzrxL0bu42YiOCrADAJHqCSHGJ+XZ5+ETyf1uSOezItvVwMCs5ASCFB18ki+zgqvunRTj28+yZK8zk4p3HMGMP1zhzhCMjqKQjMo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790266132; c=relaxed/simple; bh=3x3Xp2P+3WMahqQipAEWLktQT071T1XF1ZfDcayCqtA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sswYvWvATD0ZkK5hoAu/UqhDmPCuTI7zFSPkhgOY0aA0VR/XihcIUGoMy36ri8cUGOndpZo9XCOAiGN6GCV8sBNfBEqX1G19qDh9LkK75FV9TbQhRFRO3spV0Ayl+Hq6S93fJior5JVjQsTXpNKxYOa9o1ZHsPJKj+t7WsDymb0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YUOxjhv+; 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="YUOxjhv+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A2321F000FF; Thu, 24 Sep 2026 16:08:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790266131; bh=lQ46FfLavxP/o4sZTcXr68x5CloW9hdt6yENp5qvu10=; h=From:To:Cc:Subject:Date:Reply-To; b=YUOxjhv+PzM4aEZTZoiAo5EudFH7qbr7Mf8szvrxRoYzXyjm2CJQzy+OVcwK5Xb4m S2mECcqzlUTR/fCOsAwFnvd8UzxkEhgOwiWDNR3Txbrvh4vOL+bVAPa5qonGm6yncr RX728CDcbv9q4XBaU+4S6lEzMefyQzogCsJWnkfM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93825: spi: Add NULL check for spi_get_device_id() in spi_get_device_match_data() Date: Thu, 24 Sep 2026 18:03:01 +0200 Message-ID: <2026092423-CVE-2026-93825-d401@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=1906; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gXegDDiWvjMn2R8/U4E9bvNeVtrc/oyrpVwqeHS2xHw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbPSd8q34Vdebm8nzPJcU/rZbMuubeWDZRQmPjVMbyy ff2rZ66sSOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAm8jSeYcH5kPubjli9avn7 1qHvcX5+1OMSfy6GBUdsJBdFzkt5/LU+/XnFrw0iXIvvlgAA 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: spi: Add NULL check for spi_get_device_id() in spi_get_device_match_data() Prevent NULL pointer dereference when spi_get_device_id() returns NULL, which can happen when using driver_override without matching SPI ID entry. The Linux kernel CVE team has assigned CVE-2026-93825 to this issue. Affected and fixed versions =========================== Fixed in 6.12.111 with commit 3fcd9415144f4fbd21e1bef35a7f8dbd734f607d Fixed in 6.18.53 with commit 72cc9c6d6fba5b4e0aaf89126884a56bb54b92f8 Fixed in 7.2 with commit f1b061b4d4c6cbf861319ba954caa80145cf018f 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-93825 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/spi/spi.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/3fcd9415144f4fbd21e1bef35a7f8dbd734f607d https://git.kernel.org/stable/c/72cc9c6d6fba5b4e0aaf89126884a56bb54b92f8 https://git.kernel.org/stable/c/f1b061b4d4c6cbf861319ba954caa80145cf018f