Bug 2373643 (CVE-2022-49974) - CVE-2022-49974 kernel: HID: nintendo: fix rumble worker null pointer deref
Summary: CVE-2022-49974 kernel: HID: nintendo: fix rumble worker null pointer deref
Keywords:
Status: NEW
Alias: CVE-2022-49974
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-18 12:11 UTC by OSIDB Bzimport
Modified: 2025-06-18 23:12 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-06-18 12:11:57 UTC
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.

Comment 1 Avinash Hanwate 2025-06-18 23:02:57 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025061818-CVE-2022-49974-86bb@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.