NetSight
high7.8

CVE-2022-49359

In the Linux kernel, the following vulnerability has been resolved: drm/panfrost: Job should reference MMU not file_priv For a while now it's been allowed for …

Impact

In the Linux kernel, the following vulnerability has been resolved: drm/panfrost: Job should reference MMU not file_priv For a while now it's been allowed for a MMU context to outlive it's corresponding panfrost_priv, however the job structure still references panfrost_priv to get hold of the MMU context. If panfrost_priv has been freed this is a use-after-free which I've been able to trigger resulting in a splat. To fix this, drop the reference to panfrost_priv in the job structure and add a direct reference to the MMU structure which is what's actually needed.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.10.67 before 5.11
from 5.13.19 before 5.14
from 5.14.6 before 5.17.15
from 5.18 before 5.18.4
Version 5.19

Weakness classification

References