В ядре Linux устранена следующая уязвимость:
Rapidio: устройства: исправлено отсутствие put_device в mport_cdev_open.
При сбое kfifo_alloc счетчик ссылок chdev->dev остается инкрементным.
Мы должны использовать put_device(&chdev->dev), чтобы уменьшить количество ссылок
chdev->dev, чтобы избежать утечки счетчика ссылок.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: rapidio: devices: fix missing put_device in mport_cdev_open When kfifo_alloc fails, the refcount of chdev->dev is left incremental. We should use put_device(&chdev->dev) to decrease the ref count of chdev->dev to avoid refcount leak.