{"id":"CVE-2024-38390","aliases":["CVE-2024-38390"],"related":[],"kind":"vulnerability","state":"published","title":"drm/msm/a6xx: Avoid a nullptr dereference when speedbin setting fails","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/a6xx: Avoid a nullptr dereference when speedbin setting fails\n\nCalling a6xx_destroy() before adreno_gpu_init() leads to a null pointer\ndereference on:\n\nmsm_gpu_cleanup() : platform_set_drvdata(gpu->pdev, NULL);\n\nas gpu->pdev is only assigned in:\n\na6xx_gpu_init()\n|_ adreno_gpu_init\n    |_ msm_gpu_init()\n\nInstead of relying on handwavy null checks down the cleanup chain,\nexplicitly de-allocate the LLC data and free a6xx_gpu instead.\n\nPatchwork: https://patchwork.freedesktop.org/patch/588919/","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/a6xx: Avoid a nullptr dereference when speedbin setting fails\n\nCalling a6xx_destroy() before adreno_gpu_init() leads to a null pointer\ndereference on:\n\nmsm_gpu_cleanup() : platform_set_drvdata(gpu->pdev, NULL);\n\nas gpu->pdev is only assigned in:\n\na6xx_gpu_init()\n|_ adreno_gpu_init\n    |_ msm_gpu_init()\n\nInstead of relying on handwavy null checks down the cleanup chain,\nexplicitly de-allocate the LLC data and free a6xx_gpu instead.\n\nPatchwork: https://patchwork.freedesktop.org/patch/588919/","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/msm/a6xx: evite una desreferencia de nullptr cuando falla la configuración de speedbin. Llamar a a6xx_destroy() antes de adreno_gpu_init() conduce a una desreferencia de puntero nulo en: msm_gpu_cleanup() : platform_set_drvdata(gpu- &gt;pdev, NULO); ya que gpu-&gt;pdev solo se asigna en: a6xx_gpu_init() |_ adreno_gpu_init |_ msm_gpu_init() En lugar de depender de comprobaciones nulas manuales en la cadena de limpieza, desasigne explícitamente los datos LLC y libere a6xx_gpu en su lugar. Remiendo: https://patchwork.freedesktop.org/patch/588919/","source":"nvd"}],"published":"2024-06-21T10:18:13.639Z","modified":"2026-06-17T07:40:02.943Z","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":"76efc2453d0e8e5d6692ef69981b183ad674edea","fixed":"247849eeb3fd88f8990ed73e33af70d5c10f9aec","status":"affected"},{"type":"git","introduced":"76efc2453d0e8e5d6692ef69981b183ad674edea","fixed":"a1955a6df91355fef72a3a254700acd3cc1fec0d","status":"affected"},{"type":"git","introduced":"76efc2453d0e8e5d6692ef69981b183ad674edea","fixed":"617e3d1680504a3f9d88e1582892c68be155498f","status":"affected"},{"type":"git","introduced":"76efc2453d0e8e5d6692ef69981b183ad674edea","fixed":"46d4efcccc688cbacdd70a238bedca510acaa8e4","status":"affected"},{"type":"git","version":"5fea4202b5faccfc6449381a299e8ce4b994d666","status":"affected"},{"type":"semver","introduced":"6.0.10","fixed":"6.1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1","status":"unaffected"},{"type":"semver","introduced":"6.1.93","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.33","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.4","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","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","introduced":"6.1","fixed":"6.1.93"},{"status":"affected","introduced":"6.2","fixed":"6.6.33"},{"status":"affected","introduced":"6.7","fixed":"6.9.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/247849eeb3fd88f8990ed73e33af70d5c10f9aec","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a1955a6df91355fef72a3a254700acd3cc1fec0d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/617e3d1680504a3f9d88e1582892c68be155498f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46d4efcccc688cbacdd70a238bedca510acaa8e4","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:09:21.858Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-38390","url":"https://www.cve.org/CVERecord?id=CVE-2024-38390","licence":"CVE Terms of Use","modified":"2026-05-23T15:48:19.333Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-38390","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38390","licence":"Public domain","modified":"2026-06-17T07:40:02.943Z"}],"updatedAt":"2026-11-25T22:58:42.113Z","epss":{"score":0.00222,"percentile":0.13715,"date":"2026-12-01T12:00:22.000Z"}}