Skip to contentSkip to conversation

CVE-2026-31545: NFC: nxp-nci: allow GPIOs to sleep

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Apr 24

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

NFC: nxp-nci: allow GPIOs to sleep

Allow the firmware and enable GPIOs to sleep.

This fixes a `WARN_ON' and allows the driver to operate GPIOs which are connected to I2C GPIO expanders.

-- >8 --
kernel: WARNING: CPU: 3 PID: 2636 at drivers/gpio/gpiolib.c:3880 gpiod_set_value+0x88/0x98 -- >8 --

The Linux kernel CVE team has assigned CVE-2026-31545 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.4 with commit 43201767b44cbd873c60dbd2acd370147588cb18 and fixed in 5.10.253 with commit 0c2320c3c860d281cbc2f49fc574c1947a6b9e2a
	Issue introduced in 5.4 with commit 43201767b44cbd873c60dbd2acd370147588cb18 and fixed in 5.15.203 with commit 2a175bc3c338c6b2bc55004e93dd35a2467bdca2
	Issue introduced in 5.4 with commit 43201767b44cbd873c60dbd2acd370147588cb18 and fixed in 6.1.167 with commit c24dcac1a9d1b4fd164898df0c2f5b0adbf81a78
	Issue introduced in 5.4 with commit 43201767b44cbd873c60dbd2acd370147588cb18 and fixed in 6.6.130 with commit 70662874f646871c2f08ef1cf2544ba9a5f71b96
	Issue introduced in 5.4 with commit 43201767b44cbd873c60dbd2acd370147588cb18 and fixed in 6.12.78 with commit 548a1bfe591364e63bce4af7c5802bb434efdaf8
	Issue introduced in 5.4 with commit 43201767b44cbd873c60dbd2acd370147588cb18 and fixed in 6.18.20 with commit 4de9ed2ea22d611b4149969266b45a86ea8daf35
	Issue introduced in 5.4 with commit 43201767b44cbd873c60dbd2acd370147588cb18 and fixed in 6.19.10 with commit 783f05e560d761dee7ff602b97edb0e54f2e9727
	Issue introduced in 5.4 with commit 43201767b44cbd873c60dbd2acd370147588cb18 and fixed in 7.0 with commit 55dc632ab2ac2889b15995a9eef56c753d48ebc7

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-31545

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/nfc/nxp-nci/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/0c2320c3c860d281cbc2f49fc574c1947a6b9e2a
	https://git.kernel.org/stable/c/2a175bc3c338c6b2bc55004e93dd35a2467bdca2
	https://git.kernel.org/stable/c/c24dcac1a9d1b4fd164898df0c2f5b0adbf81a78
	https://git.kernel.org/stable/c/70662874f646871c2f08ef1cf2544ba9a5f71b96
	https://git.kernel.org/stable/c/548a1bfe591364e63bce4af7c5802bb434efdaf8
	https://git.kernel.org/stable/c/4de9ed2ea22d611b4149969266b45a86ea8daf35
	https://git.kernel.org/stable/c/783f05e560d761dee7ff602b97edb0e54f2e9727
	https://git.kernel.org/stable/c/55dc632ab2ac2889b15995a9eef56c753d48ebc7