CVE-2024-38549

MEDIUM

Linux Kernel - Denial of Service via Zero-Size GBM Buffer Allocation

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: Add 0 size check to mtk_drm_gem_obj Add a check to mtk_drm_gem_init if we attempt to allocate a GEM object of 0 bytes. Currently, no such check exists and the kernel will panic if a userspace application attempts to allocate a 0x0 GBM buffer. Tested by attempting to allocate a 0x0 GBM buffer on an MT8188 and verifying that we now return EINVAL.

Scores

CVSS v3 5.5
EPSS 0.0028
EPSS Percentile 20.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

Status published
Products (29)
linux/Kernel 4.20.0 - 5.4.278linux
linux/Kernel 4.7.0 - 4.19.316linux
linux/Kernel 5.11.0 - 5.15.161linux
linux/Kernel 5.16.0 - 6.1.93linux
linux/Kernel 5.5.0 - 5.10.219linux
linux/Kernel 6.2.0 - 6.6.33linux
linux/Kernel 6.7.0 - 6.8.12linux
linux/Kernel 6.9.0 - 6.9.3linux
Linux/Linux < 4.7
Linux/Linux 119f5173628aa7a0c3cf9db83460d40709e8241d - 0e3b6f9123726858cac299e1654e3d20424cabe4
... and 19 more
Published Jun 19, 2024
Tracked Since Feb 18, 2026