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

VectorAV: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 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
BDU:2026-02216
CVE-2022-49322
RHSA-2024:2394
RHSA-2024_2394
SUSE-SU-2025:1027-1
SUSE-SU-2025:1176-1
SUSE-SU-2025:1183-1
SUSE-SU-2025:1241-1
SUSE-SU-2025:1293-1
SUSE-SU-2025_1027-1
SUSE-SU-2025_1241-1
SUSE-SU-2025_1293-1

Affected Products

Astra Linux
Linux Kernel
Red Hat
Suse