5.5

CVE-2024-43875

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

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
LinuxLinux Kernel Version >= 5.15.153 < 5.15.165
LinuxLinux Kernel Version >= 6.0 < 6.1.103
LinuxLinux Kernel Version >= 6.2 < 6.6.44
LinuxLinux Kernel Version >= 6.7 < 6.10.3
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.21% 0.111
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 5.5 1.8 3.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-476 NULL Pointer Dereference

The product dereferences a pointer that it expects to be valid but is NULL.

https://git.kernel.org/stable/c/0e27e2e8697b8ce96cdef43f135426525d9d1f8f
Patch
https://git.kernel.org/stable/c/24414c842a24d0fd498f9db6d2a762a8dddf1832
Patch
https://git.kernel.org/stable/c/7d368de78b60088ec9031c60c88976c0063ea4c0
Patch
https://git.kernel.org/stable/c/8e0f5a96c534f781e8c57ca30459448b3bfe5429
Patch
https://git.kernel.org/stable/c/b9e8695246bcfc028341470cbf92630cdc1ba36b
Patch
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html