Dismissed
(max. allowed matches exceeded)
Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
usb: musb: omap2430: Do not put borrowed of_node in probe
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.
References
Affected products
Linux
- ==fed43efc00ba6ac8c6b95828cd5acfa3d45eca4d
- <c947360ae63eee1c9eacc030dd6f5a53f717addf
- <6.2
- =<*
- ==6.2
- =<6.6.*
- <6.2
- <6.1
- <6c525c851e5912b9753622d796f2bc55c4913b04
- ==22b60658a90260e3fbd57824e3afe5682c6afcf5
- <eed56f105a7f70cbcfceb4df6deb6870fc58214d
- =<6.18.*
- =<7.1.*
- =<6.12.*
- <0950ac52426b0ab32d3b8cf4afe1711668b19cb8
- <58d1c81c0b54a0b9aa6d6af077b09aa2f1bd2193