Memory Management Flaw in Linux Kernel: CVE-2022-48950

linux Updated 02 Oct 2025

Summary

21/10/2024
N/A
No i
High
7.8

CVE-2022-48950: In the Linux kernel, the following vulnerability has been resolved: perf: Fix perf_pending_task() UaF Per syzbot it is possible for perf_pending_task() to run after the event is free()'d. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Linux kernel is the core component of many operating systems, managing hardware and system resources. It provides essential services for all other parts of the operating system, including process management, memory management, and device management. The kernel is critical for system stability and performance, making it a prime target for vulnerabilities. CVE-2022-48950 highlights a specific flaw in the kernel's performance event handling, which can lead to potential security risks.

Vulnerability Detail

CVE-2022-48950 is a use-after-free (UaF) vulnerability in the Linux kernel's performance event handling. It arises when the function perf_pending_task() is executed after the associated event has been freed. This can occur in two scenarios: if task_work was queued before the event was destroyed, or if the event destruction itself queues the task_work. The vulnerability can lead to undefined behavior, including potential system crashes or exploitation by malicious actors. The issue is exacerbated by the fact that task_work_cancel() cannot be used effectively in this context, as it may not find the relevant entry due to the state of the current task's work list.

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 provided for this vulnerability. The best course of action is to apply the available patch by updating the kernel to the fixed version.

Conclusion

CVE-2022-48950 represents a significant vulnerability in the Linux kernel that can lead to serious security issues. Users are strongly advised to update their systems to the patched version to protect against potential exploitation. Regular monitoring and updating of software are essential practices for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-48950 is a vulnerability in the Linux kernel that allows for use-after-free conditions in performance event handling, potentially leading to system instability or exploitation.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By uploading your manifest file like package-lock.json, you can check if your application is affected by CVE-2022-48950.

The risks include system crashes, undefined behavior, and potential exploitation by attackers, which could compromise system security.

Yes, a patch is available in the form of an updated kernel version 6.1.4-1 for Debian systems.

While there are no specific workarounds, it is crucial to prioritize updating your kernel as soon as possible to mitigate the risks associated with this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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