hwmon: (corsair-cpro) Make wait_input_report_lock IRQ safe
Summary
| CVE | CVE-2026-100028 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:17:18 UTC |
| Updated | 2026-11-30 14:17:18 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected b33ae32b6d8457c934184985c0912213c5c99764 1e627fc2354771ebe5193ba44d3e988e15b33502 git |
Not specified |
| CNA |
Linux |
Linux |
affected bb739796564a022c4ea8353bee7a6a400df6d44c 7ecbad169fc16814458b2bae20f150ca436fc965 git |
Not specified |
| CNA |
Linux |
Linux |
affected 544895ba0231e15b6886f6e9faeee0cc342f0026 2a6ca31b18b67749b90abc1c16aae88a4801d723 git |
Not specified |
| CNA |
Linux |
Linux |
affected d4c6b1807ce625df7d9c30861e3f9ef1277c92a2 8f01928d0bee1f9e42fc7db420fa4df4a7e25edb git |
Not specified |
| CNA |
Linux |
Linux |
affected d02abd57e79469a026213f7f5827a98d909f236a c20e2c5505e8c39e889f6a9c34fd4a97a6851d7c git |
Not specified |
| CNA |
Linux |
Linux |
affected d02abd57e79469a026213f7f5827a98d909f236a 2affbfaa1db576a7612ae11d5ca8b97f8fd30bdd git |
Not specified |
| CNA |
Linux |
Linux |
affected d02abd57e79469a026213f7f5827a98d909f236a 11e2624fff7a12c82d48679d64d560729c342172 git |
Not specified |
| CNA |
Linux |
Linux |
affected d02abd57e79469a026213f7f5827a98d909f236a e4fdc82f55cf0e3d5df5c88278da5baa76a109d1 git |
Not specified |
| CNA |
Linux |
Linux |
affected b8337a412cd7229a62799d8fca48ed5027842120 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5.10.217 5.10.275 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 5.15.159 5.15.226 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 6.1.91 6.1.193 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 6.6.31 6.6.163 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 6.8.10 6.9 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 6.9 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.9 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.275 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.226 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.117 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.63 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.4 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/8f01928d0bee1f9e42fc7db420fa4df4a7e25edb |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/2a6ca31b18b67749b90abc1c16aae88a4801d723 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/1e627fc2354771ebe5193ba44d3e988e15b33502 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/e4fdc82f55cf0e3d5df5c88278da5baa76a109d1 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/11e2624fff7a12c82d48679d64d560729c342172 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/2affbfaa1db576a7612ae11d5ca8b97f8fd30bdd |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/7ecbad169fc16814458b2bae20f150ca436fc965 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/c20e2c5505e8c39e889f6a9c34fd4a97a6851d7c |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.