CVE-2022-50418

MEDIUM

Linux Kernel 5.6-5.19.16, 5.20-6.0.2, 6.1+ - Use-After-Free in ath11k MHI Controller Registration

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 5.5
EPSS 0.0014
EPSS Percentile 3.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-401
Status published
Products (11)
linux/Kernel 5.20.0 - 6.0.3linux
linux/Kernel 5.6.0 - 5.19.17linux
Linux/Linux < 5.6
Linux/Linux 5.19.17 - 5.19.*
Linux/Linux 5.6
Linux/Linux 6.0.3 - 6.0.*
Linux/Linux 6.1
Linux/Linux d5c65159f2895379e11ca13f62feabe93278985d - 015ced9eb63b8b19cb725a1d592d150b60494ced
Linux/Linux d5c65159f2895379e11ca13f62feabe93278985d - 43e7c3505ec70db3d3c6458824d5fa40f62e3e7b
Linux/Linux d5c65159f2895379e11ca13f62feabe93278985d - 72ef896e80b6ec7cdc1dd42577045f8e7c9c32b3
... and 1 more
Published Sep 18, 2025
Tracked Since Feb 18, 2026