CVE Explore

NULL pointer dereference in Linux

CVE-2024-43875

CVSS v3
5.5 Medium
Public exploits
None known
EPSS
0.002 · 11.3th percentile
Published
2024-08-21

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Attack Vector
Local AV:L
Attack Complexity
Low AC:L
Privileges Required
Low PR:L
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
None C:N
Integrity
None I:N
Availability
High A:H

EPSS exploit prediction

EPSS 0.002, 11.3th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions e35f56bb03304abc92c928b641af41ca372966bb, 5.15.165, 6.10.3
  • Linux Kernel

Weakness classification (CWE)

References