CVE-2022-48771

HIGH

Linux Kernel 4.14-5.16.3 - Use-After-Free via Stale File Descriptor in DRM vmwgfx

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: Fix stale file descriptors on failed usercopy A failing usercopy of the fence_rep object will lead to a stale entry in the file descriptor table as put_unused_fd() won't release it. This enables userland to refer to a dangling 'file' object through that still valid file descriptor, leading to all kinds of use-after-free exploitation scenarios. Fix this by deferring the call to fd_install() until after the usercopy has succeeded.

Scores

CVSS v3 7.8
EPSS 0.0021
EPSS Percentile 11.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-416
Status published
Products (24)
linux/Kernel 4.14.0 - 4.14.264linux
linux/Kernel 4.15.0 - 4.19.227linux
linux/Kernel 4.20.0 - 5.4.175linux
linux/Kernel 5.11.0 - 5.15.18linux
linux/Kernel 5.16.0 - 5.16.4linux
linux/Kernel 5.5.0 - 5.10.95linux
Linux/Linux < 4.14
Linux/Linux 4.14
Linux/Linux 4.14.264 - 4.14.*
Linux/Linux 4.19.227 - 4.19.*
... and 14 more
Published Jun 20, 2024
Tracked Since Feb 18, 2026