همهٔ گزارش‌ها
متوسط

kernel: HID: nintendo: fix rumble worker null pointer deref

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2022-49974

احتمال بهره‌برداری در ۳۰ روز آینده: 0.27%

FIRST EPSS · ۱۴۰۵/۰۸/۲۸

شرح آسیب‌پذیری

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.

A flaw was found in the Linux kernel's Nintendo Human Interface Device (HID) driver. When a Nintendo controller device is disconnected, the driver cleans up the rumble workqueue while background rumble tasks may still attempt to queue work to it. A local user with access to the controller can trigger this issue by disconnecting the device, resulting in a null-pointer dereference, a kernel crash, and a denial of service.