{"id":"CVE-2024-35828","aliases":["CVE-2024-35828"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: wifi: libertas: arreglados algunas memleaks en lbs_allocate_cmd_buffer() En la declaración for de lbs_allocate_cmd_buffer(), si falló la asignación de cmdarray[i].cmdbuf, tanto cmdarray como cmdarray[i] Es necesario liberar ].cmdbuf. De lo contrario, habrá fugas de memoria en lbs_allocate_cmd_buffer().","source":"nvd"}],"published":"2024-05-17T13:41:12.702Z","modified":"2026-10-15T01:17:48.333Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"876c9d3aeb989cf1961f2c228d309ba5dcfb1172","fixed":"96481624fb5a6319079fb5059e46dbce43a90186","status":"affected"},{"type":"git","introduced":"876c9d3aeb989cf1961f2c228d309ba5dcfb1172","fixed":"bea9573c795acec5614d4ac2dcc7b3b684cea5bf","status":"affected"},{"type":"git","introduced":"876c9d3aeb989cf1961f2c228d309ba5dcfb1172","fixed":"f0dd27314c7afe34794c2aa19dd6f2d30eb23bc7","status":"affected"},{"type":"git","introduced":"876c9d3aeb989cf1961f2c228d309ba5dcfb1172","fixed":"e888c4461e109f7b93c3522afcbbaa5a8fdf29d2","status":"affected"},{"type":"git","introduced":"876c9d3aeb989cf1961f2c228d309ba5dcfb1172","fixed":"4d99d267da3415db2124029cb5a6d2d955ca43f9","status":"affected"},{"type":"git","introduced":"876c9d3aeb989cf1961f2c228d309ba5dcfb1172","fixed":"da10f6b7918abd5b4bc5c9cb66f0fc6763ac48f3","status":"affected"},{"type":"git","introduced":"876c9d3aeb989cf1961f2c228d309ba5dcfb1172","fixed":"d219724d4b0ddb8ec7dfeaed5989f23edabaf591","status":"affected"},{"type":"git","introduced":"876c9d3aeb989cf1961f2c228d309ba5dcfb1172","fixed":"8e243ac649c10922a6b4855170eaefe4c5b3faab","status":"affected"},{"type":"git","introduced":"876c9d3aeb989cf1961f2c228d309ba5dcfb1172","fixed":"5f0e4aede01cb01fa633171f0533affd25328c3a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.22","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.22","status":"unaffected"},{"type":"semver","introduced":"4.19.311","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.273","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.214","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.153","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.83","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.23","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.11","lastAffected":"6.7.*","status":"unaffected"},{"type":"semver","introduced":"6.8.2","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.22","fixed":"4.19.311"},{"status":"affected","introduced":"4.20","fixed":"5.4.273"},{"status":"affected","introduced":"5.5","fixed":"5.10.214"},{"status":"affected","introduced":"5.11","fixed":"5.15.153"},{"status":"affected","introduced":"5.16","fixed":"6.1.83"},{"status":"affected","introduced":"6.2","fixed":"6.6.23"},{"status":"affected","introduced":"6.7","fixed":"6.7.11"},{"status":"affected","introduced":"6.8","fixed":"6.8.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/96481624fb5a6319079fb5059e46dbce43a90186","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bea9573c795acec5614d4ac2dcc7b3b684cea5bf","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0dd27314c7afe34794c2aa19dd6f2d30eb23bc7","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e888c4461e109f7b93c3522afcbbaa5a8fdf29d2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4d99d267da3415db2124029cb5a6d2d955ca43f9","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da10f6b7918abd5b4bc5c9cb66f0fc6763ac48f3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d219724d4b0ddb8ec7dfeaed5989f23edabaf591","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e243ac649c10922a6b4855170eaefe4c5b3faab","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5f0e4aede01cb01fa633171f0533affd25328c3a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-20T14:12:48.621Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-35828","url":"https://www.cve.org/CVERecord?id=CVE-2024-35828","licence":"CVE Terms of Use","modified":"2026-10-15T00:40:59.346Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-35828","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35828","licence":"Public domain","modified":"2026-10-15T01:17:48.333Z"}],"updatedAt":"2026-11-25T22:58:40.530Z","epss":{"score":0.00225,"percentile":0.1402,"date":"2026-12-01T12:00:22.000Z"}}