CVE-2021-31795 Memory corruption in n/a

High 7.0 Published Updated

Attackers can overwrite heap memory in the PowerVR GPU kernel driver, potentially leading to code execution or privilege escalation on affected Linux devices.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-31795?

CVE-2021-31795 is a high-severity memory corruption vulnerability in n/a, published on 24 Apr 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The PowerVR GPU kernel driver in pvrsrvkm.ko through 2021-04-24 for the Linux kernel, as used on Alcatel 1S phones, allows attackers to overwrite heap memory via PhysmemNewRamBackedPMR.

Weakness: CWE-787

Which versions are affected by CVE-2021-31795?

It affects 1 product.

Products include Pvrsrvkm.ko Project Pvrsrvkm.ko.

How do I fix CVE-2021-31795?

No fix has been published for CVE-2021-31795 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2021-31795 being exploited?

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

Sources

Also known as GHSA-fwhm-xh8g-8m5q.

Is CVE-2021-31795 in your software?

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

Check your SBOMs for free