mips: bmips: BCM6358: make sure CBR is correctly set (Linux Linux)

CVE-2024-40963
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.29 % · percentile 22 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-754 — Improper Check for Unusual or Exceptional Conditions

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected d65de5ee8b72868fbbbd39ca73017d0e526fa13a < 10afe5f7d30f6fe50c2b1177549d0e04921fc373 ; affected 47a449ec09b4479b89dcc6b27ec3829fc82ffafb < 36d771ce6028b886e18a4a8956a5d23688e4e13d ; affected 65b723644294f1d79770704162c0e8d1f700b6f1 < 89167072fd249e5f23ae2f8093f87da5925cef27 ; affected 2cdbcff99f15db86a10672fb220379a1ae46ccae < 6c0f6ccd939166f56a904c792d7fcadae43b9085 ; affected ab327f8acdf8d06601fbf058859a539a9422afff < 2cd4854ef14a487bcfb76c7980675980cad27b52 ; affected ab327f8acdf8d06601fbf058859a539a9422afff < da895fd6da438af8d9326b8f02d715a9c76c3b5b
Linux · Linuxaffected 6.3 ; unaffected 0 < 6.3 ; unaffected 5.4.279 ≤ 5.4.* ; unaffected 5.10.221 ≤ 5.10.* ; unaffected 5.15.162 ≤ 5.15.* ; unaffected 6.1.96 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD