usb: musb: omap2430: Fix use-after-free in omap2430_probe()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ffbe2feac59b37c8dc536727552b4f375e1b9aec · < e194ce048f5a6c549b3a23a8c568c6470f40f772| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s omap2430_probe() releases a device-tree node before its last use. This can cause a use-after-free if the node’s reference count reaches zero. The input does not specify how an attacker could trigger it or whether access or user interaction is required.
Engineers running Linux kernels with the usb musb omap2430 component should check their versions; affected versions are not specified.