Skip to main content
Network Thinking Solutions Logo

CVE-2022-48771

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.

All CVEs
CVE-2022-48771Published 6/20/2024

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.

Vendor advisory
CVSS7.8High

Overview

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.

Published
6/20/2024
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.14, < 4.14.264

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.227

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.175

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.95

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.18

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.16.4

Verify advisory

Source
linux kernel
linux
5.17

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ c906965dee22d5e95d0651759ba107b420212a9f, < e8d092a62449dcfc73517ca43963d2b8f44d0516

Verify advisory

Source
Linux
Linux
≥ c906965dee22d5e95d0651759ba107b420212a9f, < 0008a0c78fc33a84e2212a7c04e6b21a36ca6f4d

Verify advisory

Source
Linux
Linux
≥ c906965dee22d5e95d0651759ba107b420212a9f, < 84b1259fe36ae0915f3d6ddcea6377779de48b82

Verify advisory

Source
Linux
Linux
≥ c906965dee22d5e95d0651759ba107b420212a9f, < ae2b20f27732fe92055d9e7b350abc5cdf3e2414

Verify advisory

Source
Linux
Linux
≥ c906965dee22d5e95d0651759ba107b420212a9f, < 6066977961fc6f437bc064f628cf9b0e4571c56c

Verify advisory

Source
Linux
Linux
≥ c906965dee22d5e95d0651759ba107b420212a9f, < 1d833b27fb708d6fdf5de9f6b3a8be4bd4321565

Verify advisory

Source
Linux
Linux
≥ c906965dee22d5e95d0651759ba107b420212a9f, < a0f90c8815706981c483a652a6aefca51a5e191c

Verify advisory

Source
Linux
Linux
4.14

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.