PT-2026-166526
CVE-2026-142803
·
تاريخ النشر
2026-12-03
·
تاريخ التحديث
2026-12-03
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
backlight: qcom-wled: Fix unbalanced OVP IRQ enable at probe
wled configure ovp irq() derives the initial state of the OVP interrupt
from the hardware:
/* Keep OVP irq disabled until module is enabled */
if (!(val & WLED3 CTRL REG MOD EN MASK))
disable irq(wled->ovp irq);but wled->brightness, which is what the rest of the driver uses to tell
whether the module is on, is left at zero.
On boards where the bootloader hands the kernel a lit backlight the two
disagree. MOD EN is already set, so the interrupt is left enabled, while
wled update status() still believes the backlight is off and takes
if (!!brightness != !!wled->brightness)
rc = wled module enable(wled, !!brightness);on the first backlight update. wled module enable() then schedules
wled ovp work(), which calls enable irq() on the already enabled
interrupt:
Unbalanced enable for IRQ 176
WARNING: CPU: 0 PID: 160 at kernel/irq/manage.c:774 enable irq+0x50/0x80
Hardware name: Xiaomi Pocophone F1 (DT)
Workqueue: events wled ovp work
Call trace:
enable irq+0x50/0x80
enable irq+0x48/0xa0
wled ovp work+0x18/0x24
process one work+0x1d0/0x350
worker thread+0x13c/0x460
kthread+0x110/0x114
ret from fork+0x10/0x20
The bootloader is not the only way to get there. The readback runs after
wledN setup(), and wled4 setup() sets MOD EN itself on the path where the
sink configuration does not already match, as does the tail of
wled auto string detection(), which all three setup paths can reach
through wled auto detection at init(). A cold-booted board with a dark
panel can therefore reach the same disagreement.
Move the MOD EN readback into wled probe() and use it to seed
wled->brightness, so the driver starts out agreeing with the hardware,
and key the OVP interrupt off wled->brightness instead. The first
backlight update then only reprograms the brightness registers and
leaves both the module and the interrupt alone. The OVP interrupt also
stays armed from probe whenever the module is already enabled, rather
than being disabled at probe and only enabled once something writes
brightness.
Note that a backlight update requesting brightness 0 before any non-zero
one now really does turn the module off wherever MOD EN was already set,
where before it was silently ignored.
wled->brightness is seeded with default-brightness rather than the level
the bootloader actually programmed, so the first update can still step
the brightness. Reading that level back is version specific and is done
in a follow-up, to keep this fix small enough to backport.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾