All reports
Medium

kernel: wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-35828

Probability of exploitation in the next 30 days: 0.23%

FIRST EPSS · 2026-11-21

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.