В ядре Linux устранена следующая уязвимость:
usb: musb: omap2430: Не помещайте заимствованное of_node в зонд
omap2430_probe() сохраняет pdev->dev.of_node в локальной переменной np. Это
заимствованный указатель, и функция проверки не принимает ссылку на
это. Пути успеха и ошибки, тем не менее, вызывают of_node_put(np).
Это падает
ссылка, которая принадлежит платформенному устройству и может покидать
pdev->dev.of_node с несбалансированным счетчиком ссылок. Не помещайте заимствованный узел устройства платформы из omap2430_probe(). Ссылки, взятые для дочернего устройства MUSB, обрабатываются ядром устройства.
и ссылка на phandle ctrl-module по-прежнему выпускается отдельно.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: usb: musb: omap2430: Do not put borrowed of_node in probe omap2430_probe() stores pdev->dev.of_node in a local np variable. This is a borrowed pointer and the probe function does not take a reference to it. The success and error paths nevertheless call of_node_put(np). This drops a reference that is owned by the platform device, and can leave pdev->dev.of_node with an unbalanced reference count. Do not put the borrowed platform device node from omap2430_probe(). References taken for the child MUSB device are handled by the device core, and the ctrl-module phandle reference is still released separately.
Характеристики атаки
Последствия
Строка CVSS v3.1