CVE-2025-38542

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

State
Published
Severity
7.8 High
Published
Aug 16, 2025
Updated
Aug 5, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d to before b92bedf71f25303e203a4e657489d76691a58119Affected
  • c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d to before a7852b01793669248dce0348d14df89e77a32afdAffected
  • c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d to before b2f5dfa87367fdce9f8b995bc6c38f64f9ea2c90Affected
  • c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d to before d2e9f50f0bdad73b64a871f25186b899624518c4Affected
  • c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d to before 4a17370da6e476d3d275534e9e9cd2d02c57ca46Affected
  • c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d to before 473f3eadfc73b0fb6d8dee5829d19a5772e387f7Affected
  • c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d to before 64124cf0aab0dd1e18c0fb5ae66e45741e727f8bAffected
  • c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d to before 711c80f7d8b163d3ecd463cd96f07230f488e750Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 5.4.296 through 5.4.*Not affected
  • 5.10.240 through 5.10.*Not affected
  • 5.15.189 through 5.15.*Not affected
  • 6.1.146 through 6.1.*Not affected
  • 6.6.99 through 6.6.*Not affected
  • 6.12.39 through 6.12.*Not affected
  • 6.15.7 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.