# CVE-2024-43875: PCI: endpoint: Clean up error handling in vpci\_scan\_bus()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-08-21T00:06:27.204Z
- **Modified:** 2026-06-17T07:51:54.270Z

## Who should check

- Anyone running Linux \>= e2b6ef72b7aea9d7d480d2df499bcd1c93247abb, \< 24414c842a24d0fd498f9db6d2a762a8dddf1832; \>= e35f56bb03304abc92c928b641af41ca372966bb, \< 7d368de78b60088ec9031c60c88976c0063ea4c0; \>= e35f56bb03304abc92c928b641af41ca372966bb, \< 0e27e2e8697b8ce96cdef43f135426525d9d1f8f; \>= e35f56bb03304abc92c928b641af41ca372966bb, \< b9e8695246bcfc028341470cbf92630cdc1ba36b; \>= e35f56bb03304abc92c928b641af41ca372966bb, \< 8e0f5a96c534f781e8c57ca30459448b3bfe5429; \>= 5.15.153, \< 5.15.165
- Anyone running Linux 6.0

## 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 and fixed versions

- Linux: \>= e2b6ef72b7aea9d7d480d2df499bcd1c93247abb, \< 24414c842a24d0fd498f9db6d2a762a8dddf1832; \>= e35f56bb03304abc92c928b641af41ca372966bb, \< 7d368de78b60088ec9031c60c88976c0063ea4c0; \>= e35f56bb03304abc92c928b641af41ca372966bb, \< 0e27e2e8697b8ce96cdef43f135426525d9d1f8f; \>= e35f56bb03304abc92c928b641af41ca372966bb, \< b9e8695246bcfc028341470cbf92630cdc1ba36b; \>= e35f56bb03304abc92c928b641af41ca372966bb, \< 8e0f5a96c534f781e8c57ca30459448b3bfe5429; \>= 5.15.153, \< 5.15.165 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 5.15.165 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-43875. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-43875.md
Affected: Linux >= e2b6ef72b7aea9d7d480d2df499bcd1c93247abb, < 24414c842a24d0fd498f9db6d2a762a8dddf1832; >= e35f56bb03304abc92c928b641af41ca372966bb, < 7d368de78b60088ec9031c60c88976c0063ea4c0; >= e35f56bb03304abc92c928b641af41ca372966bb, < 0e27e2e8697b8ce96cdef43f135426525d9d1f8f; >= e35f56bb03304abc92c928b…
Fixed in: Linux 24414c842a24d0fd498f9db6d2a762a8dddf1832, Linux 7d368de78b60088ec9031c60c88976c0063ea4c0, Linux 0e27e2e8697b8ce96cdef43f135426525d9d1f8f, Linux 8e0f5a96c534f781e8c57ca30459448b3bfe5429, Linux 5.15.165

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-43875 being exploited?

There is no confirmed exploitation: CVE-2024-43875 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-43875?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-43875?

Linux \>= e2b6ef72b7aea9d7d480d2df499bcd1c93247abb, \< 24414c842a24d0fd498f9db6d2a762a8dddf1832; \>= e35f56bb03304abc92c928b641af41ca372966bb, \< 7d368de78b60088ec9031c60c88976c0063ea4c0; \>= e35f56bb03304abc92c928b641af41ca372966bb, \< 0e27e2e8697b8ce96cdef43f135426525d9d1f8f; \>= e35f56bb03304abc92c928b641af41ca372966bb, \< b9e8695246bcfc028341470cbf92630cdc1ba36b; \>= e35f56bb03304abc92c928b641af41ca372966bb, \< 8e0f5a96c534f781e8c57ca30459448b3bfe5429; \>= 5.15.153, \< 5.15.165; Linux 6.0.

### Is there a fix for CVE-2024-43875?

Yes. Fixed in Linux 24414c842a24d0fd498f9db6d2a762a8dddf1832, Linux 7d368de78b60088ec9031c60c88976c0063ea4c0, Linux 0e27e2e8697b8ce96cdef43f135426525d9d1f8f, Linux 8e0f5a96c534f781e8c57ca30459448b3bfe5429, Linux 5.15.165. Upgrade Linux to 5.15.165 or later.

### How do I check if I'm affected by CVE-2024-43875?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/24414c842a24d0fd498f9db6d2a762a8dddf1832>
- patch: <https://git.kernel.org/stable/c/7d368de78b60088ec9031c60c88976c0063ea4c0>
- patch: <https://git.kernel.org/stable/c/0e27e2e8697b8ce96cdef43f135426525d9d1f8f>
- patch: <https://git.kernel.org/stable/c/b9e8695246bcfc028341470cbf92630cdc1ba36b>
- patch: <https://git.kernel.org/stable/c/8e0f5a96c534f781e8c57ca30459448b3bfe5429>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-43875>

HTML: <https://flawdb.com/CVE-2024-43875> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-43875>
