Thomas Zeitlhofer
a4f182ffa3
HID: wacom: fix crash in wacom_aes_battery_handler()
...
[ Upstream commit f3054152c1 ]
Commit fd2a9b29dc ("HID: wacom: Remove AES power_supply after extended
inactivity") introduced wacom_aes_battery_handler() which is scheduled
as a delayed work (aes_battery_work).
In wacom_remove(), aes_battery_work is not canceled. Consequently, if
the device is removed while aes_battery_work is still pending, then hard
crashes or "Oops: general protection fault..." are experienced when
wacom_aes_battery_handler() is finally called. E.g., this happens with
built-in USB devices after resume from hibernate when aes_battery_work
was still pending at the time of hibernation.
So, take care to cancel aes_battery_work in wacom_remove().
Fixes: fd2a9b29dc ("HID: wacom: Remove AES power_supply after extended inactivity")
Signed-off-by: Thomas Zeitlhofer <thomas.zeitlhofer+lkml@ze-it.at >
Acked-by: Ping Cheng <ping.cheng@wacom.com >
Signed-off-by: Jiri Kosina <jkosina@suse.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2025-07-06 11:01:39 +02:00
..
2024-10-09 17:18:57 +02:00
2025-05-22 14:29:44 +02:00
2025-04-10 14:39:29 +02:00
2025-03-22 12:54:16 -07:00
2024-10-02 17:23:23 -04:00
2025-06-19 15:32:34 +02:00
2024-06-06 10:52:48 +02:00
2024-10-02 17:23:23 -04:00
2025-03-22 12:54:28 -07:00
2025-03-13 13:01:50 +01:00
2025-06-27 11:11:32 +01:00
2024-08-27 16:29:55 +02:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2024-09-05 16:20:56 +02:00
2024-08-27 16:29:55 +02:00
2024-08-27 16:29:55 +02:00
2024-08-27 16:30:43 +02:00
2025-02-08 09:56:55 +01:00
2024-08-27 16:29:55 +02:00
2024-08-27 16:29:55 +02:00
2024-09-13 15:39:37 +02:00
2024-08-27 16:29:55 +02:00
2024-06-07 11:08:07 +02:00
2024-09-05 16:20:56 +02:00
2024-08-27 16:29:55 +02:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2024-08-27 16:29:55 +02:00
2024-12-14 20:03:39 +01:00
2024-08-27 16:29:55 +02:00
2024-10-02 17:23:23 -04:00
2025-03-13 13:02:00 +01:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2024-09-05 16:20:56 +02:00
2024-08-27 16:29:55 +02:00
2025-06-19 15:32:34 +02:00
2025-06-04 14:43:52 +02:00
2025-02-08 09:57:11 +01:00
2024-08-27 16:29:55 +02:00
2024-07-12 18:28:03 +02:00
2024-09-05 16:20:56 +02:00
2024-10-02 17:23:23 -04:00
2024-07-10 09:11:27 +02:00
2024-10-18 12:36:11 +02:00
2024-10-02 17:23:23 -04:00
2024-02-13 11:43:55 +01:00
2024-06-06 10:52:09 +02:00
2024-09-06 10:06:02 +02:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-08-27 16:29:55 +02:00
2024-12-14 20:03:41 +01:00
2024-09-05 16:20:56 +02:00
2024-07-12 18:30:11 +02:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2024-08-27 16:29:55 +02:00
2024-08-27 16:29:55 +02:00
2025-02-21 14:01:15 +01:00
2024-10-02 17:23:23 -04:00
2024-08-27 16:29:55 +02:00
2024-06-06 10:52:48 +02:00
2024-05-23 14:17:22 +02:00
2024-08-27 16:29:55 +02:00
2024-08-27 16:29:55 +02:00
2024-09-05 10:55:15 +02:00
2024-05-22 10:45:12 -07:00
2024-05-22 10:45:12 -07:00
2024-05-03 10:45:34 +01:00
2024-06-06 10:52:48 +02:00
2025-04-07 10:08:35 +02:00
2024-10-02 17:23:23 -04:00
2024-06-06 10:52:48 +02:00
2024-08-27 16:29:55 +02:00
2024-09-05 16:20:57 +02:00
2025-06-04 14:43:52 +02:00
2024-06-06 10:52:48 +02:00
2024-08-27 16:29:55 +02:00
2024-06-06 10:52:48 +02:00
2024-04-03 13:42:04 +02:00
2024-04-03 13:42:04 +02:00
2024-04-03 13:42:04 +02:00
2024-04-03 13:42:04 +02:00
2024-04-03 13:42:04 +02:00
2024-08-27 16:29:55 +02:00
2024-08-27 16:29:55 +02:00
2024-08-27 16:29:55 +02:00
2024-09-03 14:00:05 +02:00
2025-02-17 10:05:13 +01:00
2024-08-27 16:29:55 +02:00
2024-06-06 10:52:48 +02:00
2024-10-02 17:23:23 -04:00
2024-06-06 10:52:48 +02:00
2025-03-22 12:54:16 -07:00
2024-09-05 16:20:57 +02:00
2024-08-27 16:29:55 +02:00
2025-05-22 14:29:38 +02:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2025-03-22 12:54:16 -07:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2025-05-22 14:29:38 +02:00
2024-10-02 17:23:23 -04:00
2024-09-05 16:20:57 +02:00
2024-06-19 16:33:10 +02:00
2024-10-02 17:23:23 -04:00
2024-09-05 16:20:57 +02:00
2025-04-20 10:15:30 +02:00
2024-09-05 16:20:57 +02:00
2024-06-06 10:52:48 +02:00
2024-09-05 16:20:57 +02:00
2024-09-05 16:20:57 +02:00
2025-02-21 14:01:15 +01:00
2024-09-05 16:20:57 +02:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2024-08-27 16:29:55 +02:00
2024-08-29 10:39:37 +02:00
2025-04-20 10:15:14 +02:00
2025-04-20 10:15:14 +02:00
2024-09-27 08:18:43 -07:00
2025-07-06 11:01:39 +02:00
2025-02-17 10:04:51 +01:00
2024-09-10 23:47:03 +02:00
2024-10-02 17:23:23 -04:00