Critical Vulnerability in Linux Kernel: Context Handling Issue in Event Management

linux Updated 02 Oct 2025

Summary

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

CVE-2025-37878: In the Linux kernel, the following vulnerability has been resolved: perf/core: Fix WARN_ON(!ctx) in __free_event() for partial init Move the get_ctx(child_ctx) call and the child_event->ctx assignment to occur immediatel... 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 a core component of many operating systems, providing essential services for hardware management, process control, and system security. It is widely used in various distributions, including Debian. This vulnerability affects the event management system within the kernel, specifically related to the handling of context for performance events, which can lead to system instability and unexpected behavior.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the event management system where a context (ctx) for a child event may not be properly assigned before being accessed. This issue arises from a series of interacting commits over the past 15 years, leading to a situation where the cleanup code may trigger warnings due to the assumption that the context is valid. If the context is NULL when accessed, it could lead to system crashes or undefined behavior, impacting the stability and reliability of the operating system.

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. It is recommended to apply the patch as soon as it becomes available to mitigate any potential risks.

Conclusion

The CVE-2025-37878 vulnerability in the Linux kernel poses significant risks to system stability due to improper context handling in event management. Users are encouraged to update their systems promptly to ensure protection against potential exploits.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-37878 is a vulnerability in the Linux kernel related to improper handling of event contexts, which can lead to system instability.

If exploited, this vulnerability can cause system crashes or undefined behavior, affecting the overall stability of the operating system.

All versions of the Linux kernel in Debian 11, 12, and 13 are affected. It is crucial to check for updates and apply patches.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.

While there are no specific workarounds, it is advisable to prioritize updating your kernel to mitigate 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