CVE-2024-53098 drm/xe/ufence: Prefetch ufence addr to catch bogus address

High 7.8 Published Updated

A missing prefetch check in the Linux kernel's xe driver allows userspace to trigger memory corruption via invalid addresses, potentially leading to privilege escalation.

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-53098?

CVE-2024-53098 is a high-severity memory corruption vulnerability in Linux kernel, published on 25 Nov 2024. 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/ufence: Prefetch ufence addr to catch bogus address

access_ok() only checks for addr overflow so also try to read the addr to catch invalid addr sent from userspace.

(cherry picked from commit 9408c4508483ffc60811e910a93d6425b8e63928)

Weakness: CWE-787

Which versions are affected by CVE-2024-53098?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-53098?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-53098 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-53098, DEBIAN-CVE-2024-53098, GHSA-j7rp-c5hp-xpqv, ROOT-OS-UBUNTU-2204-CVE-2024-53098, ROOT-OS-UBUNTU-2404-CVE-2024-53098, UBUNTU-CVE-2024-53098.

Is CVE-2024-53098 in your software?

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

Check your SBOMs for free