wifi: ath11k: mhi: fix potential memory leak in ath11k_mhi_register()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 015ced9eb63b8b19cb725a1d592d150b60494ced, Kernel 43e7c3505ec70db3d3c6458824d5fa40f62e3e7b and Kernel 72ef896e80b6ec7cdc1dd42577045f8e7c9c32b3.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.17, >=6ac04bdc5edb418787ab2040b1f922c23464c750 <015ced9eb63b8b19cb725a1d592d150b60494ced, >=6ac04bdc5edb418787ab2040b1f922c23464c750 <43e7c3505ec70db3d3c6458824d5fa40f62e3e7b, >=6ac04bdc5edb418787ab2040b1f922c23464c750 <72ef896e80b6ec7cdc1dd42577045f8e7c9c32b3 | 015ced9eb63b8b19cb725a1d592d150b60494ced, 43e7c3505ec70db3d3c6458824d5fa40f62e3e7b, 72ef896e80b6ec7cdc1dd42577045f8e7c9c32b3 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket