Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net: airoha: fix potential use-after-free in airoha_npu_get() np->name was being used after calling of_node_put(np), which releases the node and can lead to a use-after-free bug. Previously, of_node_put(np) was called unconditionally after of_find_device_by_node(np), which could result in a use-after-free if pdev is NULL. This patch moves of_node_put(np) after the error check to ensure the node is only released after both the error and success cases are handled appropriately, preventing potential resource issues.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.15, < 6.15.8 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/3cd582e7d0787506990ef0180405eb6224fa90a6Patch
- https://git.kernel.org/stable/c/df6bf96b41e547e350667bc4c143be53646d070dPatch
FAQ
What is CVE-2025-38536?
CVE-2025-38536 is a vulnerability with a CVSS score of 7.8 (HIGH). In the Linux kernel, the following vulnerability has been resolved: net: airoha: fix potential use-after-free in airoha_npu_get() np->name was being used after calling of_node_put(np), which release...
How severe is CVE-2025-38536?
CVE-2025-38536 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-38536?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.