CVE-2024-43875

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
21/08/2024
Last modified:
03/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> PCI: endpoint: Clean up error handling in vpci_scan_bus()<br /> <br /> Smatch complains about inconsistent NULL checking in vpci_scan_bus():<br /> <br /> drivers/pci/endpoint/functions/pci-epf-vntb.c:1024 vpci_scan_bus() error: we previously assumed &amp;#39;vpci_bus&amp;#39; could be null (see line 1021)<br /> <br /> Instead of printing an error message and then crashing we should return<br /> an error code and clean up.<br /> <br /> Also the NULL check is reversed so it prints an error for success<br /> instead of failure.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.15.153 (including) 5.15.165 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.0 (including) 6.1.103 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.44 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.10.3 (excluding)