PT-2025-8256 · Linux+3 · Linux Kernel+3
Jun Miao
·
Published
2022-04-26
·
Updated
2025-09-29
·
CVE-2022-49322
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.1-rt17+
Description
A issue in the Linux kernel has been identified where a sleeping function is called from an invalid context on RT kernel. This occurs when setting specific boot parameters, including "trace event=initcall:initcall start tp printk=1", which triggers the output printk() function and subsequently calls spin lock irqsave() in an atomic and irq disable interrupt context situation. On PREEMPT RT kernel, these locks are replaced with sleepable rt-spinlock, leading to a stack calltrace. The problem arises due to the use of spin lock irqsave when PREEMPT RT and the specified trace event are enabled.
Recommendations
For Linux kernel version 5.17.1-rt17+, apply the fix by using raw spin lock irqsave when PREEMPT RT and "trace event=initcall:initcall start tp printk=1" are enabled.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Buffer Overflow
Improper Locking
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Red Hat
Suse