Lucene search

K
cvelistLinuxCVELIST:CVE-2024-43875
HistoryAug 21, 2024 - 12:06 a.m.

CVE-2024-43875 PCI: endpoint: Clean up error handling in vpci_scan_bus()

2024-08-2100:06:27
Linux
www.cve.org
5
pci linux kernel vulnerability

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.

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"
      }
    ]
  }
]

EPSS

0

Percentile

16.4%