Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-43875

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • e2b6ef72b7aea9d7d480d2df499bcd1c93247abb to < 24414c842a24d0fd498f9db6d2a762a8dddf1832affected
  • e35f56bb03304abc92c928b641af41ca372966bb to < 7d368de78b60088ec9031c60c88976c0063ea4c0affected
  • e35f56bb03304abc92c928b641af41ca372966bb to < 0e27e2e8697b8ce96cdef43f135426525d9d1f8faffected
  • e35f56bb03304abc92c928b641af41ca372966bb to < b9e8695246bcfc028341470cbf92630cdc1ba36baffected
  • e35f56bb03304abc92c928b641af41ca372966bb to < 8e0f5a96c534f781e8c57ca30459448b3bfe5429affected
  • 5.15.153 to < 5.15.165affected

Linux Linux

Default version status: affected

  • 6.0affected
  • 0 to < 6.0unaffected
  • 5.15.165 to ≤ 5.15.*unaffected
  • 6.1.103 to ≤ 6.1.*unaffected
  • 6.6.44 to ≤ 6.6.*unaffected
  • 6.10.3 to ≤ 6.10.*unaffected
  • 6.11 to ≤ *unaffected

References