7.8

CVE-2022-50417: drm/panfrost: Fix GEM handle creation ref-counting

Modified
AliasesUBUNTU-CVE-2022-50417DEBIAN-CVE-2022-50417
Published 18-09-2025Last modified 05-08-2026

Vulnerability summary

CVE-2022-50417 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.16%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 4

Timeline

  1. 18-09-2025
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: drm/panfrost: Fix GEM handle creation ref-counting panfrost_gem_create_with_handle() previously returned a BO but with the only reference being from the handle, which user space could in theory guess and release, causing a use-after-free. Additionally if the call to panfrost_gem_mapping_get() in panfrost_ioctl_create_bo() failed then a(nother) reference on the BO was dropped. The _create_with_handle() is a problematic pattern, so ditch it and instead create the handle in panfrost_ioctl_create_bo(). If the call to panfrost_gem_mapping_get() fails then this means that user space has indeed gone behind our back and freed the handle. In which case just return an error code.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.16%

Chance of exploitation in the next 30 days

Percentile

6%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.16% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu116 products
  • linuxAll versions (No fix recorded) | < 5.15.0-69.76
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1033.37
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ f3ba91228e8e917e5bd6c4b72bfe846933d17370, < 0b70f6ea4d4f2b4d4b291d86ab76b4d07394932c | ≥ f3ba91228e8e917e5bd6c4b72bfe846933d17370, < 4f1105ee72d8c7c35d90e3491b31b2d9d6b7e33a | ≥ f3ba91228e8e917e5bd6c4b72bfe846933d17370, < 3f9feffa8a5ab08b4e298a27b1aa7204a7d42ca2 | ≥ f3ba91228e8e917e5bd6c4b72bfe846933d17370, < ba3d2c2380e7129b525a787489c0b7e819a3b898 | ≥ f3ba91228e8e917e5bd6c4b72bfe846933d17370, < 4217c6ac817451d5116687f3cc6286220dc43d49 | 5.2
  • linux_kernel≥ 5.2, < 5.10.163 | ≥ 5.11, < 5.15.87 | ≥ 5.16, < 6.0.19 | ≥ 6.1, < 6.1.5 | 6.2:rc1 | 6.2:rc2
Debian1 product
  • linux< 6.1.7-1

3 vendors · 119 products

References

9 links