CVE-2024-38602
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-38602 is a memory leak vulnerability discovered in the Linux kernel's AX.25 networking subsystem. The issue was identified in the ax25addrax25dev() and ax25devdevicedown() functions, where reference counting of the 'ax25dev' object was improperly handled. The vulnerability affects Linux kernel versions from 5.17 up to versions before 6.1.93, 6.2 through 6.6.33, 6.7 through 6.8.12, and 6.9 through 6.9.3 (NVD).

Technical details

The vulnerability stems from two specific reference counting issues in the AX.25 subsystem. In ax25addrax25dev(), the reference count of the 'ax25dev' object could be increased multiple times without proper management. Additionally, in ax25devdevicedown(), the reference count management was inconsistent - it was set to 1 in ax25devdeviceup() and increased when added to ax25dev_list, resulting in a count of 2, but the shutdown process would drop the count inconsistently. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The primary impact of this vulnerability is memory leaks in the Linux kernel. When exploited, it could lead to gradual system resource depletion, potentially affecting system stability and performance over time (Kernel Patch).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel. The fix involves adding a break statement in ax25addrax25dev() to prevent multiple reference count increases, and modifying the reference count management in ax25devdevice_down(). System administrators should update to patched kernel versions: 6.1.93 or later, 6.6.33 or later, 6.8.12 or later, or 6.9.3 or later (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-39730HIGH7.5
  • Linux KernelLinux Kernel
  • linux-aws
NoYesSep 07, 2025
CVE-2025-39732HIGH7
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesSep 07, 2025
CVE-2025-39726MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules
NoYesSep 05, 2025
CVE-2025-39727N/AN/A
  • Linux KernelLinux Kernel
  • linux-raspi
NoYesSep 07, 2025
CVE-2025-39725N/AN/A
  • Linux KernelLinux Kernel
  • kernel-firmware
NoYesSep 05, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management