usb: musb: omap2430: Do not put borrowed of_node in probe
0Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Track
probabilidade de exploração
—
exploração observada
nãonenhuma fonte reporta
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.
Produtos afetados
Linux · LinuxReferências
https://git.kernel.org/stable/c/0950ac52426b0ab32d3b8cf4afe1711668b19cb8https://git.kernel.org/stable/c/58d1c81c0b54a0b9aa6d6af077b09aa2f1bd2193https://git.kernel.org/stable/c/6c525c851e5912b9753622d796f2bc55c4913b04https://git.kernel.org/stable/c/c947360ae63eee1c9eacc030dd6f5a53f717addfhttps://git.kernel.org/stable/c/eed56f105a7f70cbcfceb4df6deb6870fc58214d