CVE-2025-68732
JSON

Not scored

gpu: host1x: Fix race in syncpt alloc/free

Severity
Not scored
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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

Product or packageVersionsReported by
Linux Linuxfrom f5ba33fb9690566c382624637125827b5512e766 before ca9388fba50dac2eb71c13702b7022a801bef90e, from f5ba33fb9690566c382624637125827b5512e766 before 4aeaece518fa4436af93d1d8b786200d9656ff4b, from f5ba33fb9690566c382624637125827b5512e766 before 6245cce711e2cdb2cc75c0bb8632952e36f8c972, from f5ba33fb9690566c382624637125827b5512e766 before 4e6e07ce0197aecfb6c4a62862acc93b3efedeb7, from f5ba33fb9690566c382624637125827b5512e766 before d138f73ffb0c57ded473c577719e6e551b7b1f27, from f5ba33fb9690566c382624637125827b5512e766 before 79197c6007f2afbfd7bcf5b9b80ccabf8483d774, from f5ba33fb9690566c382624637125827b5512e766 before c7d393267c497502fa737607f435f05dfe6e3d9b, 5.13
Not affected: before 5.13, from 5.15.198 up to 5.15.*, from 6.1.160 up to 6.1.*, from 6.6.120 up to 6.6.*, from 6.12.63 up to 6.12.*, from 6.17.13 up to 6.17.*
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: gpu: host1x: Corrige condición de carrera en la asignación/liberación de syncpt Corrige la condición de carrera entre host1x_syncpt_alloc() y host1x_syncpt_put() mediante el uso de kref_put_mutex() en lugar de kref_put() + bloqueo manual de mutex. Esto asegura que ningún hilo pueda adquirir el syncpt_mutex después de que el contador de referencias (refcount) caiga a cero, pero antes de que syncpt_release lo adquiera. Esto previene condiciones de carrera donde los syncpoints podrían ser asignados mientras aún se están limpiando de una liberación anterior. Elimina el bloqueo explícito de mutex en syncpt_release ya que kref_put_mutex() maneja esto de forma atómica.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68732 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-68732 changed 2026-10-13Public domain