CVE-2022-48887

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxe14c02e6b6990e9f6ee18a214a22ac26bae1b25e < 7ac9578e45b20e3f3c0c8eb71f5417a499a7226aaffected
LinuxLinuxe14c02e6b6990e9f6ee18a214a22ac26bae1b25e < a309c7194e8a2f8bd4539b9449917913f6c2cd50affected
LinuxLinux4.20affected
LinuxLinux0 < 4.20unaffected
LinuxLinux6.1.7 <= 6.1.*unaffected
LinuxLinux6.2 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References