CVE-2024-49901
Last modified
CVE-2024-49901 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: drm/msm/adreno: Assign msm_gpu->pdev earlier to avoid nullptrs There are some cases, such as the one uncovered by Commit 46d4efcccc68 ("drm/msm/a6xx: Avoid a nullptr dereference when speedbin setting fails") where msm_gpu_cleanup() : platform_set_drvdata(gpu->pdev, NULL); is called on gpu->pdev == NULL, as the GPU device has not been fully initialized yet. Turns out that there's more than just the aforementioned path that causes this to happen (e.g. the case when there's speedbin data in the catalog, but opp-supported-hw is missing in DT). Assigning msm_gpu->pdev earlier seems like the least painful solution to this, therefore do so. Patchwork: https://patchwork.freedesktop.org/patch/602742/. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: drm/msm/adreno: Assign msm_gpu->pdev earlier to avoid nullptrs There are some cases, such as the one uncovered by Commit 46d4efcccc68 ("drm/msm/a6xx: Avoid a nullptr dereference when speedbin setting fails") where msm_gpu_cleanup() : platform_set_drvdata(gpu->pdev, NULL); is called on gpu->pdev == NULL, as the GPU device has not been fully initialized yet. Turns out that there's more than just the aforementioned path that causes this to happen (e.g. the case when there's speedbin data in the catalog, but opp-supported-hw is missing in DT). Assigning msm_gpu->pdev earlier seems like the least painful solution to this, therefore do so. Patchwork: https://patchwork.freedesktop.org/patch/602742/
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 6.6.55 |
| Linux | Linux Kernel | >= 6.7, < 6.10.14 |
| Linux | Linux Kernel | >= 6.11, < 6.11.3 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-49901?
How severe is CVE-2024-49901?
How do I fix CVE-2024-49901?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-49896In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49897In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49898In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49899In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-4990In yiisoft/yii2 version 2.0.48, the base Component class con…9.1
- CVE-2024-49900In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-49902In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49903In the Linux kernel, the following vulnerability has been re…7
- CVE-2024-49904In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49905In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49906In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49907In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-49901?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
