PT-2025-8375 · Linux+2 · Linux Kernel+2

Qi Zheng

·

Published

2025-02-26

·

Updated

2025-06-17

·

CVE-2022-49441

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.4.143
Description A deadlock vulnerability has been identified in the Linux kernel. The issue arises when the pty write() function invokes kmalloc(), which may call printk() to print a failure message, leading to a deadlock. This occurs due to the locking mechanism in the tty port and console owner. The vulnerability can be triggered when printk() is called under tty port->lock, causing a circular locking dependency. The estimated number of potentially affected devices is not provided.
Recommendations For Linux kernel versions prior to 5.4.143, apply the patch that specifies GFP NOWARN to kmalloc() to avoid the deadlock problem. As a temporary workaround, consider disabling the printk() function in the kmalloc() path until a patch is available. However, this is not a recommended solution due to the complexity of changing printk() to printk deferred() in the kmalloc() path.

Exploit

Fix

Improper Locking

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-49441
OESA-2025-1408
OPENSUSE-SU-2025_1263-1
SUSE-SU-2025:01983-1
SUSE-SU-2025:1027-1
SUSE-SU-2025:1176-1
SUSE-SU-2025:1183-1
SUSE-SU-2025:1194-1
SUSE-SU-2025:1241-1
SUSE-SU-2025:1263-1
SUSE-SU-2025_01983-1
SUSE-SU-2025_1027-1
SUSE-SU-2025_1241-1
SUSE-SU-2025_1263-1

Affected Products

Astra Linux
Linux Kernel
Suse