CVE-2022-48771
VMware drm File Descriptor Use-After-Free Vulnerability
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.
INFO
Published Date :
June 20, 2024, 12:15 p.m.
Last Modified :
Jan. 6, 2025, 9:41 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-48771
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-48771
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-48771
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 06, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE NIST CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.14 up to (excluding) 4.14.264 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.227 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.175 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.95 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.18 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.16.4 *cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:* Changed Reference Type https://git.kernel.org/stable/c/0008a0c78fc33a84e2212a7c04e6b21a36ca6f4d No Types Assigned https://git.kernel.org/stable/c/0008a0c78fc33a84e2212a7c04e6b21a36ca6f4d Patch Changed Reference Type https://git.kernel.org/stable/c/0008a0c78fc33a84e2212a7c04e6b21a36ca6f4d No Types Assigned https://git.kernel.org/stable/c/0008a0c78fc33a84e2212a7c04e6b21a36ca6f4d Patch Changed Reference Type https://git.kernel.org/stable/c/1d833b27fb708d6fdf5de9f6b3a8be4bd4321565 No Types Assigned https://git.kernel.org/stable/c/1d833b27fb708d6fdf5de9f6b3a8be4bd4321565 Patch Changed Reference Type https://git.kernel.org/stable/c/1d833b27fb708d6fdf5de9f6b3a8be4bd4321565 No Types Assigned https://git.kernel.org/stable/c/1d833b27fb708d6fdf5de9f6b3a8be4bd4321565 Patch Changed Reference Type https://git.kernel.org/stable/c/6066977961fc6f437bc064f628cf9b0e4571c56c No Types Assigned https://git.kernel.org/stable/c/6066977961fc6f437bc064f628cf9b0e4571c56c Patch Changed Reference Type https://git.kernel.org/stable/c/6066977961fc6f437bc064f628cf9b0e4571c56c No Types Assigned https://git.kernel.org/stable/c/6066977961fc6f437bc064f628cf9b0e4571c56c Patch Changed Reference Type https://git.kernel.org/stable/c/84b1259fe36ae0915f3d6ddcea6377779de48b82 No Types Assigned https://git.kernel.org/stable/c/84b1259fe36ae0915f3d6ddcea6377779de48b82 Patch Changed Reference Type https://git.kernel.org/stable/c/84b1259fe36ae0915f3d6ddcea6377779de48b82 No Types Assigned https://git.kernel.org/stable/c/84b1259fe36ae0915f3d6ddcea6377779de48b82 Patch Changed Reference Type https://git.kernel.org/stable/c/a0f90c8815706981c483a652a6aefca51a5e191c No Types Assigned https://git.kernel.org/stable/c/a0f90c8815706981c483a652a6aefca51a5e191c Patch Changed Reference Type https://git.kernel.org/stable/c/a0f90c8815706981c483a652a6aefca51a5e191c No Types Assigned https://git.kernel.org/stable/c/a0f90c8815706981c483a652a6aefca51a5e191c Patch Changed Reference Type https://git.kernel.org/stable/c/ae2b20f27732fe92055d9e7b350abc5cdf3e2414 No Types Assigned https://git.kernel.org/stable/c/ae2b20f27732fe92055d9e7b350abc5cdf3e2414 Patch Changed Reference Type https://git.kernel.org/stable/c/ae2b20f27732fe92055d9e7b350abc5cdf3e2414 No Types Assigned https://git.kernel.org/stable/c/ae2b20f27732fe92055d9e7b350abc5cdf3e2414 Patch Changed Reference Type https://git.kernel.org/stable/c/e8d092a62449dcfc73517ca43963d2b8f44d0516 No Types Assigned https://git.kernel.org/stable/c/e8d092a62449dcfc73517ca43963d2b8f44d0516 Patch Changed Reference Type https://git.kernel.org/stable/c/e8d092a62449dcfc73517ca43963d2b8f44d0516 No Types Assigned https://git.kernel.org/stable/c/e8d092a62449dcfc73517ca43963d2b8f44d0516 Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/0008a0c78fc33a84e2212a7c04e6b21a36ca6f4d Added Reference https://git.kernel.org/stable/c/1d833b27fb708d6fdf5de9f6b3a8be4bd4321565 Added Reference https://git.kernel.org/stable/c/6066977961fc6f437bc064f628cf9b0e4571c56c Added Reference https://git.kernel.org/stable/c/84b1259fe36ae0915f3d6ddcea6377779de48b82 Added Reference https://git.kernel.org/stable/c/a0f90c8815706981c483a652a6aefca51a5e191c Added Reference https://git.kernel.org/stable/c/ae2b20f27732fe92055d9e7b350abc5cdf3e2414 Added Reference https://git.kernel.org/stable/c/e8d092a62449dcfc73517ca43963d2b8f44d0516 -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 20, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/e8d092a62449dcfc73517ca43963d2b8f44d0516 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/0008a0c78fc33a84e2212a7c04e6b21a36ca6f4d [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/84b1259fe36ae0915f3d6ddcea6377779de48b82 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ae2b20f27732fe92055d9e7b350abc5cdf3e2414 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/6066977961fc6f437bc064f628cf9b0e4571c56c [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/1d833b27fb708d6fdf5de9f6b3a8be4bd4321565 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/a0f90c8815706981c483a652a6aefca51a5e191c [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-48771
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-48771
weaknesses.