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

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      June 4, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      June 4, 2025

      How To Prevent WordPress SQL Injection Attacks

      June 4, 2025

      Smashing Animations Part 4: Optimising SVGs

      June 4, 2025

      I test AI tools for a living. Here are 3 image generators I actually use and how

      June 4, 2025

      The world’s smallest 65W USB-C charger is my latest travel essential

      June 4, 2025

      This Spotlight alternative for Mac is my secret weapon for AI-powered search

      June 4, 2025

      Tech prophet Mary Meeker just dropped a massive report on AI trends – here’s your TL;DR

      June 4, 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

      Beyond AEM: How Adobe Sensei Powers the Full Enterprise Experience

      June 4, 2025
      Recent

      Beyond AEM: How Adobe Sensei Powers the Full Enterprise Experience

      June 4, 2025

      Simplify Negative Relation Queries with Laravel’s whereDoesntHaveRelation Methods

      June 4, 2025

      Cast Model Properties to a Uri Instance in 12.17

      June 4, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      My Favorite Obsidian Plugins and Their Hidden Settings

      June 4, 2025
      Recent

      My Favorite Obsidian Plugins and Their Hidden Settings

      June 4, 2025

      Rilasciata /e/OS 3.0: Nuova Vita per Android Senza Google, Più Privacy e Controllo per l’Utente

      June 4, 2025

      Rilasciata Oracle Linux 9.6: Scopri le Novità e i Miglioramenti nella Sicurezza e nelle Prestazioni

      June 4, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Security»Common Vulnerabilities and Exposures (CVEs)»CVE-2025-37999 – “Erofs Linux Kernel File System Lockup Vulnerability”

    CVE-2025-37999 – “Erofs Linux Kernel File System Lockup Vulnerability”

    May 29, 2025

    CVE ID : CVE-2025-37999

    Published : May 29, 2025, 2:15 p.m. | 2 hours, 47 minutes ago

    Description : In the Linux kernel, the following vulnerability has been resolved:

    fs/erofs/fileio: call erofs_onlinefolio_split() after bio_add_folio()

    If bio_add_folio() fails (because it is full),
    erofs_fileio_scan_folio() needs to submit the I/O request via
    erofs_fileio_rq_submit() and allocate a new I/O request with an empty
    `struct bio`. Then it retries the bio_add_folio() call.

    However, at this point, erofs_onlinefolio_split() has already been
    called which increments `folio->private`; the retry will call
    erofs_onlinefolio_split() again, but there will never be a matching
    erofs_onlinefolio_end() call. This leaves the folio locked forever
    and all waiters will be stuck in folio_wait_bit_common().

    This bug has been added by commit ce63cb62d794 (“erofs: support
    unencoded inodes for fileio”), but was practically unreachable because
    there was room for 256 folios in the `struct bio` – until commit
    9f74ae8c9ac9 (“erofs: shorten bvecs[] for file-backed mounts”) which
    reduced the array capacity to 16 folios.

    It was now trivial to trigger the bug by manually invoking readahead
    from userspace, e.g.:

    posix_fadvise(fd, 0, st.st_size, POSIX_FADV_WILLNEED);

    This should be fixed by invoking erofs_onlinefolio_split() only after
    bio_add_folio() has succeeded. This is safe: asynchronous completions
    invoking erofs_onlinefolio_end() will not unlock the folio because
    erofs_fileio_scan_folio() is still holding a reference to be released
    by erofs_onlinefolio_end() at the end.

    Severity: 0.0 | NA

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

    Source: Read More

    Hostinger
    Facebook Twitter Reddit Email Copy Link
    Previous ArticleCVE-2025-46078 – HuoCMS Remote Code Execution
    Next Article CVE-2025-37998 – Openvswitch Netlink Attribute Parsing Vulnerability

    Related Posts

    Security

    HPE StoreOnce Faces Critical CVE-2025-37093 Vulnerability — Urges Immediate Patch Upgrade

    June 4, 2025
    Security

    Google fixes Chrome zero-day with in-the-wild exploit (CVE-2025-5419)

    June 4, 2025
    Leave A Reply Cancel Reply

    Hostinger

    Continue Reading

    See-Through Parallel Universes with Your Mind’s Eye – The Course Guidebook: Chapter 8

    Artificial Intelligence

    Images altered to trick machine vision can influence humans too

    Artificial Intelligence

    Data Structures and Algorithms (DSA): A Complete Tutorial

    Development

    concurrently lets you run multiple commands concurrently

    Linux

    Highlights

    News & Updates

    No RTX 5080? No problem. Alienware’s “incredibly powerful” m18 R2 with RTX 4080 is $500 off.

    February 13, 2025

    NVIDIA’s RTX 4080 Laptop GPU remains one of the best pieces of hardware for gamers,…

    Google Pixel 9a vs. iPhone 16e: My camera comparison has a clear winner

    April 23, 2025

    Serpent OS: Un Futuro a Rischio a Causa di Difficoltà Finanziarie

    February 5, 2025

    Le notizie minori del mondo GNU/Linux e dintorni della settimana nr 48/2024

    December 1, 2024
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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