Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2022-48887

drm/vmwgfx: Remove rcu locks from user resources

Description

In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: Remove rcu locks from user resources User resource lookups used rcu to avoid two extra atomics. Unfortunately the rcu paths were buggy and it was easy to make the driver crash by submitting command buffers from two different threads. Because the lookups never show up in performance profiles replace them with a regular spin lock which fixes the races in accesses to those shared resources. Fixes kernel oops'es in IGT's vmwgfx execution_buffer stress test and seen crashes with apps using shared resources.

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

  • e14c02e6b6990e9f6ee18a214a22ac26bae1b25e to < 7ac9578e45b20e3f3c0c8eb71f5417a499a7226aaffected
  • e14c02e6b6990e9f6ee18a214a22ac26bae1b25e to < a309c7194e8a2f8bd4539b9449917913f6c2cd50affected

Linux Linux

Default version status: affected

  • 4.20affected
  • 0 to < 4.20unaffected
  • 6.1.7 to ≤ 6.1.*unaffected
  • 6.2 to ≤ *unaffected

References