What’s Vulnerable › Vulnerabilities
CVE-2022-49974: HID: nintendo: fix rumble worker null pointer deref
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-18 · updated 2026-08-15
- Weakness: CWE-476
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.
Affected products
- Linux kernel: from 5.16 before 5.19.7; 6.0-rc1, 6.0-rc2, 6.0-rc3 — fixed in 5.19.7
How to fix
Upgrade to a fixed version: Linux kernel 5.19.7. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1ff89e06c2e5fab30274e4b02360d4241d6e605e
- https://git.kernel.org/stable/c/7c6e6c334154be16740b44dcd7638fb510b9bd91
Get alerted when CVE-2022-49974 or the next vulnerability affects your stack