CVE-2024-43824: PCI: endpoint: pci-epf-test: Make use of cached 'epc_features' in pci_epf_test_core_init()

Published Aug 17, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

PCI: endpoint: pci-epf-test: Make use of cached 'epcfeatures' in pciepftestcoreinit()

Instead of getting the epcfeatures from pciepcgetfeatures() API, use the cached pciepftest::epcfeatures value to avoid the NULL check. Since the NULL check is already performed in pciepftestbind(), having one more check in pciepftestcoreinit() is redundant and it is not possible to hit the NULL pointer dereference.

Also with commit a01e7214bef9 ("PCI: endpoint: Remove "coreinitnotifier" flag"), 'epcfeatures' got dereferenced without the NULL check, leading to the following false positive Smatch warning:

drivers/pci/endpoint/functions/pci-epf-test.c:784 pciepftestcoreinit() error: we previously assumed 'epcfeatures' could be null (see line 747)

Thus, remove the redundant NULL check and also use the epcfeatures:: {msixcapable/msicapable} flags directly to avoid local variables.

[kwilczynski: commit log]

Affected Software

2 affected componentsFixes available
Linux Linux kernel>=5.7<6.10.3
debian/linux<=5.10.223-1, <=5.10.234-1, <=6.1.129-1, <=6.1.135-1
6.12.22-16.12.25-1

Event History

Aug 17, 2024
CVE Published
via MITRE·09:21 AM
Data Sourced
via MITRE·09:21 AM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·07:37 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-43824?

The severity of CVE-2024-43824 is classified as moderate.

2

How do I fix CVE-2024-43824?

To fix CVE-2024-43824, update your Linux kernel to version 6.12.11-1 or later.

3

What components are affected by CVE-2024-43824?

CVE-2024-43824 affects the PCI endpoint function in the Linux kernel, specifically versions from 5.7 to 6.10.3.

4

Is CVE-2024-43824 exploitable remotely?

CVE-2024-43824 is not considered to be remotely exploitable.

5

What are the potential impacts of CVE-2024-43824?

The potential impacts of CVE-2024-43824 include kernel instability and unintended behavior of PCI endpoint functionality.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203