Bug 2396520 (CVE-2022-50418) - CVE-2022-50418 kernel: wifi: ath11k: mhi: fix potential memory leak in ath11k_mhi_register()
Summary: CVE-2022-50418 kernel: wifi: ath11k: mhi: fix potential memory leak in ath11k...
Keywords:
Status: NEW
Alias: CVE-2022-50418
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-18 17:02 UTC by OSIDB Bzimport
Modified: 2025-09-19 14:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-18 17:02:59 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.