CVE-2022-50371Improper Locking in Linux

CWE-667Improper Locking5 documents5 sources
Severity
5.5MEDIUMNVD
EPSS
0.0%
top 98.78%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 17

Description

In the Linux kernel, the following vulnerability has been resolved: led: qcom-lpg: Fix sleeping in atomic lpg_brighness_set() function can sleep, while led's brightness_set() callback must be non-blocking. Change LPG driver to use brightness_set_blocking() instead. BUG: sleeping function called from invalid context at kernel/locking/mutex.c:580 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 preempt_count: 101, expected: 0 INFO: lockdep is turned off. CPU: 0 PID: 0 C

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

NVDlinux/linux_kernel5.196.0.16+1
Debianlinux/linux_kernel< 6.1.4-1+2
CVEListV5linux/linux24e2d05d1b68981f22c984c766fabc5a93c83dba9deba7b51d5ee7a2d93fabb69f9b8189241f90e3+3
debiandebian/linux< linux 6.1.4-1 (bookworm)

Patches

🔴Vulnerability Details

2
OSV
CVE-2022-50371: In the Linux kernel, the following vulnerability has been resolved: led: qcom-lpg: Fix sleeping in atomic lpg_brighness_set() function can sleep, whil2025-09-17
GHSA
GHSA-2x9f-2vfm-pqm9: In the Linux kernel, the following vulnerability has been resolved: led: qcom-lpg: Fix sleeping in atomic lpg_brighness_set() function can sleep, wh2025-09-17

📋Vendor Advisories

2
Red Hat
kernel: led: qcom-lpg: Fix sleeping in atomic2025-09-17
Debian
CVE-2022-50371: linux - In the Linux kernel, the following vulnerability has been resolved: led: qcom-l...2022
CVE-2022-50371 — Improper Locking in Linux | cvebase