Critical Vulnerability in Linux Kernel: CVE-2022-50266 - Kprobes Disarm Flaw

linux Updated 02 Oct 2025

Summary

15/09/2025
N/A
No i
Unrated
Not published

CVE-2022-50266: In the Linux kernel, the following vulnerability has been resolved: kprobes: Fix check for probe enabled in kill_kprobe() In kill_kprobe(), the check whether disarm_kprobe_ftrace() needs to be called always fails. Affects linux versions 5.10.103-1 – 6.9.9-1. 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 Linux kernel is the core component of many operating systems, providing essential services for hardware and software interactions. It is known for its stability, performance, and security features. However, like any complex software, it is susceptible to vulnerabilities. CVE-2022-50266 specifically affects the kprobes functionality, which allows for dynamic instrumentation of the kernel, enabling developers to insert probes into running kernel code for debugging and monitoring purposes.

Vulnerability Detail

CVE-2022-50266 is a vulnerability in the Linux kernel's kprobes mechanism. The issue arises in the kill_kprobe() function, where the check for whether to call disarm_kprobe_ftrace() fails due to the premature setting of the KPROBE_FLAG_GONE flag. This flaw can lead to a NULL pointer dereference when a probe is enabled, potentially causing system instability or crashes. The vulnerability was introduced by a previous commit aimed at fixing another issue, highlighting the complexities of kernel development and the importance of thorough testing.

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

Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it is available to mitigate any risks associated with this issue.

Conclusion

CVE-2022-50266 represents a significant vulnerability in the Linux kernel's kprobes functionality, necessitating prompt attention from users to ensure system stability and security. By applying the recommended patches, users can mitigate the risks associated with this issue.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-50266 is a vulnerability in the Linux kernel that affects the kprobes functionality, potentially leading to system crashes due to a NULL pointer dereference.

You can check if your system is affected by using tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time.

Kprobes are a feature in the Linux kernel that allows developers to insert probes into running kernel code for debugging and monitoring purposes.

This vulnerability can lead to system instability and crashes, making it critical to apply the necessary patches as soon as they are available.

More information can be found in the official CVE database or by visiting the Vulert website, which provides insights into open-source vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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