Linux Kernel up to 5.10.162/5.15.86/6.0.18/6.1.4 panfrost_gem_create_with_handle use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.7$0-$5k0.00

Summaryinfo

A vulnerability was found in Linux Kernel up to 5.10.162/5.15.86/6.0.18/6.1.4. It has been classified as critical. This affects the function panfrost_gem_create_with_handle. This manipulation causes use after free. This vulnerability is handled as CVE-2022-50417. There is not any exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability has been found in Linux Kernel up to 5.10.162/5.15.86/6.0.18/6.1.4 and classified as critical. Affected by this vulnerability is the function panfrost_gem_create_with_handle. The manipulation with an unknown input leads to a use after free vulnerability. The CWE definition for the vulnerability is CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

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.

It is possible to read the advisory at git.kernel.org. This vulnerability is known as CVE-2022-50417 since 09/17/2025. The exploitation appears to be easy. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 12/12/2025).

The vulnerability scanner Nessus provides a plugin with the ID 265912 (Linux Distros Unpatched Vulnerability : CVE-2022-50417), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 5.10.163, 5.15.87, 6.0.19 or 6.1.5 eliminates this vulnerability. Applying the patch 0b70f6ea4d4f2b4d4b291d86ab76b4d07394932c/4f1105ee72d8c7c35d90e3491b31b2d9d6b7e33a/3f9feffa8a5ab08b4e298a27b1aa7204a7d42ca2/ba3d2c2380e7129b525a787489c0b7e819a3b898/4217c6ac817451d5116687f3cc6286220dc43d49 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (265912) and CERT Bund (WID-SEC-2025-2092). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Affected

  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • SUSE Linux
  • Oracle Linux
  • SUSE openSUSE
  • RESF Rocky Linux
  • Open Source Linux Kernel
  • Dell Secure Connect Gateway
  • IBM QRadar SIEM

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.9
VulDB Meta Temp Score: 7.7

VulDB Base Score: 8.0
VulDB Temp Score: 7.6
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 265912
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2022-50417

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 5.10.163/5.15.87/6.0.19/6.1.5
Patch: 0b70f6ea4d4f2b4d4b291d86ab76b4d07394932c/4f1105ee72d8c7c35d90e3491b31b2d9d6b7e33a/3f9feffa8a5ab08b4e298a27b1aa7204a7d42ca2/ba3d2c2380e7129b525a787489c0b7e819a3b898/4217c6ac817451d5116687f3cc6286220dc43d49

Timelineinfo

09/17/2025 CVE reserved
09/18/2025 +1 days Advisory disclosed
09/18/2025 +0 days VulDB entry created
12/12/2025 +85 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2022-50417 (🔒)
GCVE (CVE): GCVE-0-2022-50417
GCVE (VulDB): GCVE-100-324931
CERT Bund: WID-SEC-2025-2092 - Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service

Entryinfo

Created: 09/18/2025 19:22
Updated: 12/12/2025 18:25
Changes: 09/18/2025 19:22 (58), 09/20/2025 03:37 (7), 09/26/2025 06:07 (2), 11/29/2025 15:09 (1), 12/12/2025 18:25 (11)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!