CVE-2022-48899

drm/virtio: Fix GEM handle creation UAF

MEDIUM
4.7
CVSS Score
Published: August 21, 2024 at 06:10 AM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.7
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: drm/virtio: Fix GEM handle creation UAF Userspace can guess the handle value and try to race GEM object creation with handle close, resulting in a use-after-free if we dereference the object after dropping the handle's reference. For that reason, dropping the handle's reference must be done *after* we are done dereferencing the object.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.20 ≤ v < 5.4.2294.4 ≤ v < 4.19.2704.4 ≤ v < 5.10.1644.4 ≤ v < 5.15.894.4 ≤ v < 5.4.2294.4 ≤ v < 6.1.74.4 ≤ v < 6.25.11 ≤ v < 5.15.895.16 ≤ v < 6.1.75.5 ≤ v < 5.10.1646.2 rc16.2 rc26.2 rc362fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257
Vendor states this is fixed in 011ecdbcd520c90c344b872ca6b4821f7783b2f8 (fixed)
Vendor states this is fixed in 19ec87d06acfab2313ee82b2a689bf0c154e57ea (fixed)
Vendor states this is fixed in 52531258318ed59a2dc5a43df2eaf0eb1d65438e (fixed)
Vendor states this is fixed in 68bcd063857075d2f9edfed6024387ac377923e2 (fixed)
Vendor states this is fixed in adc48e5e408afbb01d261bd303fd9fbbbaa3e317 (fixed)
Vendor states this is fixed in d01d6d2b06c0d8390adf8f3ba08aa60b5642ef73 (fixed)
Vendor states this is fixed in 4.19.270 (unaffected)
Vendor states this is fixed in 4.4 (unaffected)
Vendor states this is fixed in 5.10.164 (unaffected)
Vendor states this is fixed in 5.15.89 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.1.7 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/011ecdbcd520c90c344b872ca6b4821f7783b2f8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/19ec87d06acfab2313ee82b2a689bf0c154e57ea
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/52531258318ed59a2dc5a43df2eaf0eb1d65438e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/68bcd063857075d2f9edfed6024387ac377923e2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/adc48e5e408afbb01d261bd303fd9fbbbaa3e317
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d01d6d2b06c0d8390adf8f3ba08aa60b5642ef73

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card