CVE-2025-38542: net: appletalk: Fix device refcount leak in atrtr_create()
In the Linux kernel, the following vulnerability has been resolved:
net: appletalk: Fix device refcount leak in atrtr_create()
When updating an existing route entry in atrtr_create(), the old device
reference was not being released before assigning the new device,
leading to a device refcount leak. Fix this by calling dev_put() to
release the old device reference before holding the new one.
Security readout for executives and security teams
Plain-English summary
A Linux AppleTalk routing flaw can leak a network-device reference when an existing route is updated. Repeated triggering may prevent resources from being released. The supplied rating is high, but the evidence does not establish remote reachability, observed exploitation, or the practical path from this leak to confidentiality and integrity impact.
Executive priority
Prioritize patch assessment for multi-user or otherwise untrusted Linux hosts using AppleTalk. Treat it as a scheduled high-severity kernel update, escalating where local users can reach route management. Internet-facing status alone does not increase urgency because the supplied evidence indicates local access and provides no active-exploitation signal.
Technical view
In atrtr_create(), replacing an existing route’s device failed to release the old device reference before retaining the new one. Stable-kernel fixes add dev_put() before reassignment. The supplied CVSS 3.1 score is 7.8 with local access, low complexity, low privileges, no user interaction, and high confidentiality, integrity, and availability impacts.
Likely exposure
Exposure concerns Linux systems running a listed affected kernel where the AppleTalk networking component is present and existing routes can be updated. The supplied data lists releases from 2.6.12 through 6.16, but does not clearly define every vulnerable range. Systems without reachable AppleTalk route-management functionality likely have reduced exposure.
Exploitation context
The supplied CVSS vector describes local, low-privileged access; it does not support remote exploitation. CISA KEV status is false, and no supplied source reports active exploitation or a public exploit. Required permissions and the reliability or security consequences of repeatedly triggering the reference leak are not fully documented in the bundle.
Researcher notes
The root cause and correction are specific: an old device reference is not released during route replacement, and dev_put() restores reference balance. The bundle provides multiple stable-branch commits but no reproduction details, affected-range mapping, CWE, crash evidence, or explanation supporting the CVSS high confidentiality and integrity impacts. Those gaps warrant vendor-specific verification.
Mitigation direction
Install a vendor-supported kernel containing the cited stable fix.
Follow distribution advisories for exact package versions and reboot requirements.
Where operationally acceptable, disable or avoid loading unused AppleTalk functionality.
Restrict local access and route-management privileges pending remediation.
Validation and detection
Inventory kernel versions and compare them with current vendor advisories.
Determine whether AppleTalk support is built, loaded, or operationally required.
Confirm the installed kernel contains the applicable cited fix commit.
After updating, verify the fixed kernel is running following any required reboot.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-38542 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
11Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.