CVE-2024-35828
wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()
Check your servers for CVE-2024-35828
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-35828 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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().
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 20 May 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, before 96481624fb5a6319079fb5059e46dbce43a90186 affected from 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, before bea9573c795acec5614d4ac2dcc7b3b684cea5bf affected from 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, before f0dd27314c7afe34794c2aa19dd6f2d30eb23bc7 affected from 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, before e888c4461e109f7b93c3522afcbbaa5a8fdf29d2 affected from 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, before 4d99d267da3415db2124029cb5a6d2d955ca43f9 affected from 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, before da10f6b7918abd5b4bc5c9cb66f0fc6763ac48f3 affected from 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, before d219724d4b0ddb8ec7dfeaed5989f23edabaf591 affected from 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, before 8e243ac649c10922a6b4855170eaefe4c5b3faab affected from 876c9d3aeb989cf1961f2c228d309ba5dcfb1172, before 5f0e4aede01cb01fa633171f0533affd25328c3a
Other versions: unaffected
|
| Linux |
affected 2.6.22 unaffected before 2.6.22 unaffected from 4.19.311 up to and including 4.19.* unaffected from 5.4.273 up to and including 5.4.* unaffected from 5.10.214 up to and including 5.10.* unaffected from 5.15.153 up to and including 5.15.* unaffected from 6.1.83 up to and including 6.1.* unaffected from 6.6.23 up to and including 6.6.* unaffected from 6.7.11 up to and including 6.7.* unaffected from 6.8.2 up to and including 6.8.* unaffected 6.9 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-35828 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-35828
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-35828
trivy image --scanners vuln IMAGE | grep CVE-2024-35828
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/96481624fb5a6319079fb5059e46dbce43a90186 git.kernel.org
- https://git.kernel.org/stable/c/bea9573c795acec5614d4ac2dcc7b3b684cea5bf git.kernel.org
- https://git.kernel.org/stable/c/f0dd27314c7afe34794c2aa19dd6f2d30eb23bc7 git.kernel.org
- https://git.kernel.org/stable/c/e888c4461e109f7b93c3522afcbbaa5a8fdf29d2 git.kernel.org
- https://git.kernel.org/stable/c/4d99d267da3415db2124029cb5a6d2d955ca43f9 git.kernel.org
- https://git.kernel.org/stable/c/da10f6b7918abd5b4bc5c9cb66f0fc6763ac48f3 git.kernel.org
- https://git.kernel.org/stable/c/d219724d4b0ddb8ec7dfeaed5989f23edabaf591 git.kernel.org
- https://git.kernel.org/stable/c/8e243ac649c10922a6b4855170eaefe4c5b3faab git.kernel.org
- https://git.kernel.org/stable/c/5f0e4aede01cb01fa633171f0533affd25328c3a git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
Source: the record CVE-2024-35828 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse