Ryan Lin
56f7db581e
HID: intel-ish-hid: fix NULL-ptr-deref in ishtp_bus_remove_all_clients
...
During a warm reset flow, the cl->device pointer may be NULL if the
reset occurs while clients are still being enumerated. Accessing
cl->device->reference_count without a NULL check leads to a kernel panic.
This issue was identified during multi-unit warm reboot stress clycles.
Add a defensive NULL check for cl->device to ensure stability under
such intensive testing conditions.
KASAN: null-ptr-deref in range [0000000000000000-0000000000000007]
Workqueue: ish_fw_update_wq fw_reset_work_fn
Call Trace:
ishtp_bus_remove_all_clients+0xbe/0x130 [intel_ishtp]
ishtp_reset_handler+0x85/0x1a0 [intel_ishtp]
fw_reset_work_fn+0x8a/0xc0 [intel_ish_ipc]
Fixes: 3703f53b99 ("HID: intel_ish-hid: ISH Transport layer")
Signed-off-by: Ryan Lin <ryan.lin@intel.com >
Signed-off-by: Jiri Kosina <jkosina@suse.com >
2026-02-02 14:37:57 +01:00
..
2025-11-13 09:10:43 -08:00
2025-12-02 17:49:12 -08:00
2025-11-19 18:06:50 +01:00
2025-12-03 17:24:33 -08:00
2025-11-20 13:37:18 +01:00
2025-11-25 12:39:26 +01:00
2025-10-15 18:46:01 +02:00
2025-12-04 13:50:39 -08:00
2025-10-20 13:54:15 +02:00
2025-12-03 19:26:18 -08:00
2025-12-01 16:21:16 -05:00
2025-10-24 21:39:27 +02:00
2025-10-04 16:26:32 -07:00
2025-12-03 12:42:36 -08:00
2025-10-23 02:06:47 +08:00
2025-11-26 11:25:15 +01:00
2025-10-22 08:03:52 +02:00
2025-10-13 14:56:30 +09:00
2025-11-25 17:06:04 +01:00
2025-12-04 13:50:39 -08:00
2025-12-03 17:24:33 -08:00
2025-11-07 09:22:10 -07:00
2025-10-20 20:22:26 +02:00
2025-11-26 13:58:59 +09:00
2025-11-27 18:11:43 -08:00
2025-10-06 10:37:06 -07:00
2025-12-04 08:53:30 -08:00
2025-11-25 19:20:42 -08:00
2025-12-02 10:45:50 -08:00
2025-12-04 12:26:36 -08:00
2025-12-04 10:08:40 -08:00
2025-11-20 16:44:04 +01:00
2025-12-04 12:33:38 -08:00
2025-12-04 14:13:04 -08:00
2026-02-02 14:37:57 +01:00
2025-12-02 08:48:53 -08:00
2025-12-04 12:19:49 -08:00
2025-10-27 17:16:36 +01:00
2025-11-03 18:04:15 +01:00
2025-09-29 00:17:22 +02:00
2025-11-11 20:22:23 +00:00
2025-12-03 17:24:33 -08:00
2025-12-04 11:20:29 -08:00
2025-11-27 17:29:15 -08:00
2025-12-02 09:35:59 -08:00
2025-11-10 18:14:20 -08:00
2025-11-20 15:25:19 +00:00
2025-11-28 09:47:44 -06:00
2025-12-03 19:26:18 -08:00
2025-12-04 08:15:19 -08:00
2025-10-23 15:32:21 +02:00
2025-10-02 18:18:33 -07:00
2025-12-04 15:18:33 -08:00
2025-12-01 17:32:07 -08:00
2025-12-04 14:10:16 -08:00
2025-11-09 11:15:20 +09:00
2025-12-04 11:07:46 -08:00
2025-12-03 17:24:33 -08:00
2025-11-17 19:32:32 -08:00
2025-10-06 11:17:18 -07:00
2025-12-03 19:26:18 -08:00
2025-11-24 18:08:10 +01:00
2025-12-02 09:14:26 -08:00
2025-10-23 11:58:05 +05:30
2025-12-03 17:24:33 -08:00
2025-10-15 11:02:42 -07:00
2025-12-02 17:03:55 -08:00
2025-10-06 10:34:22 -07:00
2025-11-18 23:56:11 +01:00
2025-12-04 12:33:38 -08:00
2025-12-04 13:50:39 -08:00
2025-11-18 17:35:36 +01:00
2025-12-04 11:20:29 -08:00
2025-11-21 21:47:08 +01:00
2025-12-03 12:42:36 -08:00
2025-12-03 17:24:33 -08:00
2025-11-27 09:58:07 +01:00
2025-12-01 12:06:08 +01:00
2025-12-04 11:20:29 -08:00
2025-10-04 15:45:17 -07:00
2025-11-19 18:34:24 +00:00
2025-12-04 12:33:38 -08:00
2025-11-08 20:56:12 +01:00
2025-12-03 19:26:18 -08:00
2025-12-03 19:26:18 -08:00
2025-12-03 17:24:33 -08:00
2025-11-04 19:15:36 -08:00
2025-10-06 10:32:22 -07:00
2025-12-04 12:33:38 -08:00
2025-12-04 10:08:40 -08:00
2025-12-03 17:24:33 -08:00
2025-11-21 21:27:20 +01:00
2025-12-02 17:49:12 -08:00
2025-10-20 08:20:34 +02:00
2025-12-03 12:42:36 -08:00
2025-10-29 23:20:19 -04:00
2025-10-07 08:40:15 -07:00
2025-12-04 13:50:39 -08:00
2025-11-11 15:12:18 +01:00
2025-12-01 17:32:07 -08:00
2025-11-26 14:44:58 -08:00
2025-12-04 15:29:27 -08:00
2025-09-29 18:48:39 -07:00
2025-10-04 08:48:16 -07:00
2025-11-26 17:34:52 +01:00
2025-12-03 17:24:33 -08:00
2025-11-19 18:34:20 +00:00
2025-11-19 18:34:20 +00:00