Lucene search

K
cvelistLinuxCVELIST:CVE-2024-35810
HistoryMay 17, 2024 - 1:23 p.m.

CVE-2024-35810 drm/vmwgfx: Fix the lifetime of the bo cursor memory

2024-05-1713:23:16
Linux
www.cve.org
linux kernel
vulnerability
drm/vmwgfx
atomic update
buffer objects
memory management
kernel oops'es
igt's kms_cursor_legacy

7.5 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%

In the Linux kernel, the following vulnerability has been resolved:

drm/vmwgfx: Fix the lifetime of the bo cursor memory

The cleanup can be dispatched while the atomic update is still active,
which means that the memory acquired in the atomic update needs to
not be invalidated by the cleanup. The buffer objects in vmw_plane_state
instead of using the builtin map_and_cache were trying to handle
the lifetime of the mapped memory themselves, leading to crashes.

Use the map_and_cache instead of trying to manage the lifetime of the
buffer objects held by the vmw_plane_state.

Fixes kernel oops’es in IGT’s kms_cursor_legacy forked-bo.

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/vmwgfx_kms.c"
    ],
    "versions": [
      {
        "version": "bb6780aa5a1d",
        "lessThan": "86cb706a40b7",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bb6780aa5a1d",
        "lessThan": "104a5b2772bc",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bb6780aa5a1d",
        "lessThan": "ed381800ea6d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bb6780aa5a1d",
        "lessThan": "9a9e8a7159ca",
        "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/vmwgfx_kms.c"
    ],
    "versions": [
      {
        "version": "6.2",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.2",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.24",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.12",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.3",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

7.5 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%