CVE-2024-35828
wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()
Mitigation
- Upgrade Linux to 5f0e4aede01cb01fa633171f0533affd25328c3a or later.
Who should check
- Anyone running Linux >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 96481624fb5a6319079fb5059e46dbce43a90186; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < bea9573c795acec5614d4ac2dcc7b3b684cea5bf; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < f0dd27314c7afe34794c2aa19dd6f2d30eb23bc7; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < e888c4461e109f7b93c3522afcbbaa5a8fdf29d2; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 4d99d267da3415db2124029cb5a6d2d955ca43f9; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < da10f6b7918abd5b4bc5c9cb66f0fc6763ac48f3; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < d219724d4b0ddb8ec7dfeaed5989f23edabaf591; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 8e243ac649c10922a6b4855170eaefe4c5b3faab; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 5f0e4aede01cb01fa633171f0533affd25328c3a
- Anyone running Linux 2.6.22
Vulnerability facts
- Affected
- Linux >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 96481624fb5a6319079fb5059e46dbce43a90186; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < bea9573c795acec5614d4ac2dcc7b3b684cea5bf; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < f0dd27314c7afe34794c2aa19dd6f2d30eb23bc7; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < e888c4461e109f7b93c3522afcbbaa5a8fdf29d2; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 4d99d267da3415db2124029cb5a6d2d955ca43f9; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < da10f6b7918abd5b4bc5c9cb66f0fc6763ac48f3; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < d219724d4b0ddb8ec7dfeaed5989f23edabaf591; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 8e243ac649c10922a6b4855170eaefe4c5b3faab; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 5f0e4aede01cb01fa633171f0533affd25328c3a; Linux 2.6.22
- Fixed in
- Linux 96481624fb5a6319079fb5059e46dbce43a90186, Linux 4d99d267da3415db2124029cb5a6d2d955ca43f9, Linux 8e243ac649c10922a6b4855170eaefe4c5b3faab, Linux 5f0e4aede01cb01fa633171f0533affd25328c3a
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- CWE
- CWE-401
- Modified
Description
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 96481624fb5a6319079fb5059e46dbce43a90186; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < bea9573c795acec5614d4ac2dcc7b3b684cea5bf; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < f0dd27314c7afe34794c2aa19dd6f2d30eb23bc7; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < e888c4461e109f7b93c3522afcbbaa5a8fdf29d2; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 4d99d267da3415db2124029cb5a6d2d955ca43f9; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < da10f6b7918abd5b4bc5c9cb66f0fc6763ac48f3; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < d219724d4b0ddb8ec7dfeaed5989f23edabaf591; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 8e243ac649c10922a6b4855170eaefe4c5b3faab; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 5f0e4aede01cb01fa633171f0533affd25328c3a | — | cvelist |
| Linux | 2.6.22 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-35828. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-35828.md Affected: Linux >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 96481624fb5a6319079fb5059e46dbce43a90186; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < bea9573c795acec5614d4ac2dcc7b3b684cea5bf; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < f0dd27314c7afe34794c2aa19dd6f2d30eb23bc7; >= 876c9d3aeb989cf1961f2c2… Fixed in: Linux 96481624fb5a6319079fb5059e46dbce43a90186, Linux 4d99d267da3415db2124029cb5a6d2d955ca43f9, Linux 8e243ac649c10922a6b4855170eaefe4c5b3faab, Linux 5f0e4aede01cb01fa633171f0533affd25328c3a Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/96481624fb5a6319079fb5059e46dbce43a90186
- https://git.kernel.org/stable/c/bea9573c795acec5614d4ac2dcc7b3b684cea5bf
- https://git.kernel.org/stable/c/f0dd27314c7afe34794c2aa19dd6f2d30eb23bc7
- https://git.kernel.org/stable/c/e888c4461e109f7b93c3522afcbbaa5a8fdf29d2
- https://git.kernel.org/stable/c/4d99d267da3415db2124029cb5a6d2d955ca43f9
- https://git.kernel.org/stable/c/da10f6b7918abd5b4bc5c9cb66f0fc6763ac48f3
- https://git.kernel.org/stable/c/d219724d4b0ddb8ec7dfeaed5989f23edabaf591
- https://git.kernel.org/stable/c/8e243ac649c10922a6b4855170eaefe4c5b3faab
- https://git.kernel.org/stable/c/5f0e4aede01cb01fa633171f0533affd25328c3a
FAQ
Is CVE-2024-35828 being exploited?
There is no confirmed exploitation: CVE-2024-35828 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-35828?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-35828?
Linux >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 96481624fb5a6319079fb5059e46dbce43a90186; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < bea9573c795acec5614d4ac2dcc7b3b684cea5bf; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < f0dd27314c7afe34794c2aa19dd6f2d30eb23bc7; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < e888c4461e109f7b93c3522afcbbaa5a8fdf29d2; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 4d99d267da3415db2124029cb5a6d2d955ca43f9; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < da10f6b7918abd5b4bc5c9cb66f0fc6763ac48f3; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < d219724d4b0ddb8ec7dfeaed5989f23edabaf591; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 8e243ac649c10922a6b4855170eaefe4c5b3faab; >= 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, < 5f0e4aede01cb01fa633171f0533affd25328c3a; Linux 2.6.22.
Is there a fix for CVE-2024-35828?
Yes. Fixed in Linux 96481624fb5a6319079fb5059e46dbce43a90186, Linux 4d99d267da3415db2124029cb5a6d2d955ca43f9, Linux 8e243ac649c10922a6b4855170eaefe4c5b3faab, Linux 5f0e4aede01cb01fa633171f0533affd25328c3a. Upgrade Linux to 5f0e4aede01cb01fa633171f0533affd25328c3a or later.
How do I check if I'm affected by CVE-2024-35828?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.