Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2022-49974

HID: nintendo: fix rumble worker null pointer deref

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • c4eae84feff3e68c2f385aa10faea4a96791e7ad to < 7c6e6c334154be16740b44dcd7638fb510b9bd91affected
  • c4eae84feff3e68c2f385aa10faea4a96791e7ad to < 1ff89e06c2e5fab30274e4b02360d4241d6e605eaffected

Linux Linux

Default version status: affected

  • 5.16affected
  • 0 to < 5.16unaffected
  • 5.19.7 to ≤ 5.19.*unaffected
  • 6.0 to ≤ *unaffected

References