Vulnerability in drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1002585: drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem. Affects Kernel versions < 64f4edec081cb7c97c5e928529d0e1b0dbbffb83. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The drm/etnaviv package is a component of the Linux Kernel that provides support for the Etnaviv GPU found in certain embedded systems. It enables graphics rendering and acceleration capabilities on these devices. The etnaviv_iommu_unmap_gem function is responsible for unmapping memory regions previously mapped by the Etnaviv GPU driver. However, a vulnerability exists in this function that can be exploited by attackers.

Vulnerability Detail

The vulnerability in drm/etnaviv arises from a failure to check for reaped mappings in the etnaviv_iommu_unmap_gem function. This oversight can lead to a use-after-free scenario, where an attacker can manipulate freed memory to execute arbitrary code or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in Linux Kernel version v5.18.3 by commit 64f4edec081cb7c97c5e928529d0e1b0dbbffb83.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Conclusion

In conclusion, the vulnerability in drm/etnaviv's etnaviv_iommu_unmap_gem function can potentially lead to the execution of arbitrary code or denial-of-service attacks. It is crucial to update the Linux Kernel to version v5.18.3 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is not yet proven, but it has the potential to allow attackers to execute arbitrary code or cause a denial-of-service condition.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the tool will provide real-time alerts for open-source vulnerabilities.

No specific workaround has been provided for this vulnerability. It is recommended to update to the fixed version of the Linux Kernel.

You can find more information about the fix in the commit 64f4edec081cb7c97c5e928529d0e1b0dbbffb83 in the Linux Kernel repository.

The discovery of this vulnerability was automated and reported by the Cloud Security Alliance's GSD Database.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback