{"id":"CVE-2024-35828","summary":"wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()\n\nIn the for statement of lbs_allocate_cmd_buffer(), if the allocation of\ncmdarray[i].cmdbuf fails, both cmdarray and cmdarray[i].cmdbuf needs to\nbe freed. Otherwise, there will be memleaks in lbs_allocate_cmd_buffer().","modified":"2026-03-20T12:36:39.907404Z","published":"2024-05-17T13:41:12.702Z","related":["SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2135-1","SUSE-SU-2024:2190-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2493-1","SUSE-SU-2024:2561-1","SUSE-SU-2024:2901-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20249-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35828.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4d99d267da3415db2124029cb5a6d2d955ca43f9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5f0e4aede01cb01fa633171f0533affd25328c3a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8e243ac649c10922a6b4855170eaefe4c5b3faab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/96481624fb5a6319079fb5059e46dbce43a90186"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bea9573c795acec5614d4ac2dcc7b3b684cea5bf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d219724d4b0ddb8ec7dfeaed5989f23edabaf591"},{"type":"WEB","url":"https://git.kernel.org/stable/c/da10f6b7918abd5b4bc5c9cb66f0fc6763ac48f3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e888c4461e109f7b93c3522afcbbaa5a8fdf29d2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f0dd27314c7afe34794c2aa19dd6f2d30eb23bc7"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35828.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35828"},{"type":"PACKAGE","url":"https://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"}}],"schema_version":"1.7.5"}