CVEvulnerability

CVE-2024-38549

5.5 MEDIUM Published 2024-06-19 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2024-06-19
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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.

Affected configurations

• linux linux kernel (>= 4.7 < 4.19.316) • linux linux kernel (>= 4.20 < 5.4.278) • linux linux kernel (>= 5.5 < 5.10.219) • linux linux kernel (>= 5.11 < 5.15.161) • linux linux kernel (>= 5.16 < 6.1.93) • linux linux kernel (>= 6.2 < 6.6.33) • linux linux kernel (>= 6.7 < 6.8.12) • linux linux kernel (>= 6.9 < 6.9.3)

References