{"id":"CVE-2022-49974","summary":"HID: nintendo: fix rumble worker null pointer deref","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: nintendo: fix rumble worker null pointer deref\n\nWe can dereference a null pointer trying to queue work to a destroyed\nworkqueue.\n\nIf the device is disconnected, nintendo_hid_remove is called, in which\nthe rumble_queue is destroyed. Avoid using that queue to defer rumble\nwork once the controller state is set to JOYCON_CTLR_STATE_REMOVED.\n\nThis eliminates the null pointer dereference.","modified":"2026-04-02T08:28:06.814122Z","published":"2025-06-18T11:00:37.224Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49974.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1ff89e06c2e5fab30274e4b02360d4241d6e605e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c6e6c334154be16740b44dcd7638fb510b9bd91"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49974.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49974"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2af16c1f846bd60240745bbd3afa13d5f040c61a"},{"fixed":"7c6e6c334154be16740b44dcd7638fb510b9bd91"},{"fixed":"1ff89e06c2e5fab30274e4b02360d4241d6e605e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49974.json"}}],"schema_version":"1.7.5"}