CVE-2022-50418
Last modified
CVE-2022-50418 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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(). EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.6, < 5.19.17 |
| Linux | Linux Kernel | >= 6.0, < 6.0.3 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-50418?
How severe is CVE-2022-50418?
How do I fix CVE-2022-50418?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-50412In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50413In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50414In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50415In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50416In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50417In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50419In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50420In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50421In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50422In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50423In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50424In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-50418?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
