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 8109139A063 for ; Wed, 3 Jun 2026 15:51:14 +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=1780501875; cv=none; b=b+z3b4f9mXRcl97LmVTcoUiC4X2NWDRoJBFbPp/0dLaX7nRPkxbl1PIRN1aQP/+8mZ2wlhJR+NiHcT4B0JPx6/JNgYys2qJRy89w5kjz1CcPvDO2V4ptYyV6Aw6f9V2cpFCjnhpQF0kNHocUE7Rf0nOIGNiMEXAhiDQitwHuiMo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780501875; c=relaxed/simple; bh=tHMIWDxnYOHumd2GkKHInNT7SXj9CMeHDjOcg1B7BT0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QcwOvhwsN/T+WhF2+olzuTI9tXVGN2+c9ECMX7i/LbBx56MfdG5w+Ln85DR4VSq5vHulNGiMC6QxngTUr5BvPoxFu3rAnnlvSTfKALI2HHmQ0MPGd69ecLwuRD59HfZgUlu81s5VOvBsXusxDau3EToao5Z0VPXD8IdJjgIrzBY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=B3CXmkZt; 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="B3CXmkZt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A3931F00893; Wed, 3 Jun 2026 15:51:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780501874; bh=hMMWZOL8QoPnWmka/LQ3j7evAMVzjk3HIHgp3vMV/Jo=; h=From:To:Cc:Subject:Date:Reply-To; b=B3CXmkZt/GM4NxWUF4mDjjnj+w3spSlPacG4yYujlvNm6p0Sl10VY8vbFoSIXH+Kd fuGeEEbfW8lNv1psl2xKgAqy1dmO9Z5vsw3v6IeBLHWonyFDuRmjZt7JUYLQDp5WK2 Rbu4TlP3e8zskfCe21dXgAcNPOL4Td7VhtIhhFLs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46261: spi: wpcm-fiu: Fix potential NULL pointer dereference in wpcm_fiu_probe() Date: Wed, 3 Jun 2026 17:49:50 +0200 Message-ID: <2026060336-CVE-2026-46261-9058@gregkh> X-Mailer: git-send-email 2.54.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=2724; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5RhED1A5vrkF5XLb3FVBwMzQl1+Sp920WGajSvka/Jk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkKvgKWNy+8kTrY+efkGrvzl3usd7Zusb0sfnpLsNLkR 3c4tLUzOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiYg0MCxbI2DKInt/lkuvr GP5svuzmCQzyDxnmZyQeZio+9OKf4IKre6U//7NZuTlaGwA= 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: wpcm-fiu: Fix potential NULL pointer dereference in wpcm_fiu_probe() platform_get_resource_byname() can return NULL, which would cause a crash when passed the pointer to resource_size(). Move the fiu->memory_size assignment after the error check for devm_ioremap_resource() to prevent the potential NULL pointer dereference. The Linux kernel CVE team has assigned CVE-2026-46261 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 9838c182471ee5532824bae7f2669d3539719f78 and fixed in 6.6.128 with commit 9e5cb7e67fbdb8320d68d87db882a92b36f6a1d9 Issue introduced in 6.2 with commit 9838c182471ee5532824bae7f2669d3539719f78 and fixed in 6.12.75 with commit 2c538a0b3472e99c892c26f4940da38b7d87f632 Issue introduced in 6.2 with commit 9838c182471ee5532824bae7f2669d3539719f78 and fixed in 6.18.14 with commit 0f93a80eb3fd596ddc5730d05e0e8c88e1aa2891 Issue introduced in 6.2 with commit 9838c182471ee5532824bae7f2669d3539719f78 and fixed in 6.19.4 with commit cb9b2dc34a9eef0855edb00ae9c9b7f72394281b Issue introduced in 6.2 with commit 9838c182471ee5532824bae7f2669d3539719f78 and fixed in 7.0 with commit 888a0a802c467bbe34a42167bdf9d7331333440a 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-46261 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-wpcm-fiu.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/9e5cb7e67fbdb8320d68d87db882a92b36f6a1d9 https://git.kernel.org/stable/c/2c538a0b3472e99c892c26f4940da38b7d87f632 https://git.kernel.org/stable/c/0f93a80eb3fd596ddc5730d05e0e8c88e1aa2891 https://git.kernel.org/stable/c/cb9b2dc34a9eef0855edb00ae9c9b7f72394281b https://git.kernel.org/stable/c/888a0a802c467bbe34a42167bdf9d7331333440a