{"id":"CVE-2024-35828","published":"2024-05-17T13:41:12Z","modified":"2026-10-15T00:40:59Z","title":"wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()","vendor":"Linux","product":"Linux","tier":"tail","description":{"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().","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00225,"percentile":0.13413,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/96481624fb5a6319079fb5059e46dbce43a90186","tags":[]},{"url":"https://git.kernel.org/stable/c/bea9573c795acec5614d4ac2dcc7b3b684cea5bf","tags":[]},{"url":"https://git.kernel.org/stable/c/f0dd27314c7afe34794c2aa19dd6f2d30eb23bc7","tags":[]},{"url":"https://git.kernel.org/stable/c/e888c4461e109f7b93c3522afcbbaa5a8fdf29d2","tags":[]},{"url":"https://git.kernel.org/stable/c/4d99d267da3415db2124029cb5a6d2d955ca43f9","tags":[]},{"url":"https://git.kernel.org/stable/c/da10f6b7918abd5b4bc5c9cb66f0fc6763ac48f3","tags":[]},{"url":"https://git.kernel.org/stable/c/d219724d4b0ddb8ec7dfeaed5989f23edabaf591","tags":[]},{"url":"https://git.kernel.org/stable/c/8e243ac649c10922a6b4855170eaefe4c5b3faab","tags":[]},{"url":"https://git.kernel.org/stable/c/5f0e4aede01cb01fa633171f0533affd25328c3a","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["x_transferred"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[]}],"priority":{"score":2.7,"factors":[{"name":"EPSS percentile","points":2.68}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 96481624fb5a6319079fb5059e46dbce43a90186",">= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < bea9573c795acec5614d4ac2dcc7b3b684cea5bf",">= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < f0dd27314c7afe34794c2aa19dd6f2d30eb23bc7",">= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < e888c4461e109f7b93c3522afcbbaa5a8fdf29d2",">= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 4d99d267da3415db2124029cb5a6d2d955ca43f9",">= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < da10f6b7918abd5b4bc5c9cb66f0fc6763ac48f3",">= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < d219724d4b0ddb8ec7dfeaed5989f23edabaf591",">= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 8e243ac649c10922a6b4855170eaefe4c5b3faab",">= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 5f0e4aede01cb01fa633171f0533affd25328c3a"]},{"vendor":"Linux","product":"Linux","versions":["2.6.22"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-20T14:12:48.621996Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-35740","exploited":false,"provenance":"source"}}