{"id":"CVE-2024-38390","published":"2024-06-21T10:18:13Z","modified":"2026-05-23T15:48:19Z","title":"drm/msm/a6xx: Avoid a nullptr dereference when speedbin setting fails","vendor":"Linux","product":"Linux","tier":"tail","description":{"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/","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00305,"percentile":0.15702,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/247849eeb3fd88f8990ed73e33af70d5c10f9aec","tags":[]},{"url":"https://git.kernel.org/stable/c/a1955a6df91355fef72a3a254700acd3cc1fec0d","tags":[]},{"url":"https://git.kernel.org/stable/c/617e3d1680504a3f9d88e1582892c68be155498f","tags":[]},{"url":"https://git.kernel.org/stable/c/46d4efcccc688cbacdd70a238bedca510acaa8e4","tags":[]}],"priority":{"score":3.1,"factors":[{"name":"EPSS percentile","points":3.14}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 76efc2453d0e8e5d6692ef69981b183ad674edea, < 247849eeb3fd88f8990ed73e33af70d5c10f9aec",">= 76efc2453d0e8e5d6692ef69981b183ad674edea, < a1955a6df91355fef72a3a254700acd3cc1fec0d",">= 76efc2453d0e8e5d6692ef69981b183ad674edea, < 617e3d1680504a3f9d88e1582892c68be155498f",">= 76efc2453d0e8e5d6692ef69981b183ad674edea, < 46d4efcccc688cbacdd70a238bedca510acaa8e4","5fea4202b5faccfc6449381a299e8ce4b994d666",">= 6.0.10, < 6.1"]},{"vendor":"Linux","product":"Linux","versions":["6.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:09:21.858510Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-37296","exploited":false,"provenance":"source"}}