What’s Vulnerable › Vulnerabilities
CVE-2024-40963: mips: bmips: BCM6358: make sure CBR is correctly set
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-12 · updated 2026-06-17
- Weakness: CWE-754
Description
In the Linux kernel, the following vulnerability has been resolved: mips: bmips: BCM6358: make sure CBR is correctly set It was discovered that some device have CBR address set to 0 causing kernel panic when arch_sync_dma_for_cpu_all is called. This was notice in situation where the system is booted from TP1 and BMIPS_GET_CBR() returns 0 instead of a valid address and !!(read_c0_brcm_cmt_local() & (1 << 31)); not failing. The current check whether RAC flush should be disabled or not are not enough hence lets check if CBR is a valid address or not.
Affected products
- Linux kernel: from 5.4.240 before 5.4.279; from 5.10.177 before 5.10.221; from 5.15.106 before 5.15.162; from 6.1.23 before 6.1.96; from 6.2.10 before 6.3; from 6.3.1 before 6.6.36 — fixed in 5.10.221, 5.15.162, 5.4.279, 6.1.96, 6.3, 6.6.36
How to fix
Upgrade to a fixed version: Linux kernel 5.10.221, 5.15.162, 5.4.279, 6.1.96. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/10afe5f7d30f6fe50c2b1177549d0e04921fc373
- https://git.kernel.org/stable/c/2cd4854ef14a487bcfb76c7980675980cad27b52
- https://git.kernel.org/stable/c/36d771ce6028b886e18a4a8956a5d23688e4e13d
- https://git.kernel.org/stable/c/6c0f6ccd939166f56a904c792d7fcadae43b9085
- https://git.kernel.org/stable/c/89167072fd249e5f23ae2f8093f87da5925cef27
- https://git.kernel.org/stable/c/ce5cdd3b05216b704a704f466fb4c2dff3778caf
- https://git.kernel.org/stable/c/da895fd6da438af8d9326b8f02d715a9c76c3b5b
- https://git.kernel.org/stable/c/10afe5f7d30f6fe50c2b1177549d0e04921fc373
- https://git.kernel.org/stable/c/2cd4854ef14a487bcfb76c7980675980cad27b52
- https://git.kernel.org/stable/c/36d771ce6028b886e18a4a8956a5d23688e4e13d
- https://git.kernel.org/stable/c/6c0f6ccd939166f56a904c792d7fcadae43b9085
- https://git.kernel.org/stable/c/89167072fd249e5f23ae2f8093f87da5925cef27
Get alerted when CVE-2024-40963 or the next vulnerability affects your stack