Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2024-36960
HistoryJun 03, 2024 - 7:49 a.m.

CVE-2024-36960 drm/vmwgfx: Fix invalid reads in fence signaled events

2024-06-0307:49:58
Linux
github.com
1
linux kernel
vulnerability
invalid reads
fence signaled events
drm/vmwgfx

6.8 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.2%

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

drm/vmwgfx: Fix invalid reads in fence signaled events

Correctly set the length of the drm_event to the size of the structure
that’s actually used.

The length of the drm_event was set to the parent structure instead of
to the drm_vmw_event_fence which is supposed to be read. drm_read
uses the length parameter to copy the event to the user space thus
resuling in oob reads.

CNA Affected

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "8b7de6aa8468",
        "lessThan": "2f527e3efd37",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8b7de6aa8468",
        "lessThan": "cef0962f2d3e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8b7de6aa8468",
        "lessThan": "3cd682357c61",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8b7de6aa8468",
        "lessThan": "b7bab33c4623",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8b7de6aa8468",
        "lessThan": "0dbfc73670b3",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8b7de6aa8468",
        "lessThan": "7b5fd3af4a25",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8b7de6aa8468",
        "lessThan": "deab66596dfa",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8b7de6aa8468",
        "lessThan": "a37ef7613c00",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/gpu/drm/vmwgfx/vmwgfx_fence.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "3.4"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "3.4",
        "versionType": "custom"
      },
      {
        "status": "unaffected",
        "version": "4.19.314",
        "versionType": "custom",
        "lessThanOrEqual": "4.19.*"
      },
      {
        "status": "unaffected",
        "version": "5.4.276",
        "versionType": "custom",
        "lessThanOrEqual": "5.4.*"
      },
      {
        "status": "unaffected",
        "version": "5.10.217",
        "versionType": "custom",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.159",
        "versionType": "custom",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.91",
        "versionType": "custom",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.31",
        "versionType": "custom",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.8.10",
        "versionType": "custom",
        "lessThanOrEqual": "6.8.*"
      },
      {
        "status": "unaffected",
        "version": "6.9",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/gpu/drm/vmwgfx/vmwgfx_fence.c"
    ],
    "defaultStatus": "affected"
  }
]

6.8 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.2%