{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-38575","id":"CVE-2024-38575","title":"wifi: brcmfmac: pcie: handle randbuf allocation failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: brcmfmac: pcie: handle randbuf allocation failure\n\nThe kzalloc() in brcmf_pcie_download_fw_nvram() will return null\nif the physical memory has run out. As a result, if we use\nget_random_bytes() to generate random bytes in the randbuf, the\nnull pointer dereference bug will happen.\n\nIn order to prevent allocation failure, thi","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: brcmfmac: pcie: handle randbuf allocation failure\n\nThe kzalloc() in brcmf_pcie_download_fw_nvram() will return null\nif the physical memory has run out. As a result, if we use\nget_random_bytes() to generate random bytes in the randbuf, the\nnull pointer dereference bug will happen.\n\nIn order to prevent allocation failure, this patch adds a separate\nfunction using buffer on kernel stack to generate random bytes in\nthe randbuf, which could prevent the kernel stack from overflow.","published":"2024-06-19T13:37:34.476Z","updated":"2026-11-17T07:02:32.758644242Z","reserved":"2024-06-18T19:36:34.924Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c35105f375b530bc27e03ea9250b1c26dd4cae86","lessThan":"0eb2c0528e232b3c32cde9d5e1c9f80ba2996e49","status":"affected","versionType":"git"},{"version":"91918ce88d9fef408bb12c46a27c73d79b604c20","lessThan":"c37466406f075476c2702ecc01917928af871f3b","status":"affected","versionType":"git"},{"version":"91918ce88d9fef408bb12c46a27c73d79b604c20","lessThan":"7c15eb344b0d4d3468c9b2a7591ad2b859b29b88","status":"affected","versionType":"git"},{"version":"91918ce88d9fef408bb12c46a27c73d79b604c20","lessThan":"3729ca9e48d19a03ae049e2bde510e161c2f3720","status":"affected","versionType":"git"},{"version":"91918ce88d9fef408bb12c46a27c73d79b604c20","lessThan":"316f790ebcf94bdf59f794b7cdea4068dc676d4c","status":"affected","versionType":"git"},{"version":"ba72baed066f3bfa8b489e4b58f1fcaf51c04f83","status":"affected","versionType":"git"},{"version":"6.1.30","lessThan":"6.1.93","status":"affected","versionType":"semver"},{"version":"6.3.4","lessThan":"6.4","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","lessThan":"6.4","status":"unaffected","versionType":"semver"},{"version":"6.1.93","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.33","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.8.12","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9.3","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/0eb2c0528e232b3c32cde9d5e1c9f80ba2996e49","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/c37466406f075476c2702ecc01917928af871f3b","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/7c15eb344b0d4d3468c9b2a7591ad2b859b29b88","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/3729ca9e48d19a03ae049e2bde510e161c2f3720","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/316f790ebcf94bdf59f794b7cdea4068dc676d4c","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38575.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38575","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00225,"epssPercentile":0.1333,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-38575","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38575","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-38575","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-38575","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}