
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49359 affects the Linux kernel's drm/panfrost driver. The vulnerability was discovered when it was found that a Memory Management Unit (MMU) context could outlive its corresponding panfrost_priv, while the job structure still referenced panfrost_priv to get hold of the MMU context. This created a use-after-free condition that could be triggered, resulting in system instability (Kernel Git).
The vulnerability exists in the panfrost driver's job handling mechanism where the job structure maintained a reference to panfrost_priv instead of directly referencing the MMU structure. When panfrost_priv was freed while the MMU context was still active, it led to a use-after-free condition. The issue was fixed by dropping the reference to panfrost_priv in the job structure and adding a direct reference to the MMU structure. The vulnerability has been assigned a CVSS v3.1 Base Score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).
The vulnerability could lead to system instability and potential privilege escalation due to the use-after-free condition in the kernel's GPU driver. When exploited, it could allow an attacker with local access to cause system crashes or potentially execute arbitrary code with elevated privileges (NVD).
The vulnerability requires local access and can be triggered through the panfrost driver's job handling mechanism. It has been confirmed as exploitable with a proof-of-concept that triggers the use-after-free condition (Kernel Git).
The vulnerability has been patched in the Linux kernel by modifying the panfrost driver to directly reference the MMU structure instead of accessing it through panfrost_priv. Users should update their systems to a patched kernel version. The fix involves changes to multiple files including panfrost_drv.c, panfrost_job.c, and panfrost_job.h (Kernel Git).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."