NULL pointer dereference in Linux

CVE-2022-49974

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.003, 18.6th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions c4eae84feff3e68c2f385aa10faea4a96791e7ad, 5.19.7, 0
  • Linux Kernel — versions 6.0

Weakness classification (CWE)

References