From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-cve-announce@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@kernel.org>
Subject: CVE-2026-100028: hwmon: (corsair-cpro) Make wait_input_report_lock IRQ safe
Date: Mon, 30 Nov 2026 14:23:33 +0100 [thread overview]
Message-ID: <2026113012-CVE-2026-100028-4100@gregkh> (raw)
From: Greg Kroah-Hartman <gregkh@kernel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
hwmon: (corsair-cpro) Make wait_input_report_lock IRQ safe
ccp_raw_event() is the HID ->raw_event() callback and takes
wait_input_report_lock with a plain spin_lock(). This callback can run
in very different contexts depending on the transport: from process
context (e.g. uhid, via a write() to /dev/uhid) with softirqs and
interrupts enabled, and from URB completion, which is softirq context
for HCDs using HCD_BH and hard interrupt context for HCDs that do not
(e.g. OHCI, UHCI).
Taking the lock from process context with softirqs enabled while the
same lock is also taken from softirq context can deadlock if the
softirq interrupts the lock holder on the same CPU. Lockdep reports:
WARNING: inconsistent lock state
inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage.
...
spin_lock include/linux/spinlock.h:347 [inline]
ccp_raw_event+0x51/0x110 drivers/hwmon/corsair-cpro.c:161
__hid_input_report+0x41c/0x580 drivers/hid/hid-core.c:2175
hid_irq_in+0x492/0x710 drivers/hid/usbhid/hid-core.c:287
__usb_hcd_giveback_urb+0x378/0x540 drivers/usb/core/hcd.c:1657
dummy_timer+0xa91/0x4cc0 drivers/usb/gadget/udc/dummy_hcd.c:2023
For the same reason, the spin_lock_bh() in send_usb_cmd() is not
sufficient when ccp_raw_event() is called from hard interrupt context.
Use spin_lock_irqsave() in ccp_raw_event(), since it may be called with
interrupts already disabled, and spin_lock_irq() in send_usb_cmd(),
which always runs in process context.
The Linux kernel CVE team has assigned CVE-2026-100028 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.10.217 with commit b33ae32b6d8457c934184985c0912213c5c99764 and fixed in 5.10.275 with commit 1e627fc2354771ebe5193ba44d3e988e15b33502
Issue introduced in 5.15.159 with commit bb739796564a022c4ea8353bee7a6a400df6d44c and fixed in 5.15.226 with commit 7ecbad169fc16814458b2bae20f150ca436fc965
Issue introduced in 6.1.91 with commit 544895ba0231e15b6886f6e9faeee0cc342f0026 and fixed in 6.1.193 with commit 2a6ca31b18b67749b90abc1c16aae88a4801d723
Issue introduced in 6.6.31 with commit d4c6b1807ce625df7d9c30861e3f9ef1277c92a2 and fixed in 6.6.163 with commit 8f01928d0bee1f9e42fc7db420fa4df4a7e25edb
Issue introduced in 6.9 with commit d02abd57e79469a026213f7f5827a98d909f236a and fixed in 6.12.117 with commit c20e2c5505e8c39e889f6a9c34fd4a97a6851d7c
Issue introduced in 6.9 with commit d02abd57e79469a026213f7f5827a98d909f236a and fixed in 6.18.63 with commit 2affbfaa1db576a7612ae11d5ca8b97f8fd30bdd
Issue introduced in 6.9 with commit d02abd57e79469a026213f7f5827a98d909f236a and fixed in 7.3.4 with commit 11e2624fff7a12c82d48679d64d560729c342172
Issue introduced in 6.9 with commit d02abd57e79469a026213f7f5827a98d909f236a and fixed in 7.4-rc1 with commit e4fdc82f55cf0e3d5df5c88278da5baa76a109d1
Issue introduced in 6.8.10 with commit b8337a412cd7229a62799d8fca48ed5027842120
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-100028
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/hwmon/corsair-cpro.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/1e627fc2354771ebe5193ba44d3e988e15b33502
https://git.kernel.org/stable/c/7ecbad169fc16814458b2bae20f150ca436fc965
https://git.kernel.org/stable/c/2a6ca31b18b67749b90abc1c16aae88a4801d723
https://git.kernel.org/stable/c/8f01928d0bee1f9e42fc7db420fa4df4a7e25edb
https://git.kernel.org/stable/c/c20e2c5505e8c39e889f6a9c34fd4a97a6851d7c
https://git.kernel.org/stable/c/2affbfaa1db576a7612ae11d5ca8b97f8fd30bdd
https://git.kernel.org/stable/c/11e2624fff7a12c82d48679d64d560729c342172
https://git.kernel.org/stable/c/e4fdc82f55cf0e3d5df5c88278da5baa76a109d1
reply other threads:[~2026-11-30 13:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2026113012-CVE-2026-100028-4100@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=cve@kernel.org \
--cc=gregkh@kernel.org \
--cc=linux-cve-announce@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.