CVE Catalog

CVE-2022-49974

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

17th percentile - higher than 17% of all known CVEs

Summary

In the Linux kernel, the HID driver for Nintendo controllers has a null pointer dereference vulnerability. When the device is disconnected, the workqueue is destroyed and may still be used to schedule rumble work, leading to a crash.

Risk Assessment

An attacker with physical access could cause a kernel panic by disconnecting the controller at the right moment.

Recommendation

Apply a Linux kernel update that includes the fix preventing the use of the destroyed workqueue after device disconnection.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS