CVE-2024-38549
publisheddrm/mediatek: Add 0 size check to mtk_drm_gem_obj
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux119f5173628aa7a0c3cf9db83460d40709e8241d to < 79078880795478d551a05acc41f957700030d364 · 119f5173628aa7a0c3cf9db83460d40709e8241d to < be34a1b351ea7faeb15dde8c44fe89de3980ae67 · 119f5173628aa7a0c3cf9db83460d40709e8241d to < d17b75ee9c2e44d3a3682c4ea5ab713ea6073350 · 119f5173628aa7a0c3cf9db83460d40709e8241d to < 0e3b6f9123726858cac299e1654e3d20424cabe4 · 119f5173628aa7a0c3cf9db83460d40709e8241d to < 13562c2d48c9ee330de1077d00146742be368f05 · 119f5173628aa7a0c3cf9db83460d40709e8241d to < af26ea99019caee1500bf7e60c861136c0bf8594 · 119f5173628aa7a0c3cf9db83460d40709e8241d to < 9489951e3ae505534c4013db4e76b1b5a3151ac7 · 119f5173628aa7a0c3cf9db83460d40709e8241d to < fb4aabdb1b48c25d9e1ee28f89440fd2ce556405 · 119f5173628aa7a0c3cf9db83460d40709e8241d to < 1e4350095e8ab2577ee05f8c3b044e661b5af9a0 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.7 (affected) · 0 to < 4.7 (unaffected · semver) · 4.19.316 through 4.19.* (unaffected · semver) · 5.4.278 through 5.4.* (unaffected · semver) · 5.10.219 through 5.10.* (unaffected · semver) · 5.15.161 through 5.15.* (unaffected · semver) · 6.1.93 through 6.1.* (unaffected · semver) · 6.6.33 through 6.6.* (unaffected · semver) · 6.8.12 through 6.8.* (unaffected · semver) · 6.9.3 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bullseye | linux | Advisory build | 5.10.221-1 | DSA-5730-1 |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:4.14.35-2047.540.4.1.el7uek | ELSA-2024-12611 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| Debian | buster | linux | Advisory build | 4.19.316-1 | DLA-3840-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:4.14.35-2047.540.4.1.el7uek | ELSA-2024-12611 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.334.6.el7 | ELSA-2024-12585 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.334.6.el7 | ELSA-2024-12585 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:4.14.35-2047.540.4.1.el7uek | ELSA-2024-12611 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:4.14.35-2047.540.4.1.el7uek | ELSA-2024-12611 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:4.14.35-2047.540.4.1.el7uek | ELSA-2024-12611 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:4.14.35-2047.540.4.1.el7uek | ELSA-2024-12611 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:4.14.35-2047.540.4.1.el7uek | ELSA-2024-12611 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:4.14.35-2047.540.4.1.el7uek | ELSA-2024-12611 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:4.14.35-2047.540.4.1.el7uek | ELSA-2024-12611 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-headersaarch64 | Advisory build | 0:4.14.35-2047.540.4.1.el7uek | ELSA-2024-12611 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:4.14.35-2047.540.4.1.el7uek | ELSA-2024-12611 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:4.14.35-2047.540.4.1.el7uek | ELSA-2024-12611 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:4.14.35-2047.540.4.1.el7uek | ELSA-2024-12611 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | kernel-uek-tools-libs-develaarch64 | Advisory build | 0:4.14.35-2047.540.4.1.el7uek | ELSA-2024-12611 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:4.14.35-2047.540.4.1.el7uek | ELSA-2024-12611 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:4.14.35-2047.540.4.1.el7uek | ELSA-2024-12611 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:5.4.17-2136.334.6.el7uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.334.6.el8 | ELSA-2024-12584 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.334.6.el8 | ELSA-2024-12584 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.334.6.el8uek | ELSA-2024-12581 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-rtx86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azurex86_64 | Advisory build | 4.12.14-16.191.1 | SUSE-SU-2024:2360-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azure-basex86_64 | Advisory build | 4.12.14-16.191.1 | SUSE-SU-2024:2360-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azure-develx86_64 | Advisory build | 4.12.14-16.191.1 | SUSE-SU-2024:2360-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultaarch64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaults390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseaarch64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-bases390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-basex86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develaarch64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-devels390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-extrax86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgrafts390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-devels390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-mans390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-develnoarch | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-devel-azurenoarch | Advisory build | 4.12.14-16.191.1 | SUSE-SU-2024:2360-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-devel-rtnoarch | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-docsnoarch | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-macrosnoarch | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildaarch64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-builds390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rtx86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt-basex86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt-develx86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt_debugx86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt_debug-develx86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-sourcenoarch | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-source-azurenoarch | Advisory build | 4.12.14-16.191.1 | SUSE-SU-2024:2360-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-source-rtnoarch | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsaarch64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 119f5173628aa7a0c3cf9db83460d40709e8241d to < 79078880795478d551a05acc41f957700030d364 (affected · git)119f5173628aa7a0c3cf9db83460d40709e8241d to < be34a1b351ea7faeb15dde8c44fe89de3980ae67 (affected · git)119f5173628aa7a0c3cf9db83460d40709e8241d to < d17b75ee9c2e44d3a3682c4ea5ab713ea6073350 (affected · git)119f5173628aa7a0c3cf9db83460d40709e8241d to < 0e3b6f9123726858cac299e1654e3d20424cabe4 (affected · git)119f5173628aa7a0c3cf9db83460d40709e8241d to < 13562c2d48c9ee330de1077d00146742be368f05 (affected · git)119f5173628aa7a0c3cf9db83460d40709e8241d to < af26ea99019caee1500bf7e60c861136c0bf8594 (affected · git)119f5173628aa7a0c3cf9db83460d40709e8241d to < 9489951e3ae505534c4013db4e76b1b5a3151ac7 (affected · git)119f5173628aa7a0c3cf9db83460d40709e8241d to < fb4aabdb1b48c25d9e1ee28f89440fd2ce556405 (affected · git)119f5173628aa7a0c3cf9db83460d40709e8241d to < 1e4350095e8ab2577ee05f8c3b044e661b5af9a0 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.7 (affected)0 to < 4.7 (unaffected · semver)4.19.316 through 4.19.* (unaffected · semver)5.4.278 through 5.4.* (unaffected · semver)5.10.219 through 5.10.* (unaffected · semver)5.15.161 through 5.15.* (unaffected · semver)6.1.93 through 6.1.* (unaffected · semver)6.6.33 through 6.6.* (unaffected · semver)6.8.12 through 6.8.* (unaffected · semver)6.9.3 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
10- https://git.kernel.org/stable/c/0e3b6f9123726858cac299e1654e3d20424cabe4
- https://git.kernel.org/stable/c/13562c2d48c9ee330de1077d00146742be368f05
- https://git.kernel.org/stable/c/1e4350095e8ab2577ee05f8c3b044e661b5af9a0
- https://git.kernel.org/stable/c/79078880795478d551a05acc41f957700030d364
- https://git.kernel.org/stable/c/9489951e3ae505534c4013db4e76b1b5a3151ac7
- https://git.kernel.org/stable/c/af26ea99019caee1500bf7e60c861136c0bf8594
- https://git.kernel.org/stable/c/be34a1b351ea7faeb15dde8c44fe89de3980ae67
- https://git.kernel.org/stable/c/d17b75ee9c2e44d3a3682c4ea5ab713ea6073350
- https://git.kernel.org/stable/c/fb4aabdb1b48c25d9e1ee28f89440fd2ce556405
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
Provider assertions
3Linux · cna
drm/mediatek: Add 0 size check to mtk_drm_gem_obj
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ef6788fcac3486b25df614a6d2ebe9202a3ccdc895dd4aa8001d60dbfd5c479e
- Ingested
- 23 Sep 2026, 08:24:49 UTC
- Source record
- Official CVE record