Skip to contentSkip to conversation

CVE-2026-45877: HID: intel-ish-hid: fix NULL-ptr-deref in ishtp_bus_remove_all_clients

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 27

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

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]

The Linux kernel CVE team has assigned CVE-2026-45877 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 4.9 with commit 3703f53b99e4a7c373ce3568dd3f91f175ebb626 and fixed in 6.12.75 with commit 0b605e8ce60698c27a26f512968a597fd620d2e8
	Issue introduced in 4.9 with commit 3703f53b99e4a7c373ce3568dd3f91f175ebb626 and fixed in 6.18.14 with commit feb4bcfd405282de60aba321f13a1272b30c5af4
	Issue introduced in 4.9 with commit 3703f53b99e4a7c373ce3568dd3f91f175ebb626 and fixed in 6.19.4 with commit 272dac57caa981718e7188c80c703e7bb1998054
	Issue introduced in 4.9 with commit 3703f53b99e4a7c373ce3568dd3f91f175ebb626 and fixed in 7.0 with commit 56f7db581ee73af53cd512e00a6261a025bf1d58

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-45877

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/hid/intel-ish-hid/ishtp/bus.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/0b605e8ce60698c27a26f512968a597fd620d2e8
	https://git.kernel.org/stable/c/feb4bcfd405282de60aba321f13a1272b30c5af4
	https://git.kernel.org/stable/c/272dac57caa981718e7188c80c703e7bb1998054
	https://git.kernel.org/stable/c/56f7db581ee73af53cd512e00a6261a025bf1d58