CVE-2024-35828
Assigner: Linux
Published: 2024-05-17T13:41:12.702Z
State: PUBLISHED
descriptions: value: 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: product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 876c9d3aeb98
lessThan: 96481624fb5a
status: affected
versionType: git
version: 876c9d3aeb98
lessThan: bea9573c795a
status: affected
versionType: git
version: 876c9d3aeb98
lessThan: f0dd27314c7a
status: affected
versionType: git
version: 876c9d3aeb98
lessThan: e888c4461e10
status: affected
versionType: git
version: 876c9d3aeb98
lessThan: 4d99d267da34
status: affected
versionType: git
version: 876c9d3aeb98
lessThan: da10f6b7918a
status: affected
versionType: git
version: 876c9d3aeb98
lessThan: d219724d4b0d
status: affected
versionType: git
version: 876c9d3aeb98
lessThan: 8e243ac649c1
status: affected
versionType: git
version: 876c9d3aeb98
lessThan: 5f0e4aede01c
status: affected
versionType: git
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 2.6.22
status: affected
version: 0
lessThan: 2.6.22
status: unaffected
versionType: custom
version: 4.19.311
lessThanOrEqual: 4.19.*
status: unaffected
versionType: custom
version: 5.4.273
lessThanOrEqual: 5.4.*
status: unaffected
versionType: custom
version: 5.10.214
lessThanOrEqual: 5.10.*
status: unaffected
versionType: custom
version: 5.15.153
lessThanOrEqual: 5.15.*
status: unaffected
versionType: custom
version: 6.1.83
lessThanOrEqual: 6.1.*
status: unaffected
versionType: custom
version: 6.6.23
lessThanOrEqual: 6.6.*
status: unaffected
versionType: custom
version: 6.7.11
lessThanOrEqual: 6.7.*
status: unaffected
versionType: custom
version: 6.8.2
lessThanOrEqual: 6.8.*
status: unaffected
versionType: custom
version: 6.9
lessThanOrEqual: *
status: unaffected
versionType: original_commit_for_fix
title: wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()
x_generator: engine: bippy-d175d3acf727