Vulnerability in drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem
Summary
GSD-2022-1003234: drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem. Affects Kernel versions < 03bd455a79f69d97fee3e3b212ab754442f10e5c. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The drm/etnaviv package is a component of the Linux Kernel that provides support for the Vivante GPU found in various embedded systems. It enables graphics rendering and acceleration capabilities. The etnaviv_iommu_unmap_gem function is responsible for unmapping a graphics execution context from the GPU's address space. However, a vulnerability exists in this function that can be exploited by an attacker.
Vulnerability Detail
The vulnerability in drm/etnaviv arises from a failure to check for a reaped mapping in the etnaviv_iommu_unmap_gem function. This oversight can lead to a use-after-free scenario, where an attacker can manipulate the freed memory to execute arbitrary code or cause a denial of service. The impact of this vulnerability depends on the attacker's capabilities and the context in which the affected system is used. It is crucial to address this issue promptly to prevent potential security breaches.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.46 or later. This update includes the commit 03bd455a79f69d97fee3e3b212ab754442f10e5c, which addresses the issue. Updating the Kernel will ensure that the etnaviv_iommu_unmap_gem function properly checks for reaped mappings, mitigating the 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 poses a potential security risk. It is crucial to update the Linux Kernel to version v5.15.46 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability can vary depending on the attacker's capabilities and the system's context. It could potentially lead to arbitrary code execution or denial of service.
You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.
At the moment, there are no known workarounds for this vulnerability. It is recommended to update the Linux Kernel to the latest version to mitigate the issue.
No, this vulnerability affects the Linux Kernel in general. It is advised to update the Kernel to the latest version regardless of the distribution being used.
You can find more information about this vulnerability in the GSD-2022-1003234 entry of the GSD database maintained by the Cloud Security Alliance. The link to the entry is available in the references section of this report.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.