CVE-2022-50418

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50418
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50418.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50418
Downstream
Published
2025-09-18T16:15:45Z
Modified
2025-09-19T16:00:27Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

wifi: ath11k: mhi: fix potential memory leak in ath11kmhiregister()

mhialloccontroller() allocates a memory space for mhictrl. When gets some error, mhictrl should be freed with mhifreecontroller(). But when ath11kmhireadaddrfromdt() fails, the function returns without calling mhifree_controller(), which will lead to a memory leak.

We can fix it by calling mhifreecontroller() when ath11kmhireadaddrfrom_dt() fails.

References

Affected packages