CVE-2024-35828: wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()

Published May 17, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

wifi: libertas: fix some memleaks in lbsallocatecmdbuffer()

In the for statement of lbsallocatecmdbuffer(), if the allocation of cmdarray[i].cmdbuf fails, both cmdarray and cmdarray[i].cmdbuf needs to be freed. Otherwise, there will be memleaks in lbsallocatecmdbuffer().

Affected Software

10 affected componentsFixes available
Linux Linux kernel>=2.6.22<4.19.311
Linux Linux kernel>=4.20<5.4.273
Linux Linux kernel>=5.5<5.10.214
Linux Linux kernel>=5.11<5.15.153
Linux Linux kernel>=5.16<6.1.83
Linux Linux kernel>=6.2<6.6.23
Linux Linux kernel>=6.7<6.7.11
Linux Linux kernel>=6.8<6.8.2
Debian Debian Linux=10.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

May 17, 2024
CVE Published
via MITRE·01:41 PM
Data Sourced
via MITRE·01:41 PM
Description
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·01:18 AM
Description
Apr 29, 2025
Data Sourced
via Ubuntu·06:21 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-35828?

CVE-2024-35828 has a moderate severity level due to its potential to cause memory leaks in the Linux kernel.

2

How do I fix CVE-2024-35828?

To remediate CVE-2024-35828, update to the latest kernel versions recommended in the advisory, such as 5.10.223-1 or 6.1.123-1.

3

What systems are affected by CVE-2024-35828?

CVE-2024-35828 impacts various versions of the Linux kernel between 2.6.22 and 6.8.2.

4

What kind of vulnerability is CVE-2024-35828?

CVE-2024-35828 is a memory leak vulnerability occurring during command buffer allocation in the Linux kernel.

5

Who is responsible for addressing CVE-2024-35828?

It is the responsibility of system administrators and maintainers to apply the necessary updates for CVE-2024-35828.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203