CVE-2025-38536: net: airoha: fix potential use-after-free in airoha_npu_get()

Published Aug 16, 2025
·
Updated

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

net: airoha: fix potential use-after-free in airohanpuget()

np->name was being used after calling ofnodeput(np), which releases the node and can lead to a use-after-free bug. Previously, ofnodeput(np) was called unconditionally after offinddevicebynode(np), which could result in a use-after-free if pdev is NULL.

This patch moves ofnodeput(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.

Affected Software

8 affected components
Linux Kernel
Linux Linux kernel>=6.15<6.15.8
Linux Linux kernel=6.16-rc1
Linux Linux kernel=6.16-rc2
Linux Linux kernel=6.16-rc3
Linux Linux kernel=6.16-rc4
Linux Linux kernel=6.16-rc5
Linux Linux kernel=6.16-rc6

Event History

Aug 16, 2025
CVE Published
via MITRE·11:12 AM
Data Sourced
via MITRE·11:12 AM
DescriptionSeverity
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38536?

CVE-2025-38536 has a medium severity level due to the potential for a use-after-free vulnerability in the Linux kernel.

2

How can I fix CVE-2025-38536?

To fix CVE-2025-38536, update to the latest version of the Linux kernel where the vulnerability has been resolved.

3

Which versions of the Linux kernel are affected by CVE-2025-38536?

CVE-2025-38536 affects specific versions of the Linux kernel that include the vulnerable airoha driver.

4

What could happen if CVE-2025-38536 is exploited?

Exploitation of CVE-2025-38536 could potentially lead to denial of service or arbitrary code execution.

5

Who is responsible for resolving CVE-2025-38536?

The Linux kernel maintainers are responsible for addressing CVE-2025-38536 and releasing appropriate patches to fix the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203