CVE-2025-38542

net: appletalk: Fix device refcount leak in atrtr_create()

MEDIUM
5.5
CVSS Score
Published: August 16, 2025 at 11:22 AM UTC
Updated: August 5, 2026 at 12:44 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.12 ≤ v < 5.10.2402.6.12 ≤ v < 5.15.1892.6.12 ≤ v < 5.4.2962.6.12 ≤ v < 6.1.1462.6.12 ≤ v < 6.12.392.6.12 ≤ v < 6.15.72.6.12 ≤ v < 6.162.6.12 ≤ v < 6.6.992.6.13 ≤ v < 5.4.2965.11 ≤ v < 5.15.1895.16 ≤ v < 6.1.1465.5 ≤ v < 5.10.2406.13 ≤ v < 6.15.76.2 ≤ v < 6.6.996.7 ≤ v < 6.12.392.6.122.6.12 rc32.6.12 rc42.6.12 rc56.16 rc16.16 rc26.16 rc36.16 rc46.16 rc5c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d
Vendor states this is fixed in 473f3eadfc73b0fb6d8dee5829d19a5772e387f7 (fixed)
Vendor states this is fixed in 4a17370da6e476d3d275534e9e9cd2d02c57ca46 (fixed)
Vendor states this is fixed in 64124cf0aab0dd1e18c0fb5ae66e45741e727f8b (fixed)
Vendor states this is fixed in 711c80f7d8b163d3ecd463cd96f07230f488e750 (fixed)
Vendor states this is fixed in a7852b01793669248dce0348d14df89e77a32afd (fixed)
Vendor states this is fixed in b2f5dfa87367fdce9f8b995bc6c38f64f9ea2c90 (fixed)
Vendor states this is fixed in b92bedf71f25303e203a4e657489d76691a58119 (fixed)
Vendor states this is fixed in d2e9f50f0bdad73b64a871f25186b899624518c4 (fixed)
Vendor states this is fixed in 2.6.12 (unaffected)
Vendor states this is fixed in 5.10.240 (unaffected)
Vendor states this is fixed in 5.15.189 (unaffected)
Vendor states this is fixed in 5.4.296 (unaffected)
Vendor states this is fixed in 6.1.146 (unaffected)
Vendor states this is fixed in 6.12.39 (unaffected)
Vendor states this is fixed in 6.15.7 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.99 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/473f3eadfc73b0fb6d8dee5829d19a5772e387f7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4a17370da6e476d3d275534e9e9cd2d02c57ca46
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/64124cf0aab0dd1e18c0fb5ae66e45741e727f8b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/711c80f7d8b163d3ecd463cd96f07230f488e750
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a7852b01793669248dce0348d14df89e77a32afd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b2f5dfa87367fdce9f8b995bc6c38f64f9ea2c90
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b92bedf71f25303e203a4e657489d76691a58119
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d2e9f50f0bdad73b64a871f25186b899624518c4

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card