Lucene search

K
cvelistLinuxCVELIST: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
www.cve.org
3
cve-2024-36960
fixing
invalid reads
fence signaled events
linux kernel

6.4 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

[
  {
    "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_fence.c"
    ],
    "versions": [
      {
        "version": "8b7de6aa8468",
        "lessThan": "2f527e3efd37",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8b7de6aa8468",
        "lessThan": "cef0962f2d3e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8b7de6aa8468",
        "lessThan": "3cd682357c61",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8b7de6aa8468",
        "lessThan": "b7bab33c4623",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8b7de6aa8468",
        "lessThan": "0dbfc73670b3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8b7de6aa8468",
        "lessThan": "7b5fd3af4a25",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8b7de6aa8468",
        "lessThan": "deab66596dfa",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8b7de6aa8468",
        "lessThan": "a37ef7613c00",
        "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_fence.c"
    ],
    "versions": [
      {
        "version": "3.4",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "3.4",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.314",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.276",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.217",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.159",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.91",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.31",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.10",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.4 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.2%