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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-754
- **Published:** 2024-07-12T12:32:04.019Z
- **Modified:** 2026-06-17T07:46:58.377Z

## Who should check

- Anyone running Linux \>= d65de5ee8b72868fbbbd39ca73017d0e526fa13a, \< 10afe5f7d30f6fe50c2b1177549d0e04921fc373; \>= 47a449ec09b4479b89dcc6b27ec3829fc82ffafb, \< 36d771ce6028b886e18a4a8956a5d23688e4e13d; \>= 65b723644294f1d79770704162c0e8d1f700b6f1, \< 89167072fd249e5f23ae2f8093f87da5925cef27; \>= 2cdbcff99f15db86a10672fb220379a1ae46ccae, \< 6c0f6ccd939166f56a904c792d7fcadae43b9085; \>= ab327f8acdf8d06601fbf058859a539a9422afff, \< 2cd4854ef14a487bcfb76c7980675980cad27b52; \>= ab327f8acdf8d06601fbf058859a539a9422afff, \< da895fd6da438af8d9326b8f02d715a9c76c3b5b; \>= ab327f8acdf8d06601fbf058859a539a9422afff, \< ce5cdd3b05216b704a704f466fb4c2dff3778caf; 288c96aa5b5526cd4a946e84ef85e165857693b5; \>= 5.4.240, \< 5.4.279; \>= 5.10.177, \< 5.10.221; …
- Anyone running Linux 6.3

## 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 and fixed versions

- Linux: \>= d65de5ee8b72868fbbbd39ca73017d0e526fa13a, \< 10afe5f7d30f6fe50c2b1177549d0e04921fc373; \>= 47a449ec09b4479b89dcc6b27ec3829fc82ffafb, \< 36d771ce6028b886e18a4a8956a5d23688e4e13d; \>= 65b723644294f1d79770704162c0e8d1f700b6f1, \< 89167072fd249e5f23ae2f8093f87da5925cef27; \>= 2cdbcff99f15db86a10672fb220379a1ae46ccae, \< 6c0f6ccd939166f56a904c792d7fcadae43b9085; \>= ab327f8acdf8d06601fbf058859a539a9422afff, \< 2cd4854ef14a487bcfb76c7980675980cad27b52; \>= ab327f8acdf8d06601fbf058859a539a9422afff, \< da895fd6da438af8d9326b8f02d715a9c76c3b5b; \>= ab327f8acdf8d06601fbf058859a539a9422afff, \< ce5cdd3b05216b704a704f466fb4c2dff3778caf; 288c96aa5b5526cd4a946e84ef85e165857693b5; \>= 5.4.240, \< 5.4.279; \>= 5.10.177, \< 5.10.221; … (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-40963. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-40963.md
Affected: Linux >= d65de5ee8b72868fbbbd39ca73017d0e526fa13a, < 10afe5f7d30f6fe50c2b1177549d0e04921fc373; >= 47a449ec09b4479b89dcc6b27ec3829fc82ffafb, < 36d771ce6028b886e18a4a8956a5d23688e4e13d; >= 65b723644294f1d79770704162c0e8d1f700b6f1, < 89167072fd249e5f23ae2f8093f87da5925cef27; >= 2cdbcff99f15db86a10672f…
Fixed in: Linux 10afe5f7d30f6fe50c2b1177549d0e04921fc373, Linux 36d771ce6028b886e18a4a8956a5d23688e4e13d, Linux 89167072fd249e5f23ae2f8093f87da5925cef27, Linux 6c0f6ccd939166f56a904c792d7fcadae43b9085, Linux 2cd4854ef14a487bcfb76c7980675980cad27b52, Linux 5.4.279, Linux 5.10.221

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-40963 being exploited?

There is no confirmed exploitation: CVE-2024-40963 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-40963?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-40963?

Linux \>= d65de5ee8b72868fbbbd39ca73017d0e526fa13a, \< 10afe5f7d30f6fe50c2b1177549d0e04921fc373; \>= 47a449ec09b4479b89dcc6b27ec3829fc82ffafb, \< 36d771ce6028b886e18a4a8956a5d23688e4e13d; \>= 65b723644294f1d79770704162c0e8d1f700b6f1, \< 89167072fd249e5f23ae2f8093f87da5925cef27; \>= 2cdbcff99f15db86a10672fb220379a1ae46ccae, \< 6c0f6ccd939166f56a904c792d7fcadae43b9085; \>= ab327f8acdf8d06601fbf058859a539a9422afff, \< 2cd4854ef14a487bcfb76c7980675980cad27b52; \>= ab327f8acdf8d06601fbf058859a539a9422afff, \< da895fd6da438af8d9326b8f02d715a9c76c3b5b; \>= ab327f8acdf8d06601fbf058859a539a9422afff, \< ce5cdd3b05216b704a704f466fb4c2dff3778caf; 288c96aa5b5526cd4a946e84ef85e165857693b5; \>= 5.4.240, \< 5.4.279; \>= 5.10.177, \< 5.10.221; …; Linux 6.3.

### Is there a fix for CVE-2024-40963?

Yes. Fixed in Linux 10afe5f7d30f6fe50c2b1177549d0e04921fc373, Linux 36d771ce6028b886e18a4a8956a5d23688e4e13d, Linux 89167072fd249e5f23ae2f8093f87da5925cef27, Linux 6c0f6ccd939166f56a904c792d7fcadae43b9085, Linux 2cd4854ef14a487bcfb76c7980675980cad27b52, Linux 5.4.279, Linux 5.10.221. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-40963?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-40963>

HTML: <https://flawdb.com/CVE-2024-40963> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-40963>
