LiveActive security incident?Get immediate response
CVE Record

CVE-2021-47005: PCI: endpoint: Fix NULL pointer dereference for ->get_features()

In the Linux kernel, the following vulnerability has been resolved: PCI: endpoint: Fix NULL pointer dereference for ->get_features() get_features ops of pci_epc_ops may return NULL, causing NULL pointer dereference in pci_epf_test_alloc_space function. Let us add a check for pci_epc_feature pointer in pci_epf_test_bind before we access it to avoid any such NULL pointer dereference and return -ENOTSUPP in case pci_epc_feature is not found. When the patch is not applied and EPC features is not implemented in the platform driver, we see the following dump due to kernel NULL pointer dereference. Call trace: pci_epf_test_bind+0xf4/0x388 pci_epf_bind+0x3c/0x80 pci_epc_epf_link+0xa8/0xcc configfs_symlink+0x1a4/0x48c vfs_symlink+0x104/0x184 do_symlinkat+0x80/0xd4 __arm64_sys_symlinkat+0x1c/0x24 el0_svc_common.constprop.3+0xb8/0x170 el0_svc_handler+0x70/0x88 el0_svc+0x8/0x640 Code: d2800581 b9403ab9 f9404ebb 8b394f60 (f9400400) ---[ end trace a438e3c5a24f9df0 ]---

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

This Linux kernel issue can crash a system in a specific PCI endpoint test path when the platform driver does not provide expected endpoint feature data. The source describes a NULL pointer dereference, not data theft or remote code execution. Business urgency depends on whether the kernel and PCI endpoint functionality are present in deployed devices.

Executive priority

Prioritize for embedded or hardware-facing Linux fleets where PCI endpoint functionality is used. For ordinary workloads without this feature, handle through normal kernel patch management unless vendor guidance raises urgency.

Technical view

CVE-2021-47005 fixes a NULL pointer dereference in the Linux PCI endpoint framework. pci_epc_ops->get_features() may return NULL, and pci_epf_test_bind accessed that pointer before checking it. The fix adds a NULL check and returns -ENOTSUPP when endpoint controller features are unavailable.

Likely exposure

Likely limited to Linux systems using PCI endpoint controller functionality and the endpoint test function, especially embedded, ARM64, or hardware-validation environments. General-purpose servers without PCI endpoint mode are less likely to be exposed based on the provided evidence.

Exploitation context

The bundle provides a kernel call trace triggered through configfs symlink handling, but no KEV listing, public exploitation claim, CVSS score, or proof of malicious exploitation. Treat active exploitation as unconfirmed.

Researcher notes

Evidence supports a reliability-impact kernel NULL dereference in a narrow PCI endpoint code path. The provided data does not establish privilege requirements, attacker reachability, CVSS impact, or exploitation in the wild. Validate exposure against actual kernel config, platform driver behavior, and backported patches.

Mitigation direction

  • Identify kernels matching the affected Linux version ranges in the CVE bundle.
  • Apply vendor or distribution kernel updates containing the linked stable fixes.
  • If patching is delayed, restrict access to PCI endpoint configuration interfaces.
  • Check vendor guidance for platform-specific mitigation or backport status.

Validation and detection

  • Confirm whether deployed kernels include the referenced stable commits or vendor backports.
  • Inventory systems that enable PCI endpoint controller and endpoint test functionality.
  • Review kernel logs for NULL pointer dereference traces involving pci_epf_test_bind.
  • Verify configfs access is limited to trusted administrators.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-47005 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
3Timeline events
2ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux2c04c5b8eef797dca99699cfb55ff42dd3c12c23, 2c04c5b8eef797dca99699cfb55ff42dd3c12c23, 2c04c5b8eef797dca99699cfb55ff42dd3c12c23, 2c04c5b8eef797dca99699cfb55ff42dd3c12c23unaffected
LinuxLinux5.1, 0, 5.10.38, 5.11.22, 5.12.5, 5.13affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.