Lucene search

K
cveLinuxCVE-2024-43875
HistoryAug 21, 2024 - 1:15 a.m.

CVE-2024-43875

2024-08-2101:15:11
Linux
web.nvd.nist.gov
8
linux kernel
pci endpoint
vulnerability
cve-2024-43875
fixed
error handling
vpci_scan_bus

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

16.4%

In the Linux kernel, the following vulnerability has been resolved:

PCI: endpoint: Clean up error handling in vpci_scan_bus()

Smatch complains about inconsistent NULL checking in vpci_scan_bus():

drivers/pci/endpoint/functions/pci-epf-vntb.c:1024 vpci_scan_bus() error: we previously assumed 'vpci_bus' could be null (see line 1021)

Instead of printing an error message and then crashing we should return
an error code and clean up.

Also the NULL check is reversed so it prints an error for success
instead of failure.

Affected configurations

Vulners
Node
linuxlinux_kernelRange6.05.15.165
OR
linuxlinux_kernelRange5.16.06.1.103
OR
linuxlinux_kernelRange6.2.06.6.44
OR
linuxlinux_kernelRange6.7.06.10.3
OR
linuxlinux_kernelRange6.11.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": [
      "drivers/pci/endpoint/functions/pci-epf-vntb.c"
    ],
    "versions": [
      {
        "version": "e2b6ef72b7ae",
        "lessThan": "24414c842a24",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e35f56bb0330",
        "lessThan": "7d368de78b60",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e35f56bb0330",
        "lessThan": "0e27e2e8697b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e35f56bb0330",
        "lessThan": "b9e8695246bc",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e35f56bb0330",
        "lessThan": "8e0f5a96c534",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/pci/endpoint/functions/pci-epf-vntb.c"
    ],
    "versions": [
      {
        "version": "6.0",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.0",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.165",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.103",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.44",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.3",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

16.4%