PCI: endpoint: Fix NULL pointer dereference for ->get_features() in Kernel

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

GSD-2021-1000220: PCI: endpoint: Fix NULL pointer dereference for ->get_features(). Affects Kernel versions >= 2c04c5b8eef797dca99699cfb55ff42dd3c12c23, < 0169d4f0bee44fdfef908c13ed21fcb326c38695. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a crucial component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functions and services to ensure the proper functioning of the system. The PCI (Peripheral Component Interconnect) subsystem within the Kernel handles communication between devices connected to the PCI bus. The vulnerability in question arises from a NULL pointer dereference issue in the PCI endpoint subsystem.

Vulnerability Detail

The vulnerability identified in the PCI endpoint subsystem of the Kernel involves a NULL pointer dereference when accessing the ->get_features() function. This issue can be exploited by an attacker to cause a denial-of-service condition or potentially execute arbitrary code with kernel privileges. The vulnerability was introduced in version v5.1 of the Kernel and has been fixed in version v5.12.5. It is crucial to update to the fixed version to mitigate the risk associated with this vulnerability.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Conclusion

The NULL pointer dereference vulnerability in the PCI endpoint subsystem of the Kernel can have severe consequences, including denial-of-service and potential code execution with kernel privileges. It is crucial to update the Kernel to version v5.12.5 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can lead to a denial-of-service condition or potential execution of arbitrary code with kernel privileges.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will provide real-time alerts for open-source vulnerabilities, including this one.

At the time of this report, there are no known exploits for this vulnerability. However, it is crucial to apply the fix as soon as possible to prevent any potential exploitation.

The recommended approach is to update the Kernel to the fixed version. However, if updating is not immediately feasible, it is advisable to implement other security measures such as network segmentation, strict access controls, and regular monitoring to minimize the risk of exploitation.

You can find more information about this vulnerability in the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and the vulnerability database maintained by the Cloud Security Alliance (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000220.json).

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback