PT-2026-162610
CVE-2026-100028
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
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.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾