]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
HID: pidff: Fix condition effect bit clearing
authorTomasz Pakuła <tomasz.pakula.oficjalny@gmail.com>
Wed, 4 Feb 2026 21:44:55 +0000 (22:44 +0100)
committerJiri Kosina <jkosina@suse.com>
Sat, 21 Feb 2026 09:47:12 +0000 (10:47 +0100)
commit97d5c8f5c09a604c4873c8348f58de3cea69a7df
treeb2595e7ec44f93bac086f4787f9476d57aca4514
parentecfa6f34492c493a9a1dc2900f3edeb01c79946b
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

Fixes: 7f3d7bc0df4b ("HID: pidff: Better quirk assigment when searching for fields")
Cc: stable@vger.kernel.org # 6.18.x
Signed-off-by: Tomasz Pakuła <tomasz.pakula.oficjalny@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/usbhid/hid-pidff.c