CVE-2024-43824
Last modified
CVE-2024-43824 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: PCI: endpoint: pci-epf-test: Make use of cached 'epc_features' in pci_epf_test_core_init() Instead of getting the epc_features from pci_epc_get_features() API, use the cached pci_epf_test::epc_features value to avoid the NULL check. Since the NULL check is already performed in pci_epf_test_bind(), having one more check in pci_epf_test_core_init() is redundant and it is not possible to hit the NULL pointer dereference. Also with commit a01e7214bef9 ("PCI: endpoint: Remove "core_init_notifier" flag"), 'epc_features' got dereferenced without the NULL check, leading to the following false positive Smatch warning: drivers/pci/endpoint/functions/pci-epf-test.c:784 pci_epf_test_core_init() error: we previously assumed 'epc_features' could be null (see line 747) Thus, remove the redundant NULL check and also use the epc_features:: {msix_capable/msi_capable} flags directly to avoid local variables. [kwilczynski: commit log]. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: PCI: endpoint: pci-epf-test: Make use of cached 'epc_features' in pci_epf_test_core_init() Instead of getting the epc_features from pci_epc_get_features() API, use the cached pci_epf_test::epc_features value to avoid the NULL check. Since the NULL check is already performed in pci_epf_test_bind(), having one more check in pci_epf_test_core_init() is redundant and it is not possible to hit the NULL pointer dereference. Also with commit a01e7214bef9 ("PCI: endpoint: Remove "core_init_notifier" flag"), 'epc_features' got dereferenced without the NULL check, leading to the following false positive Smatch warning: drivers/pci/endpoint/functions/pci-epf-test.c:784 pci_epf_test_core_init() error: we previously assumed 'epc_features' could be null (see line 747) Thus, remove the redundant NULL check and also use the epc_features:: {msix_capable/msi_capable} flags directly to avoid local variables. [kwilczynski: commit log]
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.7, < 6.10.3 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-43824?
How severe is CVE-2024-43824?
How do I fix CVE-2024-43824?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-43819In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-4382The CB (legacy) WordPress plugin through 0.9.4.18 does not h…6.5
- CVE-2024-43820In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-43821In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-43822In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-43823In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-43825In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-43826In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-43827In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-43828In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-43829In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-4383The Simple Membership plugin for WordPress is vulnerable to …5.4
Are you affected by CVE-2024-43824?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
