CVE-2021-47446 drm/msm/a4xx: fix error handling in a4xx_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-47446?

CVE-2021-47446 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/a4xx: fix error handling in a4xx_gpu_init()

This code returns 1 on error instead of a negative error. It leads to an Oops in the caller. A second problem is that the check for "if (ret != -ENODATA)" cannot be true because "ret" is set to 1.

Weakness: CWE-908

Which versions are affected by CVE-2021-47446?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2021-47446?

Apply the vendor's patch.

Is CVE-2021-47446 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-47446, GHSA-9wf5-fqq4-6gwg, UBUNTU-CVE-2021-47446.

Is CVE-2021-47446 in your software?

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

Check your SBOMs for free