NULL pointer dereference in convert_variable_location() in Kernel

Kernel Updated 02 Oct 2025

Summary

25/06/2021
N/A
No i
Unrated
Not published

UVI-2021-1000795: perf probe: Fix NULL pointer dereference in convert_variable_location(). Affects Kernel versions >= 66f69b2197167cb99330c77a550da50f1f597abc, < eba7c76a5651392a9132c54aceddc5af8cfb0938. 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 Penetration testing for web, API and mobile 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 enable the proper functioning of the system. However, a vulnerability has been identified in the Kernel that affects the convert_variable_location() function in the perf probe module.

Vulnerability Detail

The vulnerability arises due to a NULL pointer dereference in the convert_variable_location() function of the perf probe module. This vulnerability can be exploited by an attacker to cause a denial of service (DoS) condition or potentially execute arbitrary code. The issue was introduced in version v5.5 of the Linux Kernel and has been fixed in version v5.12.10.

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 →

Workaround

No workaround has been mentioned for this vulnerability.

Conclusion

In conclusion, a vulnerability has been identified in the Kernel that can result in a NULL pointer dereference in the convert_variable_location() function of the perf probe module. This vulnerability can lead to a denial of service (DoS) condition or potential execution of arbitrary code. It is recommended to update the Linux Kernel to version v5.12.10 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to a denial of service (DoS) condition or potential execution of arbitrary code.

You can use the Vulert Playground at Vulert 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.

Yes, a patch has been released in version v5.12.10 of the Linux Kernel. It is recommended to update to this version or later to fix the vulnerability.

The exact attack vector and exploitability of this vulnerability have not been proven. However, it is possible that an attacker could exploit this vulnerability remotely.

There are no known instances of this vulnerability being exploited in the wild at the time 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