CVE-2022-49974 — HID: nintendo: fix rumble worker null pointer deref
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 …
Published: 2025-06-18 · CVSS: 8.8 · CVSS 3.1
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.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7