All reports
Medium

kernel: HID: nintendo: fix rumble worker null pointer deref

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-49974

Probability of exploitation in the next 30 days: 0.27%

FIRST EPSS · 2026-11-22

Description

In the Linux kernel, the following vulnerability has been resolved: HID: nintendo: fix rumble worker null pointer deref We can dereference a null pointer trying to queue work to a destroyed workqueue. If the device is disconnected, nintendo_hid_remove is called, in which the rumble_queue is destroyed. Avoid using that queue to defer rumble work once the controller state is set to JOYCON_CTLR_STATE_REMOVED. This eliminates the null pointer dereference.

A flaw was found in the Linux kernel's Nintendo Human Interface Device (HID) driver. When a Nintendo controller device is disconnected, the driver cleans up the rumble workqueue while background rumble tasks may still attempt to queue work to it. A local user with access to the controller can trigger this issue by disconnecting the device, resulting in a null-pointer dereference, a kernel crash, and a denial of service.