CVE-2024-35828: wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()
In the Linux kernel, the following vulnerability has been resolved:
wifi: libertas: fix some memleaks in lbsallocatecmdbuffer()
In the for statement of lbsallocatecmdbuffer(), if the allocation of cmdarray[i].cmdbuf fails, both cmdarray and cmdarray[i].cmdbuf needs to be freed. Otherwise, there will be memleaks in lbsallocatecmdbuffer().
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-35828?
CVE-2024-35828 has a moderate severity level due to its potential to cause memory leaks in the Linux kernel.
How do I fix CVE-2024-35828?
To remediate CVE-2024-35828, update to the latest kernel versions recommended in the advisory, such as 5.10.223-1 or 6.1.123-1.
What systems are affected by CVE-2024-35828?
CVE-2024-35828 impacts various versions of the Linux kernel between 2.6.22 and 6.8.2.
What kind of vulnerability is CVE-2024-35828?
CVE-2024-35828 is a memory leak vulnerability occurring during command buffer allocation in the Linux kernel.
Who is responsible for addressing CVE-2024-35828?
It is the responsibility of system administrators and maintainers to apply the necessary updates for CVE-2024-35828.