Lucene search

K
cveLinuxCVE-2022-48887
HistoryAug 21, 2024 - 7:15 a.m.

CVE-2022-48887

2024-08-2107:15:05
Linux
web.nvd.nist.gov
29
linux kernel
drm/vmwgfx
user resources
rcu locks
performance profiles

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

9.5%

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 configurations

Nvd
Vulners
Node
linuxlinux_kernelRange4.206.1.7
OR
linuxlinux_kernelMatch6.2rc1
OR
linuxlinux_kernelMatch6.2rc2
OR
linuxlinux_kernelMatch6.2rc3
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel6.2cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:*
linuxlinux_kernel6.2cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:*
linuxlinux_kernel6.2cpe:2.3:o:linux:linux_kernel:6.2:rc3:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/gpu/drm/vmwgfx/ttm_object.c",
      "drivers/gpu/drm/vmwgfx/ttm_object.h",
      "drivers/gpu/drm/vmwgfx/vmwgfx_bo.c",
      "drivers/gpu/drm/vmwgfx/vmwgfx_drv.h",
      "drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c",
      "drivers/gpu/drm/vmwgfx/vmwgfx_resource.c"
    ],
    "versions": [
      {
        "version": "e14c02e6b699",
        "lessThan": "7ac9578e45b2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e14c02e6b699",
        "lessThan": "a309c7194e8a",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/gpu/drm/vmwgfx/ttm_object.c",
      "drivers/gpu/drm/vmwgfx/ttm_object.h",
      "drivers/gpu/drm/vmwgfx/vmwgfx_bo.c",
      "drivers/gpu/drm/vmwgfx/vmwgfx_drv.h",
      "drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c",
      "drivers/gpu/drm/vmwgfx/vmwgfx_resource.c"
    ],
    "versions": [
      {
        "version": "4.20",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.20",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.7",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.2",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

9.5%