drm/msm/a6xx: Avoid a nullptr dereference when speedbin setting fails
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a1955a6df91355fef72a3a254700acd3cc1fec0d, Kernel 6.1, Kernel 247849eeb3fd88f8990ed73e33af70d5c10f9aec and 5 more.
In the Linux kernel, the following vulnerability has been resolved: drm/msm/a6xx: Avoid a nullptr dereference when speedbin setting fails Calling a6xx_destroy() before adreno_gpu_init() leads to a null pointer dereference on: msm_gpu_cleanup() : platform_set_drvdata(gpu->pdev, NULL); as gpu->pdev is only assigned in: a6xx_gpu_init() |_ adreno_gpu_init |_ msm_gpu_init() Instead of relying on handwavy null checks down the cleanup chain, explicitly de-allocate the LLC data and free a6xx_gpu instead. Patchwork: https://patchwork.freedesktop.org/patch/588919/
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=76efc2453d0e8e5d6692ef69981b183ad674edea <a1955a6df91355fef72a3a254700acd3cc1fec0d, >=6.0.10 <6.1, >=76efc2453d0e8e5d6692ef69981b183ad674edea <247849eeb3fd88f8990ed73e33af70d5c10f9aec, >=76efc2453d0e8e5d6692ef69981b183ad674edea <46d4efcccc688cbacdd70a238bedca510acaa8e4, >=76efc2453d0e8e5d6692ef69981b183ad674edea <617e3d1680504a3f9d88e1582892c68be155498f, =5fea4202b5faccfc6449381a299e8ce4b994d666, =6.1 | a1955a6df91355fef72a3a254700acd3cc1fec0d, 6.1, 247849eeb3fd88f8990ed73e33af70d5c10f9aec, 46d4efcccc688cbacdd70a238bedca510acaa8e4, 617e3d1680504a3f9d88e1582892c68be155498f |
| linux-kernel: Kernel | >=6.1.0 <6.1.93, >=6.2.0 <6.6.33, >=6.7.0 <6.9.4, >=6.0.10 <6.1 | 6.1.93, 6.6.33, 6.9.4, 6.1 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket