Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

CVSS 7.8 · High EPSS 0.16% · P6

Affected Version Matrix 12

VendorProductVersion RangeStatus
LinuxLinuxf3ba91228e8e917e5bd6c4b72bfe846933d17370< 0b70f6ea4d4f2b4d4b291d86ab76b4d07394932caffected
f3ba91228e8e917e5bd6c4b72bfe846933d17370< 4f1105ee72d8c7c35d90e3491b31b2d9d6b7e33aaffected
f3ba91228e8e917e5bd6c4b72bfe846933d17370< 3f9feffa8a5ab08b4e298a27b1aa7204a7d42ca2affected
f3ba91228e8e917e5bd6c4b72bfe846933d17370< ba3d2c2380e7129b525a787489c0b7e819a3b898affected
f3ba91228e8e917e5bd6c4b72bfe846933d17370< 4217c6ac817451d5116687f3cc6286220dc43d49affected
5.2affected
< 5.2unaffected
5.10.163≤ 5.10.*unaffected
… +4 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2022-50417

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
drm/panfrost: Fix GEM handle creation ref-counting
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于GEM句柄创建引用计数不当,可能导致释放后重用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux f3ba91228e8e917e5bd6c4b72bfe846933d17370 ~ 0b70f6ea4d4f2b4d4b291d86ab76b4d07394932c -
LinuxLinux 5.2 -

II. Public POCs for CVE-2022-50417

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-50417

登录查看更多情报信息。

Same Patch Batch · Linux · 2025-09-18 · 121 CVEs total

CVE-2022-504109.8 CRITICALNFSD: Protect against send buffer overflow in NFSv2 READ
CVE-2022-504019.8 CRITICALnfsd: under NFSv4.1, fix double svc_xprt_put on rpc_create failure
CVE-2023-533829.8 CRITICALnet/smc: Reset connection when trying to use SMCRv2 fails.
CVE-2022-504198.8 HIGHBluetooth: hci_sysfs: Fix attempting to call device_add multiple times
CVE-2023-534318.8 HIGHscsi: ses: Handle enclosure with just a primary component gracefully
CVE-2023-534328.8 HIGHfirewire: net: fix use after free in fwnet_finish_incoming_packet()
CVE-2023-533748.8 HIGHBluetooth: hci_conn: fail SCO/ISO via hci_conn_failed if ACL gone early
CVE-2022-503868.8 HIGHBluetooth: L2CAP: Fix user-after-free
CVE-2022-504138.8 HIGHwifi: mac80211: fix use-after-free
CVE-2023-533728.2 HIGHsctp: fix a potential overflow in sctp_ifwdtsn_skip
CVE-2023-533887.8 HIGHdrm/mediatek: Clean dangling pointer on bind error path
CVE-2022-503997.8 HIGHmedia: atomisp: prevent integer overflow in sh_css_set_black_frame()
CVE-2023-533947.8 HIGHnet/mlx5e: xsk: Fix crash on regular rq reactivation
CVE-2023-533877.8 HIGHscsi: ufs: core: Fix device management cmd timeout flow
CVE-2023-534297.8 HIGHbtrfs: don't check PageError in __extent_writepage
CVE-2023-533737.8 HIGHcrypto: seqiv - Handle EBUSY correctly
CVE-2023-533787.8 HIGHdrm/i915/dpt: Treat the DPT BO as a framebuffer
CVE-2023-533867.8 HIGHBluetooth: Fix potential use-after-free when clear keys
CVE-2023-534267.8 HIGHxsk: Fix xsk_diag use-after-free error during socket cleanup
CVE-2023-533987.8 HIGHmlx5: fix possible ptp queue fifo use-after-free

Showing top 20 of 121 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2022-50417

No comments yet


Leave a comment