In the Linux kernel, the following vulnerability has been resolved:
MIPS: Octeon: Add PCIe link status check
The standard PCIe configuration read-write interface is used to access the configuration space of the peripheral PCIe devices of the mips processor after the PCIe link surprise down, it can generate kernel panic caused by "Data bus error". So it is necessary to add PCIe link status check for system protection. When the PCIe link is down or in training, assigning a value of 0 to the configuration address can prevent read-write behavior to the configuration space of peripheral PCIe devices, thereby preventing kernel panic.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@25998f5613159fe35920dbd484fcac7ea3ad0799",
"target": {
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"193549091501925203045077244929120111381",
"144684674273236234564013079511970472070",
"38690627468279751225155029808580632781",
"56777587162319691656702377760569876752",
"223479208583947207107446995403963848929",
"321714321984665784685025507237370610069",
"304880757239785666768090854634658293971",
"70508204430205319980099976304967459009"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2024-40968-0d1612d6"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@25998f5613159fe35920dbd484fcac7ea3ad0799",
"target": {
"function": "__cvmx_pcie_build_config_addr",
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"length": 613.0,
"function_hash": "78717458276464132303415396651426588046"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2024-40968-210c11b0"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@29b83a64df3b42c88c0338696feb6fdcd7f1f3b7",
"target": {
"function": "__cvmx_pcie_build_config_addr",
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"length": 613.0,
"function_hash": "78717458276464132303415396651426588046"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2024-40968-2777514f"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6bff05aaa32c2f7e1f6e68e890876642159db419",
"target": {
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"193549091501925203045077244929120111381",
"144684674273236234564013079511970472070",
"38690627468279751225155029808580632781",
"56777587162319691656702377760569876752",
"223479208583947207107446995403963848929",
"321714321984665784685025507237370610069",
"304880757239785666768090854634658293971",
"70508204430205319980099976304967459009"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2024-40968-2a6d7747"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1c33fd17383f48f679186c54df78542106deeaa0",
"target": {
"function": "__cvmx_pcie_build_config_addr",
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"length": 613.0,
"function_hash": "78717458276464132303415396651426588046"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2024-40968-43d6d15e"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@64845ac64819683ad5e51b668b2ed56ee3386aee",
"target": {
"function": "__cvmx_pcie_build_config_addr",
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"length": 613.0,
"function_hash": "78717458276464132303415396651426588046"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2024-40968-4512a35f"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c1b9fe148a4e03bbfa234267ebb89f35285814a",
"target": {
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"193549091501925203045077244929120111381",
"144684674273236234564013079511970472070",
"38690627468279751225155029808580632781",
"56777587162319691656702377760569876752",
"223479208583947207107446995403963848929",
"321714321984665784685025507237370610069",
"304880757239785666768090854634658293971",
"70508204430205319980099976304967459009"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2024-40968-50e6792a"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@29b83a64df3b42c88c0338696feb6fdcd7f1f3b7",
"target": {
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"193549091501925203045077244929120111381",
"144684674273236234564013079511970472070",
"38690627468279751225155029808580632781",
"56777587162319691656702377760569876752",
"223479208583947207107446995403963848929",
"321714321984665784685025507237370610069",
"304880757239785666768090854634658293971",
"70508204430205319980099976304967459009"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2024-40968-51fc51fe"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@64845ac64819683ad5e51b668b2ed56ee3386aee",
"target": {
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"193549091501925203045077244929120111381",
"144684674273236234564013079511970472070",
"38690627468279751225155029808580632781",
"56777587162319691656702377760569876752",
"223479208583947207107446995403963848929",
"321714321984665784685025507237370610069",
"304880757239785666768090854634658293971",
"70508204430205319980099976304967459009"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2024-40968-7cf67509"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1c33fd17383f48f679186c54df78542106deeaa0",
"target": {
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"193549091501925203045077244929120111381",
"144684674273236234564013079511970472070",
"38690627468279751225155029808580632781",
"56777587162319691656702377760569876752",
"223479208583947207107446995403963848929",
"321714321984665784685025507237370610069",
"304880757239785666768090854634658293971",
"70508204430205319980099976304967459009"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2024-40968-867744c3"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c1b9fe148a4e03bbfa234267ebb89f35285814a",
"target": {
"function": "__cvmx_pcie_build_config_addr",
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"length": 613.0,
"function_hash": "78717458276464132303415396651426588046"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2024-40968-b45f3654"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6bff05aaa32c2f7e1f6e68e890876642159db419",
"target": {
"function": "__cvmx_pcie_build_config_addr",
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"length": 613.0,
"function_hash": "78717458276464132303415396651426588046"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2024-40968-e7a38dd6"
}
]