CVE-2024-43875

published 21 Aug 2024 · updated 17 Nov 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel b9e8695246bcfc028341470cbf92630cdc1ba36b, Kernel 24414c842a24d0fd498f9db6d2a762a8dddf1832, Kernel 0e27e2e8697b8ce96cdef43f135426525d9d1f8f and 6 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=e35f56bb03304abc92c928b641af41ca372966bb <b9e8695246bcfc028341470cbf92630cdc1ba36b, >=e2b6ef72b7aea9d7d480d2df499bcd1c93247abb <24414c842a24d0fd498f9db6d2a762a8dddf1832, >=e35f56bb03304abc92c928b641af41ca372966bb <0e27e2e8697b8ce96cdef43f135426525d9d1f8f, >=e35f56bb03304abc92c928b641af41ca372966bb <7d368de78b60088ec9031c60c88976c0063ea4c0, >=e35f56bb03304abc92c928b641af41ca372966bb <8e0f5a96c534f781e8c57ca30459448b3bfe5429, =6.0, >=5.15.153 <5.15.165b9e8695246bcfc028341470cbf92630cdc1ba36b, 24414c842a24d0fd498f9db6d2a762a8dddf1832, 0e27e2e8697b8ce96cdef43f135426525d9d1f8f, 7d368de78b60088ec9031c60c88976c0063ea4c0, 8e0f5a96c534f781e8c57ca30459448b3bfe5429, 5.15.165
linux-kernel: Kernel>=6.0.0 <6.1.103, >=6.2.0 <6.6.44, >=6.7.0 <6.10.3, >=5.15.153 <5.15.1656.1.103, 6.6.44, 6.10.3, 5.15.165

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-43875 severity on Zeptric[![CVE-2024-43875](https://zeptric.io/badge/cve/CVE-2024-43875.svg)](https://zeptric.io/cve/CVE-2024-43875)