CVE-2021-47447 drm/msm/a3xx: fix error handling in a3xx_gpu_init()

High 7.8 Published Updated

A bug in the Linux kernel's MSM GPU driver causes an Oops due to incorrect error handling, leading to 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-2021-47447?

CVE-2021-47447 is a high-severity vulnerability in Linux kernel, published on 22 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/msm/a3xx: fix error handling in a3xx_gpu_init()

These error paths returned 1 on failure, instead of a negative error code. This would lead to an Oops in the caller. A second problem is that the check for "if (ret != -ENODATA)" did not work because "ret" was set to 1.

Which versions are affected by CVE-2021-47447?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2021-47447?

Apply the vendor's patch.

Is CVE-2021-47447 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-47447, GHSA-94jm-5577-cx4g, UBUNTU-CVE-2021-47447.

Is CVE-2021-47447 in your software?

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

Check your SBOMs for free