{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-48771","id":"CVE-2022-48771","title":"drm/vmwgfx: Fix stale file descriptors on failed usercopy","description":"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-f","descriptionLong":"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.","published":"2024-06-20T11:13:45.896Z","updated":"2026-10-28T02:31:08.609160095Z","reserved":"2024-06-20T11:09:39.061Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c906965dee22d5e95d0651759ba107b420212a9f","lessThan":"e8d092a62449dcfc73517ca43963d2b8f44d0516","status":"affected","versionType":"git"},{"version":"c906965dee22d5e95d0651759ba107b420212a9f","lessThan":"0008a0c78fc33a84e2212a7c04e6b21a36ca6f4d","status":"affected","versionType":"git"},{"version":"c906965dee22d5e95d0651759ba107b420212a9f","lessThan":"84b1259fe36ae0915f3d6ddcea6377779de48b82","status":"affected","versionType":"git"},{"version":"c906965dee22d5e95d0651759ba107b420212a9f","lessThan":"ae2b20f27732fe92055d9e7b350abc5cdf3e2414","status":"affected","versionType":"git"},{"version":"c906965dee22d5e95d0651759ba107b420212a9f","lessThan":"6066977961fc6f437bc064f628cf9b0e4571c56c","status":"affected","versionType":"git"},{"version":"c906965dee22d5e95d0651759ba107b420212a9f","lessThan":"1d833b27fb708d6fdf5de9f6b3a8be4bd4321565","status":"affected","versionType":"git"},{"version":"c906965dee22d5e95d0651759ba107b420212a9f","lessThan":"a0f90c8815706981c483a652a6aefca51a5e191c","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.14","status":"affected"},{"version":"0","lessThan":"4.14","status":"unaffected","versionType":"semver"},{"version":"4.14.264","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.227","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.175","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.95","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.18","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16.4","lessThanOrEqual":"5.16.*","status":"unaffected","versionType":"semver"},{"version":"5.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/e8d092a62449dcfc73517ca43963d2b8f44d0516","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/0008a0c78fc33a84e2212a7c04e6b21a36ca6f4d","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/84b1259fe36ae0915f3d6ddcea6377779de48b82","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/ae2b20f27732fe92055d9e7b350abc5cdf3e2414","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/6066977961fc6f437bc064f628cf9b0e4571c56c","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/1d833b27fb708d6fdf5de9f6b3a8be4bd4321565","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/a0f90c8815706981c483a652a6aefca51a5e191c","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48771.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48771","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00213,"epssPercentile":0.1169,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-48771","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48771","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-48771","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-48771","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}