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.
[
{
"target": {
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"line_hashes": [
"193549091501925203045077244929120111381",
"144684674273236234564013079511970472070",
"38690627468279751225155029808580632781",
"56777587162319691656702377760569876752",
"223479208583947207107446995403963848929",
"321714321984665784685025507237370610069",
"304880757239785666768090854634658293971",
"70508204430205319980099976304967459009"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@25998f5613159fe35920dbd484fcac7ea3ad0799",
"deprecated": false,
"id": "CVE-2024-40968-0d1612d6",
"signature_type": "Line"
},
{
"target": {
"function": "__cvmx_pcie_build_config_addr",
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"length": 613.0,
"function_hash": "78717458276464132303415396651426588046"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@25998f5613159fe35920dbd484fcac7ea3ad0799",
"deprecated": false,
"id": "CVE-2024-40968-210c11b0",
"signature_type": "Function"
},
{
"target": {
"function": "__cvmx_pcie_build_config_addr",
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"length": 613.0,
"function_hash": "78717458276464132303415396651426588046"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@29b83a64df3b42c88c0338696feb6fdcd7f1f3b7",
"deprecated": false,
"id": "CVE-2024-40968-2777514f",
"signature_type": "Function"
},
{
"target": {
"function": "__cvmx_pcie_build_config_addr",
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"length": 613.0,
"function_hash": "78717458276464132303415396651426588046"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1c33fd17383f48f679186c54df78542106deeaa0",
"deprecated": false,
"id": "CVE-2024-40968-43d6d15e",
"signature_type": "Function"
},
{
"target": {
"function": "__cvmx_pcie_build_config_addr",
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"length": 613.0,
"function_hash": "78717458276464132303415396651426588046"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@64845ac64819683ad5e51b668b2ed56ee3386aee",
"deprecated": false,
"id": "CVE-2024-40968-4512a35f",
"signature_type": "Function"
},
{
"target": {
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"line_hashes": [
"193549091501925203045077244929120111381",
"144684674273236234564013079511970472070",
"38690627468279751225155029808580632781",
"56777587162319691656702377760569876752",
"223479208583947207107446995403963848929",
"321714321984665784685025507237370610069",
"304880757239785666768090854634658293971",
"70508204430205319980099976304967459009"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d996deb80398a90dd3c03590e68dad543da87d62",
"deprecated": false,
"id": "CVE-2024-40968-4cc0f942",
"signature_type": "Line"
},
{
"target": {
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"line_hashes": [
"193549091501925203045077244929120111381",
"144684674273236234564013079511970472070",
"38690627468279751225155029808580632781",
"56777587162319691656702377760569876752",
"223479208583947207107446995403963848929",
"321714321984665784685025507237370610069",
"304880757239785666768090854634658293971",
"70508204430205319980099976304967459009"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@29b83a64df3b42c88c0338696feb6fdcd7f1f3b7",
"deprecated": false,
"id": "CVE-2024-40968-51fc51fe",
"signature_type": "Line"
},
{
"target": {
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"line_hashes": [
"193549091501925203045077244929120111381",
"144684674273236234564013079511970472070",
"38690627468279751225155029808580632781",
"56777587162319691656702377760569876752",
"223479208583947207107446995403963848929",
"321714321984665784685025507237370610069",
"304880757239785666768090854634658293971",
"70508204430205319980099976304967459009"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@64845ac64819683ad5e51b668b2ed56ee3386aee",
"deprecated": false,
"id": "CVE-2024-40968-7cf67509",
"signature_type": "Line"
},
{
"target": {
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"line_hashes": [
"193549091501925203045077244929120111381",
"144684674273236234564013079511970472070",
"38690627468279751225155029808580632781",
"56777587162319691656702377760569876752",
"223479208583947207107446995403963848929",
"321714321984665784685025507237370610069",
"304880757239785666768090854634658293971",
"70508204430205319980099976304967459009"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1c33fd17383f48f679186c54df78542106deeaa0",
"deprecated": false,
"id": "CVE-2024-40968-867744c3",
"signature_type": "Line"
},
{
"target": {
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"line_hashes": [
"193549091501925203045077244929120111381",
"144684674273236234564013079511970472070",
"38690627468279751225155029808580632781",
"56777587162319691656702377760569876752",
"223479208583947207107446995403963848929",
"321714321984665784685025507237370610069",
"304880757239785666768090854634658293971",
"70508204430205319980099976304967459009"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@38d647d509543e9434b3cc470b914348be271fe9",
"deprecated": false,
"id": "CVE-2024-40968-ec845db9",
"signature_type": "Line"
},
{
"target": {
"function": "__cvmx_pcie_build_config_addr",
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"length": 613.0,
"function_hash": "78717458276464132303415396651426588046"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@38d647d509543e9434b3cc470b914348be271fe9",
"deprecated": false,
"id": "CVE-2024-40968-f1a1aba5",
"signature_type": "Function"
},
{
"target": {
"function": "__cvmx_pcie_build_config_addr",
"file": "arch/mips/pci/pcie-octeon.c"
},
"digest": {
"length": 613.0,
"function_hash": "78717458276464132303415396651426588046"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d996deb80398a90dd3c03590e68dad543da87d62",
"deprecated": false,
"id": "CVE-2024-40968-f845569c",
"signature_type": "Function"
}
]