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

UVI-2021-1000335: PCI: endpoint: Fix NULL pointer dereference for ->get_features(). Affects Kernel versions >= 2c04c5b8eef797dca99699cfb55ff42dd3c12c23, < bbed83d7060e07a5d309104d25a00f0a24441428. 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 provides core functionality and acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the overall stability and security of the system. The PCI (Peripheral Component Interconnect) subsystem in the Kernel enables communication between devices connected to the PCI bus. The PCI endpoint driver is responsible for managing PCI devices that function as endpoints. These devices can be found in various hardware components, such as network adapters, sound cards, and storage controllers.

Vulnerability Detail

The vulnerability identified as UVI-2021-1000335 in the Kernel's PCI endpoint driver involves a NULL pointer dereference issue in the ->get_features() function. This vulnerability was introduced in version v5.1 of the Kernel by commit 2c04c5b8eef797dca99699cfb55ff42dd3c12c23 and was fixed in version v5.10.38 by commit bbed83d7060e07a5d309104d25a00f0a24441428. The vulnerability occurs when the ->get_features() function is called on a NULL pointer, leading to a crash or system instability. The impact and attack plausibility of this vulnerability have not been proven yet.

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 vulnerability UVI-2021-1000335 in the Kernel's PCI endpoint driver involves a NULL pointer dereference issue. It is crucial to update the Kernel to version v5.10.38 or later to mitigate the risk associated with this vulnerability. Promptly applying security patches and updates is essential to ensure the stability and security of the system. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can vary depending on the specific system and its usage. It could potentially lead to crashes, system instability, or even remote code execution if an attacker can exploit the NULL pointer dereference issue.

You can check if your system is affected by this vulnerability by verifying the version of the Kernel installed. If your system is running a version prior to v5.10.38, it is likely vulnerable. Additionally, you can use vulnerability scanning tools or services like Vulert (https://vulert.com) to assess the vulnerability status of your system.

As of now, there are no known exploits for this vulnerability. However, it is always recommended to apply security patches and updates promptly to mitigate the risk of potential exploits.

No specific workaround has been provided for this vulnerability. It is advised to update the Kernel to the fixed version as mentioned in the 'how_to_fix' section.

You can find more information about this vulnerability, including its technical details and the specific commits that introduced and fixed it, in the vulnerability database maintained by the Cloud Security Alliance. The source link is provided in the 'affected' section of this report.

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