CVE-2022-50371
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
17/09/2025
Última modificación:
18/09/2025
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
led: qcom-lpg: Fix sleeping in atomic<br />
<br />
lpg_brighness_set() function can sleep, while led&#39;s brightness_set()<br />
callback must be non-blocking. Change LPG driver to use<br />
brightness_set_blocking() instead.<br />
<br />
BUG: sleeping function called from invalid context at kernel/locking/mutex.c:580<br />
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0<br />
preempt_count: 101, expected: 0<br />
INFO: lockdep is turned off.<br />
CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.1.0-rc1-00014-gbe99b089c6fc-dirty #85<br />
Hardware name: Qualcomm Technologies, Inc. DB820c (DT)<br />
Call trace:<br />
dump_backtrace.part.0+0xe4/0xf0<br />
show_stack+0x18/0x40<br />
dump_stack_lvl+0x88/0xb4<br />
dump_stack+0x18/0x34<br />
__might_resched+0x170/0x254<br />
__might_sleep+0x48/0x9c<br />
__mutex_lock+0x4c/0x400<br />
mutex_lock_nested+0x2c/0x40<br />
lpg_brightness_single_set+0x40/0x90<br />
led_set_brightness_nosleep+0x34/0x60<br />
led_heartbeat_function+0x80/0x170<br />
call_timer_fn+0xb8/0x340<br />
__run_timers.part.0+0x20c/0x254<br />
run_timer_softirq+0x3c/0x7c<br />
_stext+0x14c/0x578<br />
____do_softirq+0x10/0x20<br />
call_on_irq_stack+0x2c/0x5c<br />
do_softirq_own_stack+0x1c/0x30<br />
__irq_exit_rcu+0x164/0x170<br />
irq_exit_rcu+0x10/0x40<br />
el1_interrupt+0x38/0x50<br />
el1h_64_irq_handler+0x18/0x2c<br />
el1h_64_irq+0x64/0x68<br />
cpuidle_enter_state+0xc8/0x380<br />
cpuidle_enter+0x38/0x50<br />
do_idle+0x244/0x2d0<br />
cpu_startup_entry+0x24/0x30<br />
rest_init+0x128/0x1a0<br />
arch_post_acpi_subsys_init+0x0/0x18<br />
start_kernel+0x6f4/0x734<br />
__primary_switched+0xbc/0xc4