CVE-2026-68371: usb: musb: omap2430: Do not put borrowed of_node in probe

Greg Kroah-Hartman <[email protected]>
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026081043-CVE-2026-68371-a5a6@gregkh>
From: Greg Kroah-Hartman <[email protected]>

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.

The Linux kernel CVE team has assigned CVE-2026-68371 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.2 with commit ffbe2feac59b37c8dc536727552b4f375e1b9aec and fixed in 6.6.151 with commit eed56f105a7f70cbcfceb4df6deb6870fc58214d
	Issue introduced in 6.2 with commit ffbe2feac59b37c8dc536727552b4f375e1b9aec and fixed in 6.12.101 with commit 58d1c81c0b54a0b9aa6d6af077b09aa2f1bd2193
	Issue introduced in 6.2 with commit ffbe2feac59b37c8dc536727552b4f375e1b9aec and fixed in 6.18.42 with commit 0950ac52426b0ab32d3b8cf4afe1711668b19cb8
	Issue introduced in 6.2 with commit ffbe2feac59b37c8dc536727552b4f375e1b9aec and fixed in 7.1.6 with commit 6c525c851e5912b9753622d796f2bc55c4913b04
	Issue introduced in 6.2 with commit ffbe2feac59b37c8dc536727552b4f375e1b9aec and fixed in 7.2-rc5 with commit c947360ae63eee1c9eacc030dd6f5a53f717addf
	Issue introduced in 6.0.16 with commit fed43efc00ba6ac8c6b95828cd5acfa3d45eca4d
	Issue introduced in 6.1.2 with commit 22b60658a90260e3fbd57824e3afe5682c6afcf5

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2026-68371
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/usb/musb/omap2430.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.