CVE-2026-23063
JSON

5.5medium

uacce: ensure safe queue release with state management

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: uacce: ensure safe queue release with state management Directly calling `put_queue` carries risks since it cannot guarantee that resources of `uacce_queue` have been fully released beforehand. So adding a `stop_queue` operation for the UACCE_CMD_PUT_Q command and leaving the `put_queue` operation to the final resource release ensures safety. Queue states are defined as follows: - UACCE_Q_ZOMBIE: Initial state - UACCE_Q_INIT: After opening `uacce` - UACCE_Q_STARTED: After `start` is issued via `ioctl` When executing `poweroff -f` in virt while accelerator are still working, `uacce_fops_release` and `uacce_remove` may execute concurrently. This can cause `uacce_put_queue` within `uacce_fops_release` to access a NULL `ops` pointer. Therefore, add state checks to prevent accessing freed pointers.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 015d239ac0142ad0e26567fd890ef8d171f13709 before b457abeb5d962db88aaf60e249402fd3073dbfab, from 015d239ac0142ad0e26567fd890ef8d171f13709 before 8b57bf1d3b1db692f34bce694a03e41be79f6016, from 015d239ac0142ad0e26567fd890ef8d171f13709 before 336fb41a186e7c0415ae94fec9e23d1f04b87483, from 015d239ac0142ad0e26567fd890ef8d171f13709 before 43f233eb6e7b9d88536881a9bc43726d0e34800d, from 015d239ac0142ad0e26567fd890ef8d171f13709 before 47634d70073890c9c37e39ab4ff93d4b585b028a, from 015d239ac0142ad0e26567fd890ef8d171f13709 before 92e4f11e29b98ef424ff72d6371acac03e5d973c, from 015d239ac0142ad0e26567fd890ef8d171f13709 before 26c08dabe5475d99a13f353d8dd70e518de45663, 5.7
Not affected: before 5.7, from 5.10.249 up to 5.10.*, from 5.15.199 up to 5.15.*, from 6.1.162 up to 6.1.*, from 6.6.122 up to 6.6.*, from 6.12.68 up to 6.12.*
CVE List
linux linux_kernelfrom 5.7 before 5.10.249, from 5.11 before 5.15.199, from 5.16 before 6.1.162, from 6.2 before 6.6.122, from 6.7 before 6.12.68, from 6.13 before 6.18.8, 6.19NVD

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: uacce: ensure safe queue release with state management Directly calling `put_queue` carries risks since it cannot guarantee that resources of `uacce_queue` have been fully released beforehand. So adding a `stop_queue` operation for the UACCE_CMD_PUT_Q command and leaving the `put_queue` operation to the final resource release ensures safety. Queue states are defined as follows: - UACCE_Q_ZOMBIE: Initial state - UACCE_Q_INIT: After opening `uacce` - UACCE_Q_STARTED: After `start` is issued via `ioctl` When executing `poweroff -f` in virt while accelerator are still working, `uacce_fops_release` and `uacce_remove` may execute concurrently. This can cause `uacce_put_queue` within `uacce_fops_release` to access a NULL `ops` pointer. Therefore, add state checks to prevent accessing freed pointers.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: uacce: asegurar la liberación segura de la cola con gestión de estado Llamar directamente a 'put_queue' conlleva riesgos ya que no puede garantizar que los recursos de 'uacce_queue' hayan sido completamente liberados de antemano. Por lo tanto, añadir una operación 'stop_queue' para el comando UACCE_CMD_PUT_Q y dejar la operación 'put_queue' para la liberación final de recursos garantiza la seguridad. Los estados de la cola se definen de la siguiente manera: - UACCE_Q_ZOMBIE: Estado inicial - UACCE_Q_INIT: Después de abrir 'uacce' - UACCE_Q_STARTED: Después de que se emite 'start' a través de 'ioctl' Al ejecutar 'poweroff -f' en virt mientras el acelerador sigue funcionando, 'uacce_fops_release' y 'uacce_remove' pueden ejecutarse concurrentemente. Esto puede causar que 'uacce_put_queue' dentro de 'uacce_fops_release' acceda a un puntero 'ops' NULL. Por lo tanto, añadir comprobaciones de estado para evitar acceder a punteros liberados.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23063 changed 2026-05-11CVE Terms of Use
NVDCVE-2026-23063 changed 2026-06-17Public domain