Lucene search

K
cveLinuxCVE-2024-40963
HistoryJul 12, 2024 - 1:15 p.m.

CVE-2024-40963

2024-07-1213:15:18
Linux
web.nvd.nist.gov
35
linux kernel
vulnerability
mips
bmips
bcm6358
cbr address
kernel panic
arch_sync_dma_for_cpu_all
system boot

AI Score

6.5

Confidence

High

EPSS

0

Percentile

10.6%

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 configurations

Vulners
Node
linuxlinux_kernelRange6.35.4.279
OR
linuxlinux_kernelRange5.5.05.10.221
OR
linuxlinux_kernelRange5.11.05.15.162
OR
linuxlinux_kernelRange5.16.06.1.96
OR
linuxlinux_kernelRange6.2.06.6.36
OR
linuxlinux_kernelRange6.7.06.9.7
OR
linuxlinux_kernelRange6.10.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/mips/bmips/setup.c"
    ],
    "versions": [
      {
        "version": "d65de5ee8b72",
        "lessThan": "10afe5f7d30f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "47a449ec09b4",
        "lessThan": "36d771ce6028",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "65b723644294",
        "lessThan": "89167072fd24",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2cdbcff99f15",
        "lessThan": "6c0f6ccd9391",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ab327f8acdf8",
        "lessThan": "2cd4854ef14a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ab327f8acdf8",
        "lessThan": "da895fd6da43",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ab327f8acdf8",
        "lessThan": "ce5cdd3b0521",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/mips/bmips/setup.c"
    ],
    "versions": [
      {
        "version": "6.3",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.3",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.279",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.221",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.162",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.96",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.36",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.7",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.5

Confidence

High

EPSS

0

Percentile

10.6%