Memory Leak Vulnerability in Linux Kernel: ax25_dev Reference Count Issue

linux Updated 02 Oct 2025

Summary

19/06/2024
N/A
No i
Medium
5.5

CVE-2024-38602: In the Linux kernel, the following vulnerability has been resolved: ax25: Fix reference count leak issues of ax25_dev The ax25_addr_ax25dev() and ax25_dev_device_down() exist a reference count leak issue of the object "a... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware and software interaction. It is known for its robustness and flexibility, supporting a wide range of devices and architectures. However, vulnerabilities can arise, such as the recent memory leak issue related to the ax25_dev structure, which can lead to resource exhaustion and degraded system performance.

Vulnerability Detail

The vulnerability identified as CVE-2024-38602 involves a reference count leak in the ax25_dev structure within the Linux kernel. Specifically, the functions ax25_addr_ax25dev() and ax25_dev_device_down() fail to manage the reference count correctly, leading to memory leaks. In ax25_addr_ax25dev(), the reference count can be increased multiple times, while in ax25_dev_device_down(), the reference count is not decremented properly during device shutdown. This can result in memory not being released, potentially causing system instability and crashes over time.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the updates as soon as they are available.

Conclusion

The CVE-2024-38602 vulnerability in the Linux kernel poses a significant risk due to memory leaks caused by improper reference count management. It is crucial for users to update their systems to the latest versions to mitigate this risk and ensure system stability.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-38602 is a vulnerability in the Linux kernel that causes a memory leak due to improper reference count management in the ax25_dev structure.

This vulnerability can lead to memory leaks, which may cause your system to become unstable or crash over time due to resource exhaustion.

The vulnerability affects Linux kernel versions prior to the fixed versions specified for Debian 12 and 13.

You can use Vulert, which monitors open-source vulnerabilities in your software. By uploading your manifest file, you can check for vulnerabilities without needing to install any software.

The CVSS score for CVE-2024-38602 is 5.5, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback