PT-2025-8375
CVE-2022-49441
·
Published
2025-02-26
·
Updated
2026-10-21
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾