PT-2025-8193 · Linux+2 · Linux Kernel+2
Shawn Guo
·
Published
2022-03-01
·
Updated
2025-04-14
·
CVE-2022-49265
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 5.17.0-rc4+
Description
A sleep-in-atomic bug has been identified in the Linux kernel, caused by the
genpd debug remove() function being called with a spinlock held. This issue occurs when a genpd with GENPD FLAG IRQ SAFE gets removed. The bug can lead to a crash, as evidenced by a call trace showing the dump backtrace and show stack functions being called.Recommendations
For Linux kernel versions prior to 5.17.0-rc4+, consider moving the
genpd debug remove() function out of the locking mechanism to fix the problem. As a temporary workaround, avoid removing genpd with GENPD FLAG IRQ SAFE to minimize the risk of exploitation.Exploit
Fix
Stack Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse