CVE-2023-52812 drm/amd: check num of link levels when update pcie param

High 7.8 Published Updated

An integer underflow in the AMD DRM driver causes an out-of-bounds array access in SR-IOV environments, leading to a kernel crash.

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-2023-52812?

CVE-2023-52812 is a high-severity vulnerability in Debian Debian Linux, published on 21 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/amd: check num of link levels when update pcie param

In SR-IOV environment, the value of pcie_table->num_of_link_levels will be 0, and num_of_levels - 1 will cause array index out of bounds

Weakness: CWE-129

Which versions are affected by CVE-2023-52812?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2023-52812?

Apply the vendor's patch.

Is CVE-2023-52812 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2023-52812, DEBIAN-CVE-2023-52812, GHSA-2r6r-v6fp-6x6r, ROOT-OS-DEBIAN-11-CVE-2023-52812, UBUNTU-CVE-2023-52812.

Is CVE-2023-52812 in your software?

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

Check your SBOMs for free