CVE-2025-38536

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
16/08/2025
Last modified:
18/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> net: airoha: fix potential use-after-free in airoha_npu_get()<br /> <br /> np-&gt;name was being used after calling of_node_put(np), which<br /> releases the node and can lead to a use-after-free bug.<br /> Previously, of_node_put(np) was called unconditionally after<br /> of_find_device_by_node(np), which could result in a use-after-free if<br /> pdev is NULL.<br /> <br /> This patch moves of_node_put(np) after the error check to ensure<br /> the node is only released after both the error and success cases<br /> are handled appropriately, preventing potential resource issues.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.15 (including) 6.15.8 (excluding)
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc6:*:*:*:*:*:*