CVE-2024-35828

published 17 May 2024 · updated 15 Oct 2026

wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4d99d267da3415db2124029cb5a6d2d955ca43f9, Kernel 5f0e4aede01cb01fa633171f0533affd25328c3a, Kernel 8e243ac649c10922a6b4855170eaefe4c5b3faab and 6 more.

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().

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.22, >=876c9d3aeb989cf1961f2c228d309ba5dcfb1172 <4d99d267da3415db2124029cb5a6d2d955ca43f9, >=876c9d3aeb989cf1961f2c228d309ba5dcfb1172 <5f0e4aede01cb01fa633171f0533affd25328c3a, >=876c9d3aeb989cf1961f2c228d309ba5dcfb1172 <8e243ac649c10922a6b4855170eaefe4c5b3faab, >=876c9d3aeb989cf1961f2c228d309ba5dcfb1172 <96481624fb5a6319079fb5059e46dbce43a90186, >=876c9d3aeb989cf1961f2c228d309ba5dcfb1172 <bea9573c795acec5614d4ac2dcc7b3b684cea5bf, >=876c9d3aeb989cf1961f2c228d309ba5dcfb1172 <d219724d4b0ddb8ec7dfeaed5989f23edabaf591, >=876c9d3aeb989cf1961f2c228d309ba5dcfb1172 <da10f6b7918abd5b4bc5c9cb66f0fc6763ac48f3, >=876c9d3aeb989cf1961f2c228d309ba5dcfb1172 <e888c4461e109f7b93c3522afcbbaa5a8fdf29d2, >=876c9d3aeb989cf1961f2c228d309ba5dcfb1172 <f0dd27314c7afe34794c2aa19dd6f2d30eb23bc74d99d267da3415db2124029cb5a6d2d955ca43f9, 5f0e4aede01cb01fa633171f0533affd25328c3a, 8e243ac649c10922a6b4855170eaefe4c5b3faab, 96481624fb5a6319079fb5059e46dbce43a90186, bea9573c795acec5614d4ac2dcc7b3b684cea5bf, d219724d4b0ddb8ec7dfeaed5989f23edabaf591, da10f6b7918abd5b4bc5c9cb66f0fc6763ac48f3, e888c4461e109f7b93c3522afcbbaa5a8fdf29d2, f0dd27314c7afe34794c2aa19dd6f2d30eb23bc7

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-35828 severity on Zeptric[![CVE-2024-35828](https://zeptric.io/badge/cve/CVE-2024-35828.svg)](https://zeptric.io/cve/CVE-2024-35828)