Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      From Data To Decisions: UX Strategies For Real-Time Dashboards

      September 13, 2025

      Honeycomb launches AI observability suite for developers

      September 13, 2025

      Low-Code vs No-Code Platforms for Node.js: What CTOs Must Know Before Investing

      September 12, 2025

      ServiceNow unveils Zurich AI platform

      September 12, 2025

      Building personal apps with open source and AI

      September 12, 2025

      What Can We Actually Do With corner-shape?

      September 12, 2025

      Craft, Clarity, and Care: The Story and Work of Mengchu Yao

      September 12, 2025

      Distribution Release: Q4OS 6.1

      September 12, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Learning from PHP Log to File Example

      September 13, 2025
      Recent

      Learning from PHP Log to File Example

      September 13, 2025

      Online EMI Calculator using PHP – Calculate Loan EMI, Interest, and Amortization Schedule

      September 13, 2025

      Package efficiency and dependency hygiene

      September 13, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Dmitry — The Deep Magic

      September 13, 2025
      Recent

      Dmitry — The Deep Magic

      September 13, 2025

      Right way to record and share our Terminal sessions

      September 13, 2025

      Windows 11 Powers Up WSL: How GPU Acceleration & Kernel Upgrades Change the Game

      September 13, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Security»Common Vulnerabilities and Exposures (CVEs)»CVE-2025-37878 – Linux Kernel Perf Core Context Assignment Vulnerability

    CVE-2025-37878 – Linux Kernel Perf Core Context Assignment Vulnerability

    May 9, 2025

    CVE ID : CVE-2025-37878

    Published : May 9, 2025, 7:16 a.m. | 4 hours, 51 minutes ago

    Description : 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 immediately after the child event is allocated. Ensure that
    child_event->ctx is non-NULL before any subsequent error path within
    inherit_event calls free_event(), satisfying the assumptions of the
    cleanup code.

    Details:

    There’s no clear Fixes tag, because this bug is a side-effect of
    multiple interacting commits over time (up to 15 years old), not
    a single regression.

    The code initially incremented refcount then assigned context
    immediately after the child_event was created. Later, an early
    validity check for child_event was added before the
    refcount/assignment. Even later, a WARN_ON_ONCE() cleanup check was
    added, assuming event->ctx is valid if the pmu_ctx is valid.
    The problem is that the WARN_ON_ONCE() could trigger after the initial
    check passed but before child_event->ctx was assigned, violating its
    precondition. The solution is to assign child_event->ctx right after
    its initial validation. This ensures the context exists for any
    subsequent checks or cleanup routines, resolving the WARN_ON_ONCE().

    To resolve it, defer the refcount update and child_event->ctx assignment
    directly after child_event->pmu_ctx is set but before checking if the
    parent event is orphaned. The cleanup routine depends on
    event->pmu_ctx being non-NULL before it verifies event->ctx is
    non-NULL. This also maintains the author’s original intent of passing
    in child_ctx to find_get_pmu_context before its refcount/assignment.

    [ mingo: Expanded the changelog from another email by Gabriel Shahrouzi. ]

    Severity: 0.0 | NA

    Visit the link for more details, such as CVSS details, affected products, timeline, and more…

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleCVE-2025-37879 – “Linux 9p Client Signed Integer Vulnerability”
    Next Article CVE-2025-37880 – Linux um Time-Travel Scheduling Vulnerability (Deadlock)

    Related Posts

    Development

    Cursor AI Code Editor Flaw Enables Silent Code Execution via Malicious Repositories

    September 13, 2025
    Development

    Student Insider Threats Driving Surge in UK School Data Breaches, ICO Warns

    September 13, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    CVE-2025-47417 – Crestron Automate VX Sensitive Information Exposure

    Common Vulnerabilities and Exposures (CVEs)

    Cyber Security News Letter: Key Updates on Attacks, Vulnerabilities, & Data Breaches

    Security

    How to Use Wireshark Filters to Analyze Your Network Traffic

    Development

    Crypto Has 1000x Potential Still in 2025: The Human AI “Srinidhi Ranganathan” Reveals 3 Shocking Picks

    Artificial Intelligence

    Highlights

    CVE-2025-53179 – Adobe PDF Preview Module Null Pointer Dereference Vulnerability

    July 7, 2025

    CVE ID : CVE-2025-53179

    Published : July 7, 2025, 3:15 a.m. | 3 hours, 7 minutes ago

    Description : Null pointer dereference vulnerability in the PDF preview module
    Impact: Successful exploitation of this vulnerability may affect function stability.

    Severity: 6.5 | MEDIUM

    Visit the link for more details, such as CVSS details, affected products, timeline, and more…

    Black Mirror’s creator was so addicted to Balatro last year it’s made it into the Netflix show

    Black Mirror’s creator was so addicted to Balatro last year it’s made it into the Netflix show

    April 10, 2025

    CVE-2025-5138 – Bitwarden PDF File Handler Cross Site Scripting Vulnerability

    May 25, 2025

    CVE-2025-54946 – SUNNET Corporate Training Management System SQL Injection Vulnerability

    August 30, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.