usb: musb: omap2430: Do not put borrowed of_node in probe
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel eed56f105a7f70cbcfceb4df6deb6870fc58214d, Kernel 0950ac52426b0ab32d3b8cf4afe1711668b19cb8, Kernel 58d1c81c0b54a0b9aa6d6af077b09aa2f1bd2193 and 8 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=ffbe2feac59b37c8dc536727552b4f375e1b9aec <eed56f105a7f70cbcfceb4df6deb6870fc58214d, >=ffbe2feac59b37c8dc536727552b4f375e1b9aec <0950ac52426b0ab32d3b8cf4afe1711668b19cb8, >=ffbe2feac59b37c8dc536727552b4f375e1b9aec <58d1c81c0b54a0b9aa6d6af077b09aa2f1bd2193, >=ffbe2feac59b37c8dc536727552b4f375e1b9aec <6c525c851e5912b9753622d796f2bc55c4913b04, >=ffbe2feac59b37c8dc536727552b4f375e1b9aec <c947360ae63eee1c9eacc030dd6f5a53f717addf, =6.2, =fed43efc00ba6ac8c6b95828cd5acfa3d45eca4d, >=22b60658a90260e3fbd57824e3afe5682c6afcf5 <f0e68402d13cd9ffb289da50e65d4429d0002174, >=6.0.16 <6.1, >=6.1.2 <6.1.184 | eed56f105a7f70cbcfceb4df6deb6870fc58214d, 0950ac52426b0ab32d3b8cf4afe1711668b19cb8, 58d1c81c0b54a0b9aa6d6af077b09aa2f1bd2193, 6c525c851e5912b9753622d796f2bc55c4913b04, c947360ae63eee1c9eacc030dd6f5a53f717addf, f0e68402d13cd9ffb289da50e65d4429d0002174, 6.1, 6.1.184 |
| linux-kernel: Kernel | >=6.13.0 <7.1.6, >=6.2.0 <6.12.101, >=6.7.0 <6.18.42, <6.1.184 | 7.1.6, 6.12.101, 6.18.42, 6.1.184 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket