CVE-2025-38542
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d before b92bedf71f25303e203a4e657489d76691a58119, from c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d before a7852b01793669248dce0348d14df89e77a32afd, from c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d before b2f5dfa87367fdce9f8b995bc6c38f64f9ea2c90, from c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d before d2e9f50f0bdad73b64a871f25186b899624518c4, from c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d before 4a17370da6e476d3d275534e9e9cd2d02c57ca46, from c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d before 473f3eadfc73b0fb6d8dee5829d19a5772e387f7, from c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d before 64124cf0aab0dd1e18c0fb5ae66e45741e727f8b, from c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d before 711c80f7d8b163d3ecd463cd96f07230f488e750 and 1 more
Not affected: before 2.6.12, from 5.4.296 up to 5.4.*, from 5.10.240 up to 5.10.*, from 5.15.189 up to 5.15.*, from 6.1.146 up to 6.1.*, from 6.6.99 up to 6.6.*
CVE List
linux linux_kernelfrom 2.6.13 before 5.4.296, from 5.5 before 5.10.240, from 5.11 before 5.15.189, from 5.16 before 6.1.146, from 6.2 before 6.6.99, from 6.7 before 6.12.39, from 6.13 before 6.15.7, 2.6.12 and 1 moreNVD
debian debian_linux11.0NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: appletalk: Se corrige la fuga de referencia del dispositivo en atrtr_create(). Al actualizar una entrada de ruta existente en atrtr_create(), la referencia del dispositivo anterior no se liberaba antes de asignar el nuevo dispositivo, lo que provocaba una fuga de referencia del dispositivo. Para solucionar esto, llame a dev_put() para liberar la referencia del dispositivo anterior antes de guardar la nueva.

References

https://git.kernel.org/stable/c/b92bedf71f25303e203a4e657489d76691a58119patch
https://git.kernel.org/stable/c/a7852b01793669248dce0348d14df89e77a32afdpatch
https://git.kernel.org/stable/c/b2f5dfa87367fdce9f8b995bc6c38f64f9ea2c90patch
https://git.kernel.org/stable/c/d2e9f50f0bdad73b64a871f25186b899624518c4patch
https://git.kernel.org/stable/c/4a17370da6e476d3d275534e9e9cd2d02c57ca46patch
https://git.kernel.org/stable/c/473f3eadfc73b0fb6d8dee5829d19a5772e387f7patch
https://git.kernel.org/stable/c/64124cf0aab0dd1e18c0fb5ae66e45741e727f8bpatch
https://git.kernel.org/stable/c/711c80f7d8b163d3ecd463cd96f07230f488e750patch
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlmailing-list, third-party-advisory
https://lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlmailing-list, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-38542 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-38542 changed 2026-07-30Public domain