В ядре Linux устранена следующая уязвимость:
apparmor: освобождать ресурсы exe-файла при сбое пути
get_current_exe_path() принимает как ссылку на exe_file, так и путь
ссылку перед разрешением имени пути. Если aa_path_name() завершился неудачно, это
немедленно вернулся и слил обе ссылки.
Направьте сбой через общий путь очистки, чтобы fput() и path_put()
всегда запускается после получения ссылок.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: apparmor: release exe file resources on path failure get_current_exe_path() takes both an exe_file reference and a path reference before resolving the path name. If aa_path_name() failed, it returned immediately and leaked both references. Route the failure through the common cleanup path so fput() and path_put() always run after the references are acquired.