Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected f5ba33fb9690566c382624637125827b5512e766 before ca9388fba50dac2eb71c13702b7022a801bef90e; affected f5ba33fb9690566c382624637125827b5512e766 before 4aeaece518fa4436af93d1d8b786200d9656ff4b; affected f5ba33fb9690566c382624637125827b5512e766 before 6245cce711e2cdb2cc75c0bb8632952e36f8c972; affected f5ba33fb9690566c382624637125827b5512e766 before 4e6e07ce0197aecfb6c4a62862acc93b3efedeb7; affected f5ba33fb9690566c382624637125827b5512e766 before d138f73ffb0c57ded473c577719e6e551b7b1f27; affected f5ba33fb9690566c382624637125827b5512e766 before 79197c6007f2afbfd7bcf5b9b80ccabf8483d774; affected f5ba33fb9690566c382624637125827b5512e766 before c7d393267c497502fa737607f435f05dfe6e3d9b |
| Linux / Linux | affected 5.13; unaffected 0 before 5.13; unaffected 5.15.198 through 5.15.*; unaffected 6.1.160 through 6.1.*; unaffected 6.6.120 through 6.6.*; unaffected 6.12.63 through 6.12.*; unaffected 6.17.13 through 6.17.*; unaffected 6.18.2 through 6.18.*; unaffected 6.19 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/ca9388fba50dac2eb71c13702b7022a801bef90e
- https://git.kernel.org/stable/c/4aeaece518fa4436af93d1d8b786200d9656ff4b
- https://git.kernel.org/stable/c/6245cce711e2cdb2cc75c0bb8632952e36f8c972
- https://git.kernel.org/stable/c/4e6e07ce0197aecfb6c4a62862acc93b3efedeb7
- https://git.kernel.org/stable/c/d138f73ffb0c57ded473c577719e6e551b7b1f27
- https://git.kernel.org/stable/c/79197c6007f2afbfd7bcf5b9b80ccabf8483d774
- https://git.kernel.org/stable/c/c7d393267c497502fa737607f435f05dfe6e3d9b