Skip to contentSkip to conversation

CVE-2026-63906: usb: musb: omap2430: Fix use-after-free in omap2430_probe()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 19

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

usb: musb: omap2430: Fix use-after-free in omap2430_probe()

In omap2430_probe(), of_node_put(np) is called prematurely before the last access to np, leading to a use-after-free if the node's reference count drops to zero. Move the of_node_put() calls after the last use of np in both the success and error paths.

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

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

	Issue introduced in 6.1.2 with commit 22b60658a90260e3fbd57824e3afe5682c6afcf5 and fixed in 6.1.176 with commit 632fd888fe33083927e29ef651ac1aba345edd9e
	Issue introduced in 6.2 with commit ffbe2feac59b37c8dc536727552b4f375e1b9aec and fixed in 6.6.143 with commit b987f380620b38c84f054d5ff5c05861a7c2203b
	Issue introduced in 6.2 with commit ffbe2feac59b37c8dc536727552b4f375e1b9aec and fixed in 6.12.93 with commit 27e62532228dc42367bb43ebbcd7bf49d8db2b0d
	Issue introduced in 6.2 with commit ffbe2feac59b37c8dc536727552b4f375e1b9aec and fixed in 6.18.35 with commit 69f9f2b30af03d9b6e83f78fb0f734b6066d4678
	Issue introduced in 6.2 with commit ffbe2feac59b37c8dc536727552b4f375e1b9aec and fixed in 7.0.12 with commit d53e4c41331f57b9fd78cbf3e480c6ce20aea07b
	Issue introduced in 6.2 with commit ffbe2feac59b37c8dc536727552b4f375e1b9aec and fixed in 7.1 with commit e194ce048f5a6c549b3a23a8c568c6470f40f772
	Issue introduced in 6.0.16 with commit fed43efc00ba6ac8c6b95828cd5acfa3d45eca4d

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-63906

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/632fd888fe33083927e29ef651ac1aba345edd9e
	https://git.kernel.org/stable/c/b987f380620b38c84f054d5ff5c05861a7c2203b
	https://git.kernel.org/stable/c/27e62532228dc42367bb43ebbcd7bf49d8db2b0d
	https://git.kernel.org/stable/c/69f9f2b30af03d9b6e83f78fb0f734b6066d4678
	https://git.kernel.org/stable/c/d53e4c41331f57b9fd78cbf3e480c6ce20aea07b
	https://git.kernel.org/stable/c/e194ce048f5a6c549b3a23a8c568c6470f40f772