SecurityContext

CVE-2021-31795: PowerVR GPU Kernel Driver - Buffer Overflow

  • Cve: CVE-2021-31795
  • Name: PowerVR GPU Kernel Driver - Buffer Overflow
  • 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.
  • Impact: Local attackers can overwrite heap memory, potentially leading to privilege escalation or arbitrary code execution.
  • Remediation: Update to the latest kernel version with patched pvrsrvkm.ko or apply available security patches.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: privilege_escalation, remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs local code execution
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00363
  • Epss percentile: 0.30481
  • Assignee: [email protected]
  • Published at: 2021-04-24T18:15:07Z
  • Age in days: 2040
  • Modified at: 2026-06-17T03:52:14Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-31795
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://mcyoloswagham.github.io/linux/nvd2021-04-24

References

UrlSourceTags
https://mcyoloswagham.github.io/linux/nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
pvrsrvkm.ko_project:pvrsrvkm.ko<= 2021-04-24nonvd/v1/products/pvrsrvkm.ko_project/pvrsrvkm.ko

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-04-24
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts