CVE-2024-38575 wifi: brcmfmac: pcie: handle randbuf allocation failure
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.1.30 이상 6.1.93 미만
- 6.3.4 이상 6.4 미만
- 6.4
해결 버전
- 6.1.93 이상
- 6.4 이상
- 6.4 미만
- 6.6.33 이상
- 6.8.12 이상
- 6.9.3 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/0eb2c0528e232b3c32cde9d5e1c9f80ba2996e49 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/316f790ebcf94bdf59f794b7cdea4068dc676d4c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/3729ca9e48d19a03ae049e2bde510e161c2f3720 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/7c15eb344b0d4d3468c9b2a7591ad2b859b29b88 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c37466406f075476c2702ecc01917928af871f3b (새 창)