CVE-2022-49359

drm/panfrost: Job should reference MMU not file_priv

State
Published
Severity
7.8 High
Published
Feb 26, 2025
Updated
Aug 5, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 7fdc48cc63a30fa3480d18bdd8c5fff2b9b15212 to before 8c8e8cc91a6ffc79865108279a74fd57d9070a17Affected
  • 7fdc48cc63a30fa3480d18bdd8c5fff2b9b15212 to before 472dd7ea5e19a1aeabf1711ddc756777e05ee7c2Affected
  • 7fdc48cc63a30fa3480d18bdd8c5fff2b9b15212 to before 6e516faf04317db2c46cbec4e3b78b4653a5b109Affected
  • c29485e34e63198dca6289639aa711f99d88e76eAffected
  • 626adede2642f00c8918999a2451bd0a644ab9b7Affected
  • cf461fa9250a634e8afc4433d82ae0decea8136eAffected
  • 5.10.67 to before 5.11Affected
  • 5.13.19 to before 5.14Affected
  • 5.14.6 to before 5.15Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.17.15 through 5.17.*Not affected
  • 5.18.4 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.