VYPR
Unrated severityNVD Advisory· Published Aug 21, 2024· Updated Nov 3, 2025

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

CVE-2024-43875

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

51

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.