CVE-2025-38542
net: appletalk: Fix device refcount leak in atrtr_create()
Check your servers for CVE-2025-38542
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38542 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.7% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, before b92bedf71f25303e203a4e657489d76691a58119 affected from c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, before a7852b01793669248dce0348d14df89e77a32afd affected from c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, before b2f5dfa87367fdce9f8b995bc6c38f64f9ea2c90 affected from c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, before d2e9f50f0bdad73b64a871f25186b899624518c4 affected from c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, before 4a17370da6e476d3d275534e9e9cd2d02c57ca46 affected from c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, before 473f3eadfc73b0fb6d8dee5829d19a5772e387f7 affected from c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, before 64124cf0aab0dd1e18c0fb5ae66e45741e727f8b affected from c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, before 711c80f7d8b163d3ecd463cd96f07230f488e750
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 5.4.296 up to and including 5.4.* unaffected from 5.10.240 up to and including 5.10.* unaffected from 5.15.189 up to and including 5.15.* unaffected from 6.1.146 up to and including 6.1.* unaffected from 6.6.99 up to and including 6.6.* unaffected from 6.12.39 up to and including 6.12.* unaffected from 6.15.7 up to and including 6.15.* unaffected 6.16 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38542 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38542
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38542
trivy image --scanners vuln IMAGE | grep CVE-2025-38542
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b92bedf71f25303e203a4e657489d76691a58119 git.kernel.org
- https://git.kernel.org/stable/c/a7852b01793669248dce0348d14df89e77a32afd git.kernel.org
- https://git.kernel.org/stable/c/b2f5dfa87367fdce9f8b995bc6c38f64f9ea2c90 git.kernel.org
- https://git.kernel.org/stable/c/d2e9f50f0bdad73b64a871f25186b899624518c4 git.kernel.org
- https://git.kernel.org/stable/c/4a17370da6e476d3d275534e9e9cd2d02c57ca46 git.kernel.org
- https://git.kernel.org/stable/c/473f3eadfc73b0fb6d8dee5829d19a5772e387f7 git.kernel.org
- https://git.kernel.org/stable/c/64124cf0aab0dd1e18c0fb5ae66e45741e727f8b git.kernel.org
- https://git.kernel.org/stable/c/711c80f7d8b163d3ecd463cd96f07230f488e750 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
Source: the record CVE-2025-38542 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse