gpu: host1x: Fix race in syncpt alloc/free
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4aeaece518fa4436af93d1d8b786200d9656ff4b, Kernel 4e6e07ce0197aecfb6c4a62862acc93b3efedeb7, Kernel 6245cce711e2cdb2cc75c0bb8632952e36f8c972 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: gpu: host1x: Fix race in syncpt alloc/free Fix race condition between host1x_syncpt_alloc() and host1x_syncpt_put() by using kref_put_mutex() instead of kref_put() + manual mutex locking. This ensures no thread can acquire the syncpt_mutex after the refcount drops to zero but before syncpt_release acquires it. This prevents races where syncpoints could be allocated while still being cleaned up from a previous release. Remove explicit mutex locking in syncpt_release as kref_put_mutex() handles this atomically.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.13, >=f5ba33fb9690566c382624637125827b5512e766 <4aeaece518fa4436af93d1d8b786200d9656ff4b, >=f5ba33fb9690566c382624637125827b5512e766 <4e6e07ce0197aecfb6c4a62862acc93b3efedeb7, >=f5ba33fb9690566c382624637125827b5512e766 <6245cce711e2cdb2cc75c0bb8632952e36f8c972, >=f5ba33fb9690566c382624637125827b5512e766 <79197c6007f2afbfd7bcf5b9b80ccabf8483d774, >=f5ba33fb9690566c382624637125827b5512e766 <c7d393267c497502fa737607f435f05dfe6e3d9b, >=f5ba33fb9690566c382624637125827b5512e766 <ca9388fba50dac2eb71c13702b7022a801bef90e, >=f5ba33fb9690566c382624637125827b5512e766 <d138f73ffb0c57ded473c577719e6e551b7b1f27 | 4aeaece518fa4436af93d1d8b786200d9656ff4b, 4e6e07ce0197aecfb6c4a62862acc93b3efedeb7, 6245cce711e2cdb2cc75c0bb8632952e36f8c972, 79197c6007f2afbfd7bcf5b9b80ccabf8483d774, c7d393267c497502fa737607f435f05dfe6e3d9b, ca9388fba50dac2eb71c13702b7022a801bef90e, d138f73ffb0c57ded473c577719e6e551b7b1f27 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket