CVE-2024-49570 drm/xe/tracing: Fix a potential TP_printk UAF

High 7.8 Published Updated

A use-after-free vulnerability in the Linux kernel's xe_bo_move trace event allows attackers to potentially execute code or cause a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-49570?

CVE-2024-49570 is a high-severity use after free vulnerability in Linux kernel, published on 27 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-416

Which versions are affected by CVE-2024-49570?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-49570?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-49570 being exploited?

There is no known exploitation of CVE-2024-49570 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-49570, DEBIAN-CVE-2024-49570, GHSA-94p4-4m9q-5m8x, UBUNTU-CVE-2024-49570.

Is CVE-2024-49570 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free