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

      CodeSOD: A Unique Way to Primary Key

      July 22, 2025

      BrowserStack launches Figma plugin for detecting accessibility issues in design phase

      July 22, 2025

      Parasoft brings agentic AI to service virtualization in latest release

      July 22, 2025

      Node.js vs. Python for Backend: 7 Reasons C-Level Leaders Choose Node.js Talent

      July 21, 2025

      The best CRM software with email marketing in 2025: Expert tested and reviewed

      July 22, 2025

      This multi-port car charger can power 4 gadgets at once – and it’s surprisingly cheap

      July 22, 2025

      I’m a wearables editor and here are the 7 Pixel Watch 4 rumors I’m most curious about

      July 22, 2025

      8 ways I quickly leveled up my Linux skills – and you can too

      July 22, 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

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025
      Recent

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025

      Zero Trust & Cybersecurity Mesh: Your Org’s Survival Guide

      July 22, 2025

      Execute Ping Commands and Get Back Structured Data in PHP

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

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025
      Recent

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025

      “I don’t think I changed his mind” — NVIDIA CEO comments on H20 AI GPU sales resuming in China following a meeting with President Trump

      July 22, 2025

      Galaxy Z Fold 7 review: Six years later — Samsung finally cracks the foldable code

      July 22, 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

    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

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-44658 – Netgear RAX30 PHP-FPM Misconfigured Extension Bypass Vulnerability

    July 22, 2025
    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-7393 – Drupal Mail Login Authentication Bypass

    July 22, 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

    billboard.js 3.16.0 release: ✨ bar trending line & improved resizing performance!

    Development

    CVE-2025-46227 – Brecht Custom Related Posts Cross-site Scripting (XSS)

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-50143 – Apache HTTP Server Remote Command Execution Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    ASUS Vivobook S16 with Ryzen AI 7 drops to $999 for Prime Day

    Operating Systems

    Highlights

    You will always remember this as the day you finally caught FamousSparrow

    April 10, 2025

    ESET researchers uncover the toolset used by the FamousSparrow APT group, including two undocumented versions…

    Community News: Latest PEAR Releases (04.07.2025)

    April 7, 2025

    The latest robot vacuum innovation will have carpet and upholstery lovers drooling

    April 7, 2025

    CVE-2025-3629 – IBM InfoSphere Information Server Authentication Bypass

    June 21, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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