# CVE-2025-38542: net: appletalk: Fix device refcount leak in atrtr_create()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-08-16T11:22:16.689Z
- Modified: 2026-08-05T12:02:46.709Z
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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; 2.6.12 (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.*; from 6.12.39 up to 6.12.*; from 6.15.7 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 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; 6.16
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/b92bedf71f25303e203a4e657489d76691a58119> (patch)
- <https://git.kernel.org/stable/c/a7852b01793669248dce0348d14df89e77a32afd> (patch)
- <https://git.kernel.org/stable/c/b2f5dfa87367fdce9f8b995bc6c38f64f9ea2c90> (patch)
- <https://git.kernel.org/stable/c/d2e9f50f0bdad73b64a871f25186b899624518c4> (patch)
- <https://git.kernel.org/stable/c/4a17370da6e476d3d275534e9e9cd2d02c57ca46> (patch)
- <https://git.kernel.org/stable/c/473f3eadfc73b0fb6d8dee5829d19a5772e387f7> (patch)
- <https://git.kernel.org/stable/c/64124cf0aab0dd1e18c0fb5ae66e45741e727f8b> (patch)
- <https://git.kernel.org/stable/c/711c80f7d8b163d3ecd463cd96f07230f488e750> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2025-38542](https://www.cve.org/CVERecord?id=CVE-2025-38542), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-38542](https://nvd.nist.gov/vuln/detail/CVE-2025-38542), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-38542 · Whole record: https://cve.day/CVE-2025-38542.json · Rebuilt by cve.day 2026-11-25T22:59:02.636Z
