Skip to main content

CVE-2024-49570: Vulnerability in Linux Linux

High
VulnerabilityCVE-2024-49570cvecve-2024-49570
Published: Thu Feb 27 2025 (02/27/2025, 02:18:06 UTC)
Source: CVE
Vendor/Project: Linux
Product: Linux

Description

In the Linux kernel, the following vulnerability has been resolved: drm/xe/tracing: Fix a potential TP_printk UAF The commit afd2627f727b ("tracing: Check "%s" dereference via the field and not the TP_printk format") exposes potential UAFs in the xe_bo_move trace event. Fix those by avoiding dereferencing the xe_mem_type_to_name[] array at TP_printk time. Since some code refactoring has taken place, explicit backporting may be needed for kernels older than 6.10.

AI-Powered Analysis

AILast updated: 07/03/2025, 00:11:27 UTC

Technical Analysis

CVE-2024-49570 is a high-severity use-after-free (UAF) vulnerability identified in the Linux kernel, specifically within the Direct Rendering Manager (DRM) subsystem's Xe graphics driver tracing code. The flaw arises in the TP_printk tracing function related to the xe_bo_move trace event, where the kernel improperly dereferences the xe_mem_type_to_name[] array during trace event printing. This dereference can occur after the memory has been freed, leading to a use-after-free condition (CWE-416). The vulnerability was addressed by modifying the tracing code to avoid dereferencing the array at TP_printk time, thereby preventing potential exploitation. The fix was introduced in Linux kernel versions 6.10 and later, with backporting required for older kernels due to code refactoring. The CVSS v3.1 score is 7.8, indicating a high severity, with an attack vector of local access (AV:L), low attack complexity (AC:L), requiring low privileges (PR:L), no user interaction (UI:N), and impacts on confidentiality, integrity, and availability (C:H/I:H/A:H). Although no known exploits are currently reported in the wild, the vulnerability's nature allows an attacker with local access and limited privileges to potentially execute arbitrary code, escalate privileges, or cause denial of service by exploiting the UAF condition in the kernel's graphics driver tracing subsystem.

Potential Impact

For European organizations, this vulnerability poses a significant risk, especially for those relying on Linux-based systems with the affected kernel versions, including servers, workstations, and embedded devices using the Xe graphics driver. Exploitation could lead to full system compromise, data breaches, or service disruptions. Organizations in sectors such as finance, critical infrastructure, telecommunications, and government are particularly at risk due to their reliance on Linux systems and the potential impact of confidentiality, integrity, and availability breaches. The local attack vector means that attackers would need some form of local access, which could be obtained via compromised user accounts, insider threats, or other lateral movement techniques. The high severity and broad impact on core kernel components underscore the need for prompt remediation to prevent potential exploitation that could disrupt operations or lead to data loss.

Mitigation Recommendations

European organizations should prioritize patching affected Linux kernels to versions 6.10 or later where the fix is integrated. For systems running older kernels, explicit backporting of the patch is necessary. Additionally, organizations should enforce strict access controls to limit local user privileges, implement robust monitoring for unusual local activity, and employ kernel integrity verification tools to detect anomalous behavior. Utilizing security modules such as SELinux or AppArmor can help contain potential exploitation. Regularly auditing user accounts and restricting unnecessary local access will reduce the attack surface. For environments where immediate patching is not feasible, disabling or limiting the use of the DRM Xe tracing subsystem may mitigate exposure. Finally, maintaining up-to-date intrusion detection and prevention systems can help identify attempts to exploit this vulnerability.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
Linux
Date Reserved
2025-02-27T02:16:34.083Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682d9825c4522896dcbe0741

Added to database: 5/21/2025, 9:08:53 AM

Last enriched: 7/3/2025, 12:11:27 AM

Last updated: 8/17/2025, 4:12:34 PM

Views: 15

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats