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

GSD-2021-1000764: perf probe: Fix NULL pointer dereference in convert_variable_location(). Affects Kernel versions >= 66f69b2197167cb99330c77a550da50f1f597abc, < 091283e3d5eb9f424b85e71804fc26092c3c4915. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 functionalities such as process management, memory management, and device drivers. The vulnerability in question affects the Kernel and specifically the perf probe feature. Perf probe is a tool that allows users to dynamically instrument kernel functions for performance analysis. It enables the insertion of probes into kernel functions to collect data and analyze performance. However, a NULL pointer dereference vulnerability exists in the convert_variable_location() function of perf probe, which can lead to a system crash or potential code execution.

Vulnerability Detail

The vulnerability arises from a NULL pointer dereference in the convert_variable_location() function of perf probe. When processing a variable location, the function fails to handle a NULL pointer properly, leading to a crash or potential code execution. An attacker could potentially exploit this vulnerability to crash the system or execute arbitrary code with kernel-level privileges. 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 →

Workaround

There is no specific workaround mentioned for this vulnerability. Users are advised to update their Kernel to the fixed version as soon as possible.

Conclusion

The NULL pointer dereference vulnerability in the convert_variable_location() function of perf probe in the Kernel can lead to system crashes or potential code execution. It is crucial to update the Kernel to the fixed version to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that manages system resources and facilitates communication between hardware and software.

perf probe is a tool in the Kernel that allows users to dynamically instrument kernel functions for performance analysis.

A NULL pointer dereference occurs when a program attempts to access or manipulate memory using a pointer that points to NULL (a memory address with no value). This can lead to crashes or potential code execution.

The impact of this vulnerability includes system crashes and potential code execution with kernel-level privileges.

To fix this vulnerability, users should update their Kernel to the latest version available, which includes the fix for this issue.

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