Daniel J. Ogorchock
1ff89e06c2
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.
Signed-off-by: Daniel J. Ogorchock <djogorchock@gmail.com >
Signed-off-by: Jiri Kosina <jkosina@suse.cz >
2022-08-25 15:15:17 +02:00
..
2022-06-27 15:15:55 +02:00
2022-08-04 11:31:20 -07:00
2022-07-28 15:09:23 +01:00
2022-07-08 15:44:19 +02:00
2022-08-03 15:26:04 -07:00
2022-07-11 19:49:53 -07:00
2022-08-04 11:31:20 -07:00
2022-08-02 13:46:35 -07:00
2022-08-04 12:12:54 -07:00
2022-08-04 12:12:54 -07:00
2022-06-28 06:33:15 -06:00
2022-08-04 12:12:54 -07:00
2022-08-04 12:12:54 -07:00
2022-07-28 12:33:34 +02:00
2022-07-14 19:17:41 +02:00
2022-08-04 12:12:54 -07:00
2022-08-04 12:12:54 -07:00
2022-08-02 17:45:14 -07:00
2022-06-28 22:03:18 -07:00
2022-08-04 11:05:48 -07:00
2022-08-04 15:20:39 -07:00
2022-08-03 19:52:08 -07:00
2022-08-04 12:12:54 -07:00
2022-07-15 11:37:41 +09:00
2022-07-28 22:21:54 -07:00
2022-08-04 11:05:48 -07:00
2022-06-29 15:18:18 +08:00
2022-08-04 12:12:54 -07:00
2022-08-04 12:29:10 -07:00
2022-08-25 15:15:17 +02:00
2022-08-02 11:07:04 -07:00
2022-07-11 20:54:28 +02:00
2022-08-04 12:12:54 -07:00
2022-08-02 11:17:00 -07:00
2022-07-19 09:42:11 +01:00
2022-08-03 16:29:08 -07:00
2022-08-04 12:12:54 -07:00
2022-07-15 17:56:31 +03:00
2022-08-04 11:31:20 -07:00
2022-08-04 12:12:54 -07:00
2022-07-12 09:04:55 +02:00
2022-08-02 14:38:59 -07:00
2022-08-04 12:12:54 -07:00
2022-08-04 12:12:54 -07:00
2022-06-28 06:33:15 -06:00
2022-08-04 15:20:39 -07:00
2022-08-04 15:20:39 -07:00
2022-08-04 12:12:54 -07:00
2022-08-02 13:46:35 -07:00
2022-08-04 15:20:39 -07:00
2022-07-13 18:52:12 -07:00
2022-08-02 13:46:35 -07:00
2022-08-03 13:50:22 -07:00
2022-08-04 12:12:54 -07:00
2022-08-04 11:31:20 -07:00
2022-07-15 19:17:30 +02:00
2022-07-07 09:38:04 +01:00
2022-07-08 08:44:15 +01:00
2022-07-19 18:50:09 +01:00
2022-08-04 12:12:54 -07:00
2022-08-04 12:12:54 -07:00
2022-07-29 19:58:52 +02:00
2022-08-04 12:12:54 -07:00
2022-08-02 11:17:00 -07:00
2022-08-04 12:12:54 -07:00
2022-08-04 12:12:54 -07:00
2022-08-04 12:12:54 -07:00
2022-06-27 16:39:29 +02:00
2022-08-04 12:12:54 -07:00
2022-08-04 14:59:54 -07:00
2022-08-04 12:12:54 -07:00
2022-07-07 09:38:04 +01:00
2022-07-08 15:43:42 +02:00
2022-08-04 12:12:54 -07:00
2022-08-04 11:05:48 -07:00
2022-08-04 11:31:20 -07:00
2022-08-04 12:01:42 -07:00
2022-08-02 13:46:35 -07:00
2022-07-08 10:51:24 +02:00
2022-08-04 12:12:54 -07:00
2022-08-04 11:41:28 -07:00
2022-08-02 08:10:10 -07:00
2022-08-02 13:46:35 -07:00
2022-08-04 15:20:39 -07:00
2022-06-24 02:49:48 -04:00
2022-08-04 14:59:54 -07:00
2022-06-27 08:05:35 -04:00
2022-08-04 15:20:39 -07:00
2022-08-04 11:05:48 -07:00
2022-08-04 15:10:55 -07:00
2022-08-04 15:10:55 -07:00
2022-08-04 12:01:42 -07:00