CVE-2022-49974

HID: nintendo: fix rumble worker null pointer deref

State
Published
Severity
8.8 High
Published
Jun 18, 2025
Updated
Aug 15, 2026
Reserved
Jun 18, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c4eae84feff3e68c2f385aa10faea4a96791e7ad to before 7c6e6c334154be16740b44dcd7638fb510b9bd91Affected
  • c4eae84feff3e68c2f385aa10faea4a96791e7ad to before 1ff89e06c2e5fab30274e4b02360d4241d6e605eAffected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 5.19.7 through 5.19.*Not affected
  • 6.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.