CVE-2024-38575

MediumCVSS 5.5/10Last modified Jun 17, 2026

Description

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

wifi: brcmfmac: pcie: handle randbuf allocation failure

The kzalloc() in brcmf_pcie_download_fw_nvram() will return null if the physical memory has run out. As a result, if we use get_random_bytes() 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.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= c35105f375b530bc27e03ea9250b1c26dd4cae86, < 0eb2c0528e232b3c32cde9d5e1c9f80ba2996e49; >= 91918ce88d9fef408bb12c46a27c73d79b604c20, < c37466406f075476c2702ecc01917928af871f3b; >= 91918ce88d9fef408bb12c46a27c73d79b604c20, < 7c15eb344b0d4d3468c9b2a7591ad2b859b29b88; >= 91918ce88d9fef408bb12c46a27c73d79b604c20, < 3729ca9e48d19a03ae049e2bde510e161c2f3720; >= 91918ce88d9fef408bb12c46a27c73d79b604c20, < 316f790ebcf94bdf59f794b7cdea4068dc676d4c; ba72baed066f3bfa8b489e4b58f1fcaf51c04f83; >= 6.1.30, < 6.1.93; >= 6.3.4, < 6.4
LinuxLinux6.4

References

Timeline

Published
Jun 19, 2024
Last modified
Jun 17, 2026
NVD status
Analyzed

Related CVEs from 2024

CVE-2024-385767.0In the Linux kernel, the following vulnerability has been resolved: rcu: Fix buffer overflow in print_cpu_stall_info() The rcuc-starvationCVE-2024-385777.8In the Linux kernel, the following vulnerability has been resolved: rcu-tasks: Fix show_rcu_tasks_trace_gp_kthread buffer overflow There iCVE-2024-385787.8In the Linux kernel, the following vulnerability has been resolved: ecryptfs: Fix buffer size for tag 66 packet The 'TAG 66 Packet Format'CVE-2024-385795.5In the Linux kernel, the following vulnerability has been resolved: crypto: bcm - Fix pointer arithmetic In spu2_dump_omd() value of ptr iCVE-2024-38587.5It was possible to mutate a JavaScript object so that the JIT could crash while tracing it. This vulnerability affects Firefox < 125.CVE-2024-385804.7In the Linux kernel, the following vulnerability has been resolved: epoll: be better about file lifetimes epoll can call out to vfs_poll()CVE-2024-385817.8In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/mes: fix use-after-free issue Delete fence fallback timer tCVE-2024-385825.3In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix potential hang in nilfs_detach_log_writer() Syzbot has repCVE-2024-385837.8In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix use-after-free of timer for log writer thread Patch seriesCVE-2024-385845.5In the Linux kernel, the following vulnerability has been resolved: net: ti: icssg_prueth: Fix NULL pointer dereference in prueth_probe() CVE-2024-385857.1In the Linux kernel, the following vulnerability has been resolved: tools/nolibc/stdlib: fix memory error in realloc() Pass user_p_len to CVE-2024-385867.8In the Linux kernel, the following vulnerability has been resolved: r8169: Fix possible ring buffer corruption on fragmented Tx packets. A
CVE-2024-38575: Medium severity, CVSS 5.5 | Vulnix