CVE-2024-38549: Linux kernel · drm/mediatek: Add 0 size check to mtk_drm_gem_obj
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 5.4.0-1130.140~18.04.1 : update Linux kernel when convenient.
Data as of 6 Nov 2026, 15:19 UTC
- Patch
- Available – fixed in 5.4.0-1130.140~18.04.1, 5.4.0-1135.142~18.04.1, 5.4.0-1134.143~18.04.1 +73
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 19 Jun 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-6949-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6951-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6952-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6953-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6955-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6949-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6952-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6951-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6951-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6951-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-6979-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7007-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-ibmpkg:deb/ubuntu/linux-ibm?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
This vulnerability has been fixed in multiple Linux kernel releases including 5.4.0-1077.82~18.04.1 and later. Users should upgrade to one of the fixed kernel versions to remediate the issue. No additional mitigation is required once patched.
Description
A vulnerability in the Linux kernel's Mediatek DRM driver allowed userspace applications to allocate a zero-size GEM object, causing a kernel panic. This issue was fixed by adding a check to prevent allocation of 0-byte GEM objects, returning an error instead. The flaw affected multiple Linux kernel versions prior to various fixed releases in the 5.4.x and 5.15.x series. The vulnerability has a medium severity score and does not impact confidentiality or integrity but can cause denial of service via kernel panic.
References
- ubuntu.com/security/CVE-2024-38549 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-38549 (opens in a new tab)
- git.kernel.org/linus/1e4350095e8ab2577ee05f8c3b044e661b5af9a0 (opens in a new tab)
- git.kernel.org/stable/c/79078880795478d551a05acc41f957700030d364 (opens in a new tab)
- git.kernel.org/stable/c/be34a1b351ea7faeb15dde8c44fe89de3980ae67 (opens in a new tab)
- git.kernel.org/stable/c/d17b75ee9c2e44d3a3682c4ea5ab713ea6073350 (opens in a new tab)
- git.kernel.org/stable/c/0e3b6f9123726858cac299e1654e3d20424cabe4 (opens in a new tab)
- git.kernel.org/stable/c/13562c2d48c9ee330de1077d00146742be368f05 (opens in a new tab)
- git.kernel.org/stable/c/af26ea99019caee1500bf7e60c861136c0bf8594 (opens in a new tab)
- git.kernel.org/stable/c/9489951e3ae505534c4013db4e76b1b5a3151ac7 (opens in a new tab)
- git.kernel.org/stable/c/fb4aabdb1b48c25d9e1ee28f89440fd2ce556405 (opens in a new tab)
- git.kernel.org/stable/c/1e4350095e8ab2577ee05f8c3b044e661b5af9a0 (opens in a new tab)
- ubuntu.com/security/notices/USN-6949-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6951-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6952-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6953-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6955-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6949-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6952-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6951-2 (opens in a new tab)