CVE-2024-38575: wifi: brcmfmac: pcie: handle randbuf allocation failure

Published Jun 19, 2024
·
Updated

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

wifi: brcmfmac: pcie: handle randbuf allocation failure

The kzalloc() in brcmfpciedownloadfwnvram() will return null if the physical memory has run out. As a result, if we use getrandombytes() to generate random bytes in the randbuf, the null pointer dereference bug will happen.

In order to prevent allocation failure, this patch adds a separate function using buffer on kernel stack to generate random bytes in the randbuf, which could prevent the kernel stack from overflow.

Other sources

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

wifi: brcmfmac: pcie: handle randbuf allocation failure

The Linux kernel CVE team has assigned CVE-2024-38575 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024061946-CVE-2024-38575-8b6b@gregkh/T

Red Hat

Affected Software

14 affected componentsFixes available
redhat/kernel<6.1.93
6.1.93
redhat/kernel<6.6.33
6.6.33
redhat/kernel<6.8.12
6.8.12
redhat/kernel<6.9.3
6.9.3
redhat/kernel<6.10
6.10
Linux Linux kernel>=6.1.30<6.1.93
Linux Linux kernel>=6.3.4<6.6.33
Linux Linux kernel>=6.7<6.8.12
Linux Linux kernel>=6.9<6.9.3
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Jun 19, 2024
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
Description
Aug 8, 2024
Data Sourced
via Launchpad·11:29 PM
Description
Feb 9, 2025
Data Sourced
via Ubuntu·01:48 PM
RemedyDescriptionSeverityAffected Software
Apr 9, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-38575?

CVE-2024-38575 is considered a high-severity vulnerability due to its potential impact on the Linux kernel's memory management.

2

How do I fix CVE-2024-38575?

To resolve CVE-2024-38575, update the Linux kernel to versions 6.1.93, 6.6.33, 6.8.12, 6.9.3, 6.10, or later.

3

Which Linux distributions are affected by CVE-2024-38575?

CVE-2024-38575 affects several distributions that use vulnerable versions of the Linux kernel, specifically Red Hat and Debian derivatives.

4

What components are vulnerable in CVE-2024-38575?

The vulnerability in CVE-2024-38575 is specifically related to the brcmfmac PCIe module in the Linux kernel.

5

Can CVE-2024-38575 lead to system crashes?

Yes, CVE-2024-38575 can potentially cause system instability or crashes due to memory allocation failures.

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