Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38536

published high CVSS 3.1 · 7.8

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

Published
16 Aug 2025, 11:12:28 UTC
Updated
05 Aug 2026, 12:02:44 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux23290c7bc190def4e1ca61610992d9b7c32e33f3 to < df6bf96b41e547e350667bc4c143be53646d070d · 23290c7bc190def4e1ca61610992d9b7c32e33f3 to < 3cd582e7d0787506990ef0180405eb6224fa90a6 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.15.8 through 6.15.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is reached through the rtnetlink/tc flower hardware-offload configuration path (`ndo_setup_tc` → `airoha_ppe_setup_tc_block_cb`), which requires local access to issue netlink messages on the host. No remote peer data reaches `airoha_npu_get()`. AC:L - On an affected system the attacker triggers the faulty error path deterministically and repeatedly with a single `tc filter add ... flower` command — there is no race to win and no memory layout the attacker must guess to reach the dangling dereference. PR:L - Configuring tc clsact/flower offload on the GDM port requires CAP_NET_ADMIN, but the airoha netdevs are not netns-local and can be moved into a network namespace, where an unprivileged user obtains CAP_NET_ADMIN via `unshare -Urn`, so basic local user privileges suffice. UI:N - The attacker performs the entire sequence themselves via netlink; no victim action, no mount, and no interaction from another user is needed. S:U - The use-after-free occurs in kernel memory and its impact is confined to the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The freed `struct device_node` is dereferenced and the string at `np->name` is copied into the kernel log, so reallocated heap contents can be disclosed to userspace via dmesg — a use-after-free read primitive over kernel memory. I:H - Use-after-free of a slab object whose lifetime the attacker can influence through repeated triggering and heap grooming is treatable as a memory-corruption primitive; per kernel scoring practice a UAF is rated High for integrity. A:H - Dereferencing the released `device_node` and following its `name` pointer can fault on freed or unmapped memory, producing a kernel oops/panic on an embedded router with no recovery path.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 23290c7bc190def4e1ca61610992d9b7c32e33f3 to < df6bf96b41e547e350667bc4c143be53646d070d (affected · git)23290c7bc190def4e1ca61610992d9b7c32e33f3 to < 3cd582e7d0787506990ef0180405eb6224fa90a6 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.15 (affected)0 to < 6.15 (unaffected · semver)6.15.8 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
1ab3ad8f745e34625a934aeb02ae08afcd9cb32a9c40551aa63471d54c081a76
Ingested
23 Sep 2026, 08:46:47 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected