# CVE-2024-40963: mips: bmips: BCM6358: make sure CBR is correctly set

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2024-07-12T12:32:04.019Z
- Modified: 2026-06-17T07:46:58.377Z
- Weaknesses: CWE-754
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d65de5ee8b72868fbbbd39ca73017d0e526fa13a before 10afe5f7d30f6fe50c2b1177549d0e04921fc373; from 47a449ec09b4479b89dcc6b27ec3829fc82ffafb before 36d771ce6028b886e18a4a8956a5d23688e4e13d; from 65b723644294f1d79770704162c0e8d1f700b6f1 before 89167072fd249e5f23ae2f8093f87da5925cef27; from 2cdbcff99f15db86a10672fb220379a1ae46ccae before 6c0f6ccd939166f56a904c792d7fcadae43b9085; from ab327f8acdf8d06601fbf058859a539a9422afff before 2cd4854ef14a487bcfb76c7980675980cad27b52; from ab327f8acdf8d06601fbf058859a539a9422afff before da895fd6da438af8d9326b8f02d715a9c76c3b5b; from ab327f8acdf8d06601fbf058859a539a9422afff before ce5cdd3b05216b704a704f466fb4c2dff3778caf; 288c96aa5b5526cd4a946e84ef85e165857693b5; 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; and 2 more (not affected: before 6.3; from 5.4.279 up to 5.4.*; from 5.10.221 up to 5.10.*; from 5.15.162 up to 5.15.*; from 6.1.96 up to 6.1.*; from 6.6.36 up to 6.6.*; from 6.9.7 up to 6.9.*; from 6.10 up to *)
- linux 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; from 6.7 before 6.9.7; 6.3; 6.10

## References

- <https://git.kernel.org/stable/c/10afe5f7d30f6fe50c2b1177549d0e04921fc373> (patch)
- <https://git.kernel.org/stable/c/36d771ce6028b886e18a4a8956a5d23688e4e13d> (patch)
- <https://git.kernel.org/stable/c/89167072fd249e5f23ae2f8093f87da5925cef27> (patch)
- <https://git.kernel.org/stable/c/6c0f6ccd939166f56a904c792d7fcadae43b9085> (patch)
- <https://git.kernel.org/stable/c/2cd4854ef14a487bcfb76c7980675980cad27b52> (patch)
- <https://git.kernel.org/stable/c/da895fd6da438af8d9326b8f02d715a9c76c3b5b> (patch)
- <https://git.kernel.org/stable/c/ce5cdd3b05216b704a704f466fb4c2dff3778caf> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-40963](https://www.cve.org/CVERecord?id=CVE-2024-40963), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2024-40963](https://nvd.nist.gov/vuln/detail/CVE-2024-40963), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-40963 · Whole record: https://cve.day/CVE-2024-40963.json · Rebuilt by cve.day 2026-11-25T22:58:42.864Z
