CVE-2024-40963
JSON

5.5medium

mips: bmips: BCM6358: make sure CBR is correctly set

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 6 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.*
CVE List
linux linux_kernelfrom 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 and 1 moreNVD

Classification

CWE-754

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: mips: bmips: BCM6358: asegúrese de que CBR esté configurado correctamente. Se descubrió que algunos dispositivos tienen la dirección CBR configurada en 0, lo que provoca pánico en el kernel cuando se llama a arch_sync_dma_for_cpu_all. Esto se notó en una situación en la que el sistema se inicia desde TP1 y BMIPS_GET_CBR() devuelve 0 en lugar de una dirección válida y !!(read_c0_brcm_cmt_local() &amp; (1 &lt;&lt; 31)); no fallar. La verificación actual de si la descarga de RAC debe desactivarse o no no es suficiente, por lo tanto, verifiquemos si CBR es una dirección válida o no.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-40963 changed 2026-05-23CVE Terms of Use
NVDCVE-2024-40963 changed 2026-06-17Public domain