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

      Sunshine And March Vibes (2025 Wallpapers Edition)

      June 2, 2025

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

      June 2, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      June 2, 2025

      How To Prevent WordPress SQL Injection Attacks

      June 2, 2025

      How Red Hat just quietly, radically transformed enterprise server Linux

      June 2, 2025

      OpenAI wants ChatGPT to be your ‘super assistant’ – what that means

      June 2, 2025

      The best Linux VPNs of 2025: Expert tested and reviewed

      June 2, 2025

      One of my favorite gaming PCs is 60% off right now

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

      `document.currentScript` is more useful than I thought.

      June 2, 2025
      Recent

      `document.currentScript` is more useful than I thought.

      June 2, 2025

      Adobe Sensei and GenAI in Practice for Enterprise CMS

      June 2, 2025

      Over The Air Updates for React Native Apps

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

      You can now open ChatGPT on Windows 11 with Win+C (if you change the Settings)

      June 2, 2025
      Recent

      You can now open ChatGPT on Windows 11 with Win+C (if you change the Settings)

      June 2, 2025

      Microsoft says Copilot can use location to change Outlook’s UI on Android

      June 2, 2025

      TempoMail — Command Line Temporary Email in Linux

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

    Development

    Fake Recruiter Emails Target CFOs Using Legit NetBird Tool Across 6 Global Regions

    June 2, 2025
    Development

    Qualcomm Fixes 3 Zero-Days Used in Targeted Android Attacks via Adreno GPU

    June 2, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    GenomeTools – genome analysis software

    Linux

    First Ubuntu Monthly Snapshot Now Available to Download

    Linux

    nativephp/electron

    Development

    WordFinder app: Harnessing generative AI on AWS for aphasia communication

    Machine Learning

    Highlights

    CVE-2025-46778 – Apache HTTP Server Denial of Service

    April 30, 2025

    CVE ID : CVE-2025-46778

    Published : April 30, 2025, 3:15 a.m. | 3 hours, 58 minutes ago

    Description : Rejected reason: Not used

    Severity: 0.0 | NA

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

    Microsoft ha risolto il bug che impediva il dual boot tra Windows 11 e le distribuzioni GNU/Linux

    May 17, 2025

    Using Tabulator in Lightning Web Components

    July 29, 2024

    Enhancing Numeric Validation with Laravel’s Fluent Rule Interface

    April 3, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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