В ядре Linux устранена следующая уязвимость: accel: ethosu: Fix ethosu_job_open() возвращает значение A WARN_ON() возвращает 0 или 1, а не исходное отрицательное errno. Просто отбросьте WARN_ON(), поскольку открытый FD передаст код возврата в пользовательское пространство, и есть только один возможный источник ошибки (drm_sched_entity_init()).
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: accel: ethosu: Fix ethosu_job_open() return value A WARN_ON() returns a 0 or 1, not the original negative errno. Just drop the WARN_ON() as the FD open will pass the return code to userspace and there's only one possible source of the error (drm_sched_entity_init()).