CVE-2026-23096
JSON

5.5medium

uacce: fix cdev handling in the cleanup path

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

Description

In the Linux kernel, the following vulnerability has been resolved: uacce: fix cdev handling in the cleanup path When cdev_device_add fails, it internally releases the cdev memory, and if cdev_device_del is then executed, it will cause a hang error. To fix it, we check the return value of cdev_device_add() and clear uacce->cdev to avoid calling cdev_device_del in the uacce_remove.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 015d239ac0142ad0e26567fd890ef8d171f13709 before c94c7188d325bc5137d447d67a2f18f7d4f2f4a3, from 015d239ac0142ad0e26567fd890ef8d171f13709 before 1bc3e51367c420e6db31f41efa874c7a8e12194a, from 015d239ac0142ad0e26567fd890ef8d171f13709 before 819d647406200d0e83e56fd2df8f451b11290559, from 015d239ac0142ad0e26567fd890ef8d171f13709 before d9031575a2f8aabc53af3025dd79af313a2e046b, from 015d239ac0142ad0e26567fd890ef8d171f13709 before 98d67a1bd6caddd0a8b8c82a0b925742cf500936, from 015d239ac0142ad0e26567fd890ef8d171f13709 before bd2393ed7712513e7e2dbcb6e21464a67ff9e702, from 015d239ac0142ad0e26567fd890ef8d171f13709 before a3bece3678f6c88db1f44c602b2a63e84b4040ac, 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

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: uacce: fix cdev handling in the cleanup path When cdev_device_add fails, it internally releases the cdev memory, and if cdev_device_del is then executed, it will cause a hang error. To fix it, we check the return value of cdev_device_add() and clear uacce->cdev to avoid calling cdev_device_del in the uacce_remove.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: uacce: corrección del manejo de cdev en la ruta de limpieza Cuando cdev_device_add falla, libera internamente la memoria de cdev, y si cdev_device_del se ejecuta entonces, causará un error de bloqueo. Para solucionarlo, verificamos el valor de retorno de cdev_device_add() y borramos uacce->cdev para evitar llamar a cdev_device_del en uacce_remove.

References

Sources

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