Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 22b60658a90260e3fbd57824e3afe5682c6afcf5 before f0e68402d13cd9ffb289da50e65d4429d0002174; affected ffbe2feac59b37c8dc536727552b4f375e1b9aec before eed56f105a7f70cbcfceb4df6deb6870fc58214d; affected ffbe2feac59b37c8dc536727552b4f375e1b9aec before 58d1c81c0b54a0b9aa6d6af077b09aa2f1bd2193; affected ffbe2feac59b37c8dc536727552b4f375e1b9aec before 0950ac52426b0ab32d3b8cf4afe1711668b19cb8; affected ffbe2feac59b37c8dc536727552b4f375e1b9aec before 6c525c851e5912b9753622d796f2bc55c4913b04; affected ffbe2feac59b37c8dc536727552b4f375e1b9aec before c947360ae63eee1c9eacc030dd6f5a53f717addf; affected fed43efc00ba6ac8c6b95828cd5acfa3d45eca4d; affected 6.1.2 before 6.1.184; affected 6.0.16 before 6.1 |
| Linux / Linux | affected 6.2; unaffected 0 before 6.2; unaffected 6.1.184 through 6.1.*; unaffected 6.6.151 through 6.6.*; unaffected 6.12.101 through 6.12.*; unaffected 6.18.42 through 6.18.*; unaffected 7.1.6 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/f0e68402d13cd9ffb289da50e65d4429d0002174
- https://git.kernel.org/stable/c/eed56f105a7f70cbcfceb4df6deb6870fc58214d
- https://git.kernel.org/stable/c/58d1c81c0b54a0b9aa6d6af077b09aa2f1bd2193
- https://git.kernel.org/stable/c/0950ac52426b0ab32d3b8cf4afe1711668b19cb8
- https://git.kernel.org/stable/c/6c525c851e5912b9753622d796f2bc55c4913b04
- https://git.kernel.org/stable/c/c947360ae63eee1c9eacc030dd6f5a53f717addf