Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2022-48899

drm/virtio: Fix GEM handle creation UAF

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 to < 19ec87d06acfab2313ee82b2a689bf0c154e57eaaffected
  • 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 to < d01d6d2b06c0d8390adf8f3ba08aa60b5642ef73affected
  • 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 to < 68bcd063857075d2f9edfed6024387ac377923e2affected
  • 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 to < 011ecdbcd520c90c344b872ca6b4821f7783b2f8affected
  • 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 to < adc48e5e408afbb01d261bd303fd9fbbbaa3e317affected
  • 62fb7a5e10962ac6ae2a2d2dbd3aedcb2a3e3257 to < 52531258318ed59a2dc5a43df2eaf0eb1d65438eaffected

Linux Linux

Default version status: affected

  • 4.4affected
  • 0 to < 4.4unaffected
  • 4.19.270 to ≤ 4.19.*unaffected
  • 5.4.229 to ≤ 5.4.*unaffected
  • 5.10.164 to ≤ 5.10.*unaffected
  • 5.15.89 to ≤ 5.15.*unaffected
  • 6.1.7 to ≤ 6.1.*unaffected
  • 6.2 to ≤ *unaffected

References