CVE-2024-43875

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

MEDIUM
5.5
CVSS Score
Published: August 21, 2024 at 12:06 AM UTC
Updated: June 17, 2026 at 07:51 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15.153 ≤ v < 5.15.1656.0 ≤ v < 6.1.1036.0 ≤ v < 6.10.36.0 ≤ v < 6.116.0 ≤ v < 6.6.446.2 ≤ v < 6.6.446.7 ≤ v < 6.10.35.15.1536.0e2b6ef72b7aea9d7d480d2df499bcd1c93247abbe35f56bb03304abc92c928b641af41ca372966bb
Vendor states this is fixed in 0e27e2e8697b8ce96cdef43f135426525d9d1f8f (fixed)
Vendor states this is fixed in 24414c842a24d0fd498f9db6d2a762a8dddf1832 (fixed)
Vendor states this is fixed in 7d368de78b60088ec9031c60c88976c0063ea4c0 (fixed)
Vendor states this is fixed in 8e0f5a96c534f781e8c57ca30459448b3bfe5429 (fixed)
Vendor states this is fixed in b9e8695246bcfc028341470cbf92630cdc1ba36b (fixed)
Vendor states this is fixed in 5.15.165 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)
Vendor states this is fixed in 6.1.103 (unaffected)
Vendor states this is fixed in 6.10.3 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.44 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0e27e2e8697b8ce96cdef43f135426525d9d1f8f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/24414c842a24d0fd498f9db6d2a762a8dddf1832
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7d368de78b60088ec9031c60c88976c0063ea4c0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8e0f5a96c534f781e8c57ca30459448b3bfe5429
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b9e8695246bcfc028341470cbf92630cdc1ba36b
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card