{"id":"CVE-2024-49901","aliases":["CVE-2024-49901"],"related":[],"kind":"vulnerability","state":"published","title":"drm/msm/adreno: Assign msm_gpu->pdev earlier to avoid nullptrs","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/adreno: Assign msm_gpu->pdev earlier to avoid nullptrs\n\nThere are some cases, such as the one uncovered by Commit 46d4efcccc68\n(\"drm/msm/a6xx: Avoid a nullptr dereference when speedbin setting fails\")\nwhere\n\nmsm_gpu_cleanup() : platform_set_drvdata(gpu->pdev, NULL);\n\nis called on gpu->pdev == NULL, as the GPU device has not been fully\ninitialized yet.\n\nTurns out that there's more than just the aforementioned path that\ncauses this to happen (e.g. the case when there's speedbin data in the\ncatalog, but opp-supported-hw is missing in DT).\n\nAssigning msm_gpu->pdev earlier seems like the least painful solution\nto this, therefore do so.\n\nPatchwork: https://patchwork.freedesktop.org/patch/602742/","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/adreno: Assign msm_gpu->pdev earlier to avoid nullptrs\n\nThere are some cases, such as the one uncovered by Commit 46d4efcccc68\n(\"drm/msm/a6xx: Avoid a nullptr dereference when speedbin setting fails\")\nwhere\n\nmsm_gpu_cleanup() : platform_set_drvdata(gpu->pdev, NULL);\n\nis called on gpu->pdev == NULL, as the GPU device has not been fully\ninitialized yet.\n\nTurns out that there's more than just the aforementioned path that\ncauses this to happen (e.g. the case when there's speedbin data in the\ncatalog, but opp-supported-hw is missing in DT).\n\nAssigning msm_gpu->pdev earlier seems like the least painful solution\nto this, therefore do so.\n\nPatchwork: https://patchwork.freedesktop.org/patch/602742/","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/msm/adreno: Asignar msm_gpu-&gt;pdev antes para evitar nullptrs Hay algunos casos, como el descubierto por Commit 46d4efcccc68 (\"drm/msm/a6xx: Evitar una desreferencia nullptr cuando fallo la configuración de speedbin\") donde msm_gpu_cleanup() : platform_set_drvdata(gpu-&gt;pdev, NULL); se llama en gpu-&gt;pdev == NULL, ya que el dispositivo GPU aún no se ha inicializado por completo. Resulta que hay más que solo la ruta mencionada anteriormente que hace que esto suceda (por ejemplo, el caso cuando hay datos de speedbin en el catálogo, pero opp-supported-hw falta en DT). Asignar msm_gpu-&gt;pdev antes parece ser la solución menos dolorosa para esto, así que hazlo. Parche: https://patchwork.freedesktop.org/patch/602742/","source":"nvd"}],"published":"2024-10-21T18:01:33.258Z","modified":"2026-10-30T13:17:38.240Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300","fixed":"4a48e2e501267c8d0a9a10ada41d960ddb2dae22","status":"affected"},{"type":"git","introduced":"0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300","fixed":"542e679cd4ec93c959b014df9c31b4888e92bac8","status":"affected"},{"type":"git","introduced":"0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300","fixed":"24168aae5a5010fa7d5068a318366e847ec3ad1e","status":"affected"},{"type":"git","introduced":"0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300","fixed":"9288a9676c529ad9c856096db68fad812499bc4a","status":"affected"},{"type":"git","introduced":"0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300","fixed":"9773737375b20070ea935203fd66cb9fa17c5acb","status":"affected"},{"type":"git","introduced":"0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300","fixed":"e8ac2060597a5768e4699bb61d604b4c09927b85","status":"affected"},{"type":"git","introduced":"0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300","fixed":"16007768551d5bfe53426645401435ca8d2ef54f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.12","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.55","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.14","lastAffected":"6.10.*","status":"unaffected"},{"type":"semver","introduced":"6.11.3","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.6.55"},{"status":"affected","introduced":"6.7","fixed":"6.10.14"},{"status":"affected","introduced":"6.11","fixed":"6.11.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4a48e2e501267c8d0a9a10ada41d960ddb2dae22","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/542e679cd4ec93c959b014df9c31b4888e92bac8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/24168aae5a5010fa7d5068a318366e847ec3ad1e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9288a9676c529ad9c856096db68fad812499bc4a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9773737375b20070ea935203fd66cb9fa17c5acb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e8ac2060597a5768e4699bb61d604b4c09927b85","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/16007768551d5bfe53426645401435ca8d2ef54f","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-22T13:42:53.218Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-49901","url":"https://www.cve.org/CVERecord?id=CVE-2024-49901","licence":"CVE Terms of Use","modified":"2026-10-30T12:19:32.933Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-49901","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49901","licence":"Public domain","modified":"2026-10-30T13:17:38.240Z"}],"updatedAt":"2026-11-25T22:58:47.036Z","epss":{"score":0.00301,"percentile":0.1522,"date":"2026-11-30T12:00:22.000Z"}}