Affected versions
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer() In the for statement of lbs_allocate_cmd_buffer(), if the allocation of cmdarray[i].cmdbuf fails, both cmdarray and cmdarray[i].cmdbuf needs to be freed. Otherwise, there will be memleaks in lbs_allocate_cmd_buffer().
A memory leak vulnerability was found in the libertas driver in the Linux kernel's WiFi subsystem. This issue arises from improper handling of memory in the lbs_allocate_cmd_buffer() function, which can lead to memory leaks.

