5.5

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

Analyzed
AliasesUBUNTU-CVE-2021-47005DEBIAN-CVE-2021-47005
Published 28-02-2024Last modified 11-05-2026

Vulnerability summary

CVE-2021-47005 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 14.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.24%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

Timeline

  1. 28-02-2024
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

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 ]---

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

15%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.24% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu6 products
  • linux-aws-fipsAll versions (No fix recorded)
  • linux-azure-fipsAll versions (No fix recorded)
  • linux-gcp-fipsAll versions (No fix recorded)
  • linux-intel-iot-realtimeAll versions (No fix recorded)
  • linux-raspi-realtimeAll versions (No fix recorded)
Linux2 products
  • linux≥ 2c04c5b8eef797dca99699cfb55ff42dd3c12c23, < bbed83d7060e07a5d309104d25a00f0a24441428 | ≥ 2c04c5b8eef797dca99699cfb55ff42dd3c12c23, < 679ebad058b8168f10e63876d63b0877fd2fe784 | ≥ 2c04c5b8eef797dca99699cfb55ff42dd3c12c23, < 0169d4f0bee44fdfef908c13ed21fcb326c38695 | ≥ 2c04c5b8eef797dca99699cfb55ff42dd3c12c23, < 6613bc2301ba291a1c5a90e1dc24cf3edf223c03 | 5.1
  • linux_kernel≥ 5.1, < 5.10.38 | ≥ 5.11, < 5.11.22 | ≥ 5.12, < 5.12.5
Debian1 product
  • linux< 5.10.38-1

3 vendors · 9 products

References

8 links