Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
22b60658a90260e3fbd57824e3afe5682c6afcf5 to < f0e68402d13cd9ffb289da50e65d4429d0002174affectedffbe2feac59b37c8dc536727552b4f375e1b9aec to < eed56f105a7f70cbcfceb4df6deb6870fc58214daffectedffbe2feac59b37c8dc536727552b4f375e1b9aec to < 58d1c81c0b54a0b9aa6d6af077b09aa2f1bd2193affectedffbe2feac59b37c8dc536727552b4f375e1b9aec to < 0950ac52426b0ab32d3b8cf4afe1711668b19cb8affectedffbe2feac59b37c8dc536727552b4f375e1b9aec to < 6c525c851e5912b9753622d796f2bc55c4913b04affectedffbe2feac59b37c8dc536727552b4f375e1b9aec to < c947360ae63eee1c9eacc030dd6f5a53f717addfaffectedfed43efc00ba6ac8c6b95828cd5acfa3d45eca4daffected6.1.2 to < 6.1.184affected6.0.16 to < 6.1affected
Linux Linux
Default version status: affected
6.2affected0 to < 6.2unaffected6.1.184 to ≤ 6.1.*unaffected6.6.151 to ≤ 6.6.*unaffected6.12.101 to ≤ 6.12.*unaffected6.18.42 to ≤ 6.18.*unaffected7.1.6 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
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 ↗