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. When gets some error, mhi_ctrl should be freed with mhi_free_controller(). But when ath11k_mhi_read_addr_from_dt() fails, the function returns without calling mhi_free_controller(), which will lead to a memory leak. We can fix it by calling mhi_free_controller() when ath11k_mhi_read_addr_from_dt() fails.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

12 Dec 2025, 19:40

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/015ced9eb63b8b19cb725a1d592d150b60494ced - () https://git.kernel.org/stable/c/015ced9eb63b8b19cb725a1d592d150b60494ced - Patch
References () https://git.kernel.org/stable/c/43e7c3505ec70db3d3c6458824d5fa40f62e3e7b - () https://git.kernel.org/stable/c/43e7c3505ec70db3d3c6458824d5fa40f62e3e7b - Patch
References () https://git.kernel.org/stable/c/72ef896e80b6ec7cdc1dd42577045f8e7c9c32b3 - () https://git.kernel.org/stable/c/72ef896e80b6ec7cdc1dd42577045f8e7c9c32b3 - Patch
First Time Linux
Linux linux Kernel
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-401
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

18 Sep 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-09-18 16:15

Updated : 2026-01-14 20:15


NVD link : CVE-2022-50418

Mitre link : CVE-2022-50418

CVE.ORG link : CVE-2022-50418


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime