CVE-2024-35828

Source
https://cve.org/CVERecord?id=CVE-2024-35828
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35828.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-35828
Downstream
Related
Published
2024-05-17T13:41:12.702Z
Modified
2026-05-28T03:53:38.131450322Z
Summary
wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()
Details

In the Linux kernel, the following vulnerability has been resolved:

wifi: libertas: fix some memleaks in lbsallocatecmd_buffer()

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35828.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
876c9d3aeb989cf1961f2c228d309ba5dcfb1172
Fixed
96481624fb5a6319079fb5059e46dbce43a90186
Fixed
bea9573c795acec5614d4ac2dcc7b3b684cea5bf
Fixed
f0dd27314c7afe34794c2aa19dd6f2d30eb23bc7
Fixed
e888c4461e109f7b93c3522afcbbaa5a8fdf29d2
Fixed
4d99d267da3415db2124029cb5a6d2d955ca43f9
Fixed
da10f6b7918abd5b4bc5c9cb66f0fc6763ac48f3
Fixed
d219724d4b0ddb8ec7dfeaed5989f23edabaf591
Fixed
8e243ac649c10922a6b4855170eaefe4c5b3faab
Fixed
5f0e4aede01cb01fa633171f0533affd25328c3a

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35828.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.22
Fixed
4.19.311
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.273
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.214
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.153
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.83
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.23
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.7.11
Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.8.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35828.json"