CVE-2025-38536

Source
https://cve.org/CVERecord?id=CVE-2025-38536
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38536.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38536
Downstream
Published
2025-08-16T11:12:28Z
Modified
2026-08-12T03:51:23Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
net: airoha: fix potential use-after-free in airoha_npu_get()
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38536.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
23290c7bc190def4e1ca61610992d9b7c32e33f3
Fixed
df6bf96b41e547e350667bc4c143be53646d070d
Fixed
3cd582e7d0787506990ef0180405eb6224fa90a6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38536.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.15.0
Fixed
6.15.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38536.json"