CVE-2024-36948 drm/xe/xe_migrate: Cast to output precision before multiplying operands

Medium 5.5 Published Updated

An integer overflow in the Linux kernel's Xe GPU migration driver could lead to unexpected behavior or memory corruption during operand multiplication.

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

CVE-2024-36948 is a medium-severity vulnerability in Linux kernel, published on 30 May 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/xe_migrate: Cast to output precision before multiplying operands

Addressing potential overflow in result of multiplication of two lower precision (u32) operands before widening it to higher precision (u64).

-v2 Fix commit message and description. (Rodrigo)

(cherry picked from commit 34820967ae7b45411f8f4f737c2d63b0c608e0d7)

Weakness: CWE-190

Which versions are affected by CVE-2024-36948?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-36948?

Apply the vendor's patch.

Is CVE-2024-36948 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-36948, DEBIAN-CVE-2024-36948, ROOT-OS-UBUNTU-2204-CVE-2024-36948, UBUNTU-CVE-2024-36948.

Is CVE-2024-36948 in your software?

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

Check your SBOMs for free