drm/virtio: Fix GEM handle creation UAF (Linux Linux)

CVE-2022-48899
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 16 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 < 19ec87d06acfab2313ee82b2a689bf0c154e57ea ; affected 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 < d01d6d2b06c0d8390adf8f3ba08aa60b5642ef73 ; affected 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 < 68bcd063857075d2f9edfed6024387ac377923e2 ; affected 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 < 011ecdbcd520c90c344b872ca6b4821f7783b2f8 ; affected 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 < adc48e5e408afbb01d261bd303fd9fbbbaa3e317 ; affected 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 < 52531258318ed59a2dc5a43df2eaf0eb1d65438e
Linux · Linuxaffected 4.4 ; unaffected 0 < 4.4 ; unaffected 4.19.270 ≤ 4.19.* ; unaffected 5.4.229 ≤ 5.4.* ; unaffected 5.10.164 ≤ 5.10.* ; unaffected 5.15.89 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD