Kernel Vulnerability in Linux Package: Unordered PMU Contexts Leading to Warnings

linux Updated 02 Oct 2025

Summary

01/04/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-21895: In the Linux kernel, the following vulnerability has been resolved: perf/core: Order the PMU list to fix warning about unordered pmu_ctx_list Syskaller triggers a warning due to prev_epc->pmu != next_epc->pmu in perf_eve... Affects linux versions < 6.12.19-1. Fixed in 6.12.19-1. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is a core component of the Debian operating system, responsible for managing hardware resources and providing essential services to applications. It supports a wide range of functionalities, including process management, memory management, and device control. The vulnerability in question arises from an issue with the performance monitoring unit (PMU) context ordering, which can lead to warnings during performance analysis tasks.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified related to the ordering of the PMU context list. This issue can trigger warnings in the Syskaller tool due to discrepancies in the order of pmu_ctx_list between parent and child processes. Specifically, when events or PMUs are added, the order of contexts can differ, leading to potential mismanagement of performance monitoring tasks. The vulnerability can be exploited during performance recording, causing confusion in the context management and potentially impacting system performance.

How To Fix

Minimum fixed version

6.12.19-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a workaround, users can avoid triggering the warning by ensuring that performance monitoring events are managed carefully, particularly when forking processes. However, the best course of action is to apply the patch as soon as it is available.

Conclusion

The vulnerability in the Linux kernel regarding unordered PMU contexts poses a risk during performance monitoring tasks. It is crucial to update to the patched version 6.12.19-1 to mitigate this issue. Users are encouraged to monitor their systems for vulnerabilities using tools like Vulert to ensure ongoing security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability can lead to warnings during performance monitoring tasks, which may affect the accuracy of performance data collected by tools like Syskaller.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By uploading your manifest file, you can check if your application is affected by this vulnerability.

If an immediate update is not possible, consider implementing workarounds by managing performance monitoring events carefully to avoid triggering the warnings.

Yes, the vulnerability is fixed in version 6.12.19-1 of the Linux package.

Detailed information about the vulnerability can be found in the Debian CVE database and other security advisories related to the Linux kernel.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.19-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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