{"id":"CVE-2022-48771","published":"2024-06-20T11:13:45Z","modified":"2026-08-05T08:52:12Z","title":"drm/vmwgfx: Fix stale file descriptors on failed usercopy","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vmwgfx: Fix stale file descriptors on failed usercopy\n\nA failing usercopy of the fence_rep object will lead to a stale entry in\nthe file descriptor table as put_unused_fd() won't release it. This\nenables userland to refer to a dangling 'file' object through that still\nvalid file descriptor, leading to all kinds of use-after-free\nexploitation scenarios.\n\nFix this by deferring the call to fd_install() until after the usercopy\nhas succeeded.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00213,"percentile":0.11793,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/e8d092a62449dcfc73517ca43963d2b8f44d0516","tags":[]},{"url":"https://git.kernel.org/stable/c/0008a0c78fc33a84e2212a7c04e6b21a36ca6f4d","tags":[]},{"url":"https://git.kernel.org/stable/c/84b1259fe36ae0915f3d6ddcea6377779de48b82","tags":[]},{"url":"https://git.kernel.org/stable/c/ae2b20f27732fe92055d9e7b350abc5cdf3e2414","tags":[]},{"url":"https://git.kernel.org/stable/c/6066977961fc6f437bc064f628cf9b0e4571c56c","tags":[]},{"url":"https://git.kernel.org/stable/c/1d833b27fb708d6fdf5de9f6b3a8be4bd4321565","tags":[]},{"url":"https://git.kernel.org/stable/c/a0f90c8815706981c483a652a6aefca51a5e191c","tags":[]}],"priority":{"score":7.8,"factors":[{"name":"EPSS percentile","points":2.36},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c906965dee22d5e95d0651759ba107b420212a9f, < e8d092a62449dcfc73517ca43963d2b8f44d0516",">= c906965dee22d5e95d0651759ba107b420212a9f, < 0008a0c78fc33a84e2212a7c04e6b21a36ca6f4d",">= c906965dee22d5e95d0651759ba107b420212a9f, < 84b1259fe36ae0915f3d6ddcea6377779de48b82",">= c906965dee22d5e95d0651759ba107b420212a9f, < ae2b20f27732fe92055d9e7b350abc5cdf3e2414",">= c906965dee22d5e95d0651759ba107b420212a9f, < 6066977961fc6f437bc064f628cf9b0e4571c56c",">= c906965dee22d5e95d0651759ba107b420212a9f, < 1d833b27fb708d6fdf5de9f6b3a8be4bd4321565",">= c906965dee22d5e95d0651759ba107b420212a9f, < a0f90c8815706981c483a652a6aefca51a5e191c"]},{"vendor":"Linux","product":"Linux","versions":["4.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:09:57.107831Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-53650","exploited":false,"provenance":"source"}}