Skip to main content
Network Thinking Solutions Logo

CVE-2024-38549

Linux kernel: drm/mediatek: Add 0 size check to mtk_drm_gem_obj

All CVEs
CVE-2024-38549Published 6/19/2024

Linux kernel: drm/mediatek: Add 0 size check to mtk_drm_gem_obj

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
6/19/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.7, < 4.19.316

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.278

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.219

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.161

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.93

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.33

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.8.12

Verify advisory

Source
linux kernel
linux
≥ 6.9, < 6.9.3

Verify advisory

Source
Linux
Linux
≥ 119f5173628aa7a0c3cf9db83460d40709e8241d, < 79078880795478d551a05acc41f957700030d364

Verify advisory

Source
Linux
Linux
≥ 119f5173628aa7a0c3cf9db83460d40709e8241d, < be34a1b351ea7faeb15dde8c44fe89de3980ae67

Verify advisory

Source
Linux
Linux
≥ 119f5173628aa7a0c3cf9db83460d40709e8241d, < d17b75ee9c2e44d3a3682c4ea5ab713ea6073350

Verify advisory

Source
Linux
Linux
≥ 119f5173628aa7a0c3cf9db83460d40709e8241d, < 0e3b6f9123726858cac299e1654e3d20424cabe4

Verify advisory

Source
Linux
Linux
≥ 119f5173628aa7a0c3cf9db83460d40709e8241d, < 13562c2d48c9ee330de1077d00146742be368f05

Verify advisory

Source
Linux
Linux
≥ 119f5173628aa7a0c3cf9db83460d40709e8241d, < af26ea99019caee1500bf7e60c861136c0bf8594

Verify advisory

Source
Linux
Linux
≥ 119f5173628aa7a0c3cf9db83460d40709e8241d, < 9489951e3ae505534c4013db4e76b1b5a3151ac7

Verify advisory

Source
Linux
Linux
≥ 119f5173628aa7a0c3cf9db83460d40709e8241d, < fb4aabdb1b48c25d9e1ee28f89440fd2ce556405

Verify advisory

Source
Linux
Linux
≥ 119f5173628aa7a0c3cf9db83460d40709e8241d, < 1e4350095e8ab2577ee05f8c3b044e661b5af9a0

Verify advisory

Source
Linux
Linux
4.7

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.