SecurityContext

CVE-2024-43824: Linux Kernel - Null Pointer Dereference

  • Cve: CVE-2024-43824
  • Name: Linux Kernel - Null Pointer Dereference
  • 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]
  • Impact: Potential null pointer dereference could lead to kernel panic or privilege escalation if exploited.
  • Remediation: Update to the latest Linux kernel version where this issue is fixed.
  • Vulnerability type: null_pointer_dereference
  • Vulnerability impact: denial_of_service, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.0027
  • Epss percentile: 0.19453
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-08-17T10:15:08Z
  • Age in days: 829
  • Modified at: 2026-10-30T13:17:33Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-43824
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-476NULL Pointer Dereference

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/5a5095a8bd1bd349cce1c879e5e44407a34dda8aPatch
https://git.kernel.org/stable/c/af4ad016abb1632ff7ee598a6037952b495e5b80Patch
https://git.kernel.org/stable/c/5c71be3476088ab490d48a468b54d791f91241b8
https://git.kernel.org/stable/c/97cee643a825808711cc78475fd61a30824b7a0f

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 5.7, < 6.10.3nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports