Lucene search

K
cvelistLinuxCVELIST:CVE-2024-42262
HistoryAug 17, 2024 - 8:54 a.m.

CVE-2024-42262 drm/v3d: Fix potential memory leak in the performance extension

2024-08-1708:54:19
Linux
www.cve.org
1
linux
kernel
drm
memory leak
vulnerability

EPSS

0

Percentile

9.5%

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

drm/v3d: Fix potential memory leak in the performance extension

If fetching of userspace memory fails during the main loop, all drm sync
objs looked up until that point will be leaked because of the missing
drm_syncobj_put.

Fix it by exporting and using a common cleanup helper.

(cherry picked from commit 484de39fa5f5b7bd0c5f2e2c5265167250ef7501)

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/v3d/v3d_drv.h",
      "drivers/gpu/drm/v3d/v3d_sched.c",
      "drivers/gpu/drm/v3d/v3d_submit.c"
    ],
    "versions": [
      {
        "version": "bae7cb5d6800",
        "lessThan": "ad5fdc48f7a6",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bae7cb5d6800",
        "lessThan": "32df4abc44f2",
        "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/v3d/v3d_drv.h",
      "drivers/gpu/drm/v3d/v3d_sched.c",
      "drivers/gpu/drm/v3d/v3d_submit.c"
    ],
    "versions": [
      {
        "version": "6.8",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.8",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.4",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

9.5%