Re: [PATCH] HID: Add HID_CLAIMED_INPUT guards in raw_event callbacks missing them

From: Benjamin Tissoires

Date: Thu Feb 19 2026 - 13:18:10 EST


On Thu, 19 Feb 2026 15:33:54 +0100, Greg Kroah-Hartman wrote:
> In commit 2ff5baa9b527 ("HID: appleir: Fix potential NULL dereference at
> raw event handle"), we handle the fact that raw event callbacks
> can happen even for a HID device that has not been "claimed" causing a
> crash if a broken device were attempted to be connected to the system.
>
> Fix up the remaining in-tree HID drivers that forgot to add this same
> check to resolve the same issue.
>
> [...]

Applied to hid/hid.git (for-7.0/upstream-fixes), thanks!

[1/1] HID: Add HID_CLAIMED_INPUT guards in raw_event callbacks missing them
https://git.kernel.org/hid/hid/c/ecfa6f34492c

Cheers,
--
Benjamin Tissoires <bentiss@xxxxxxxxxx>