В ядре Linux устранена следующая уязвимость:
wifi: ipw2100: исправлена потенциальная утечка памяти в ipw2100_pci_init_one()
Память, выделенная в функции ipw2100_alloc_device(), не освобождается.
в некоторых путях ошибок в ipw2100_pci_init_one(). Исправьте это с помощью
преобразование прямого возврата в переход к возврату пути ошибки.
Путь ошибки при сбое pci_enable_device() не может перейти к ошибке, поскольку
на данный момент priv не установлен, поэтому выполняйте обработку ошибок в режиме реального времени.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: wifi: ipw2100: fix potential memory leak in ipw2100_pci_init_one() The memory allocated in the ipw2100_alloc_device() function is not freed in some of the error paths in ipw2100_pci_init_one(). Fix that by converting the direct return into a goto to the error path return. The error path when pci_enable_device() fails cannot jump to fail, since at this point priv is not set, so perform error handling inline.