В ядре Linux устранена следующая уязвимость:
uacce: исправлена обработка cdev в пути очистки.
Когда cdev_device_add завершается сбоем, он внутренне освобождает память cdev.
и если затем выполнить cdev_device_del, это приведет к зависанию.
Чтобы это исправить, мы проверяем возвращаемое значение cdev_device_add() и очищаем
uacce->cdev, чтобы избежать вызова cdev_device_del в файле uacce_remove.
Показать оригинальное описание (EN)
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.