CVE-2022-50418
BaseFortify
Publication date: 2025-09-18
Last updated on: 2025-12-12
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.6 (inc) to 5.19.17 (exc) |
| linux | linux_kernel | From 6.0 (inc) to 6.0.3 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-401 | The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a potential memory leak in the Linux kernel's ath11k wireless driver. Specifically, when the function ath11k_mhi_read_addr_from_dt() fails, it does not free allocated memory (mhi_ctrl), leading to a memory leak. The issue arises because mhi_alloc_controller() allocates memory, but if an error occurs, the allocated memory should be freed by mhi_free_controller(), which was not done in this failure case.
How can this vulnerability impact me? :
The memory leak caused by this vulnerability can lead to increased memory usage over time, potentially degrading system performance or causing system instability if the leak is significant and persistent.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version where the fix for the memory leak in ath11k_mhi_register() is applied. This fix ensures that mhi_free_controller() is called properly when ath11k_mhi_read_addr_from_dt() fails, preventing the memory leak.