Memory Leak Vulnerability in Linux Kernel's ath11k Module
Summary
CVE-2022-50418: In the Linux kernel, the following vulnerability has been resolved: wifi: ath11k: mhi: fix potential memory leak in ath11k_mhi_register() mhi_alloc_controller() allocates a memory space for mhi_ctrl. Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The Linux kernel is the core component of many operating systems, managing hardware and system resources. It provides essential services for all other parts of the operating system. The ath11k module is responsible for supporting certain Wi-Fi chipsets, enabling wireless communication. This module is crucial for maintaining stable and efficient network connections. However, it has been found to contain a vulnerability that can lead to memory leaks, potentially affecting system performance and stability.
Vulnerability Detail
In the Linux kernel, specifically within the ath11k module, a memory leak occurs due to improper error handling in the function ath11k_mhi_register(). When the function mhi_alloc_controller() allocates memory for mhi_ctrl and subsequently encounters an error, it fails to free the allocated memory if ath11k_mhi_read_addr_from_dt() fails. This oversight can lead to increased memory usage over time, which may degrade system performance and lead to crashes if the memory is exhausted.
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 patch as soon as it is available.
Conclusion
The CVE-2022-50418 vulnerability in the Linux kernel's ath11k module poses a risk of memory leaks that can affect system performance. It is essential to update to the patched version to resolve this issue and maintain system stability.
See every vulnerability recorded for linux →
FAQ
CVE-2022-50418 is a vulnerability in the Linux kernel's ath11k module that can lead to a memory leak due to improper error handling.
This vulnerability can lead to increased memory consumption, potentially degrading system performance and causing crashes if memory resources are exhausted.
Yes, a patch is available in version 6.0.3-1 of the Linux package. It is recommended to update to this version or later.
You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.
While there are no specific workarounds, it is crucial to monitor your system's memory usage and apply the patch as soon as possible to mitigate risks.
Related vulnerabilities
Recent vulnerabilities recorded for linux.