CVE-2022-48771: drm/vmwgfx: Fix stale file descriptors on failed usercopy
Vulnerability summary
CVE-2022-48771 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11.6% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 11Timeline
- 20-06-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.21% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu106 products
- linuxAll versions (No fix recorded)
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded)
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ c906965dee22d5e95d0651759ba107b420212a9f, < e8d092a62449dcfc73517ca43963d2b8f44d0516 | ≥ c906965dee22d5e95d0651759ba107b420212a9f, < 0008a0c78fc33a84e2212a7c04e6b21a36ca6f4d | ≥ c906965dee22d5e95d0651759ba107b420212a9f, < 84b1259fe36ae0915f3d6ddcea6377779de48b82 | ≥ c906965dee22d5e95d0651759ba107b420212a9f, < ae2b20f27732fe92055d9e7b350abc5cdf3e2414 | ≥ c906965dee22d5e95d0651759ba107b420212a9f, < 6066977961fc6f437bc064f628cf9b0e4571c56c | ≥ c906965dee22d5e95d0651759ba107b420212a9f, < 1d833b27fb708d6fdf5de9f6b3a8be4bd4321565 | ≥ c906965dee22d5e95d0651759ba107b420212a9f, < a0f90c8815706981c483a652a6aefca51a5e191c | 4.14
- linux_kernel≥ 4.14, < 4.14.264 | ≥ 4.15, < 4.19.227 | ≥ 4.20, < 5.4.175 | ≥ 5.5, < 5.10.95 | ≥ 5.11, < 5.15.18 | ≥ 5.16, < 5.16.4 | 5.17:rc1
Debian1 product
- linux< 5.16.7-1
3 vendors · 109 products