Wiz Agents & Workflows are here

CVE-2025-37878
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-37878 is a vulnerability discovered in the Linux kernel's perf/core subsystem, specifically affecting the __free_event() function. The vulnerability was published on May 9, 2025, and impacts various Linux distributions including Debian's bullseye, bookworm, and trixie releases (NVD, Debian Tracker).

Technical details

The vulnerability stems from a timing issue in the event context handling where WARN_ON_ONCE() could trigger after the initial check passed but before child_event->ctx was assigned. This issue resulted from multiple interacting commits over a 15-year period, affecting how the code handles context assignment and reference counting for performance monitoring events. Red Hat has assigned this vulnerability a CVSS v3.1 score of 7.0 with the vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (Red Hat, Wiz).

Impact

The vulnerability affects multiple Linux distributions and has received high CVSS scores for Confidentiality, Integrity, and Availability, suggesting potential serious consequences if exploited (Wiz).

Mitigation and workarounds

The vulnerability has been fixed in Debian sid version 6.12.27-1. For Red Hat Enterprise Linux 9, the fix is currently deferred. The solution involves moving the get_ctx(child_ctx) call and the child_event->ctx assignment to occur immediately after the child event is allocated, ensuring that child_event->ctx is non-NULL before any subsequent error path (Debian Tracker, Red Hat).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23395CRITICAL9.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoYesMar 25, 2026
CVE-2026-23399MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoYesMar 28, 2026
CVE-2026-23398MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoYesMar 26, 2026
CVE-2026-23397MEDIUM4.4
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesMar 26, 2026
CVE-2026-31788N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace-kvm
NoYesMar 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management