The vmwgfx driver contains a local privilege escalation vulnerability that allows unprivileged users to gain access to files opened by other processes on the system through a dangling 'file' pointer.
Published 2023-12-13 09:15:34
Updated 2023-12-18 17:27:31
Source VMware
View at NVD,   CVE.org
Vulnerability category: Gain privilege

Products affected by CVE-2022-22942

Exploit prediction scoring system (EPSS) score for CVE-2022-22942

0.07%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 30 %
Percentile, the proportion of vulnerabilities that are scored at or less

Metasploit modules for CVE-2022-22942

  • vmwgfx Driver File Descriptor Handling Priv Esc
    Disclosure Date: 2022-01-28
    First seen: 2023-09-11
    exploit/linux/local/vmwgfx_fd_priv_esc
    If the vmwgfx driver fails to copy the 'fence_rep' object to userland, it tries to recover by deallocating the (already populated) file descriptor. This is wrong, as the fd gets released via put_unused_fd() which shouldn't be used, as the fd table slot was al

CVSS scores for CVE-2022-22942

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
7.8
HIGH CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1.8
5.9
NIST
7.8
HIGH CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1.8
5.9
VMware

CWE ids for CVE-2022-22942

  • The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
    Assigned by: nvd@nist.gov (Primary)

References for CVE-2022-22942

Jump to
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!