В ядре Linux устранена следующая уязвимость: nfsd: Утечка записи кэша Fix id-to-name в idtoname_parse() idtoname_lookup() возвращает запись кэша id-to-name с новой ссылкой. Имя анализируется между поиском и вызовом обновления, и когда разобранное имя неправильно сформировано (отрицательная длина или длиннее, чем IDMAP_NAMESZ), idtoname_parse () переходит на метку ошибки, не опуская ссылку, возвращенную idtoname_lookup (), утекая в кэш-запись. Отпустите ссылку с cache_put () перед выходом ошибки.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: nfsd: Fix id-to-name cache entry leak in idtoname_parse() idtoname_lookup() returns the id-to-name cache entry with a new reference. The name is parsed between the lookup and the update call, and when the parsed name is malformed (negative length or longer than IDMAP_NAMESZ), idtoname_parse() jumps to the error label without dropping the reference returned by idtoname_lookup(), leaking the cache entry. Release the reference with cache_put() before taking the error exit.