Skip to contentSkip to conversation

CVE-2026-23349: HID: pidff: Fix condition effect bit clearing

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Mar 25

lore
Share & tools
lore
#0 lore raw

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

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

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

HID: pidff: Fix condition effect bit clearing

As reported by MPDarkGuy on discord, NULL pointer dereferences were happening because not all the conditional effects bits were cleared.

Properly clear all conditional effect bits from ffbit

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

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

	Issue introduced in 6.18 with commit 7f3d7bc0df4bdc23d31cf0f90b6e20c45129465e and fixed in 6.18.17 with commit d1edc027a4b0bb4c7a2670b530590b4df6177011
	Issue introduced in 6.18 with commit 7f3d7bc0df4bdc23d31cf0f90b6e20c45129465e and fixed in 6.19.7 with commit ef0e669dbceaf3d7bb4ae0b235fa61feabd92b0b
	Issue introduced in 6.18 with commit 7f3d7bc0df4bdc23d31cf0f90b6e20c45129465e and fixed in 7.0-rc3 with commit 97d5c8f5c09a604c4873c8348f58de3cea69a7df

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

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/hid/usbhid/hid-pidff.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/d1edc027a4b0bb4c7a2670b530590b4df6177011
	https://git.kernel.org/stable/c/ef0e669dbceaf3d7bb4ae0b235fa61feabd92b0b
	https://git.kernel.org/stable/c/97d5c8f5c09a604c4873c8348f58de3cea69a7df