CVE-2022-50418
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
18/09/2025
Last modified:
19/09/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
wifi: ath11k: mhi: fix potential memory leak in ath11k_mhi_register()<br />
<br />
mhi_alloc_controller() allocates a memory space for mhi_ctrl. When gets<br />
some error, mhi_ctrl should be freed with mhi_free_controller(). But<br />
when ath11k_mhi_read_addr_from_dt() fails, the function returns without<br />
calling mhi_free_controller(), which will lead to a memory leak.<br />
<br />
We can fix it by calling mhi_free_controller() when<br />
ath11k_mhi_read_addr_from_dt() fails.