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

      Why Non-Native Content Designers Improve Global UX

      July 18, 2025

      DevOps won’t scale without platform engineering and here’s why your teams are still stuck

      July 18, 2025

      This week in AI dev tools: Slack’s enterprise search, Claude Code’s analytics dashboard, and more (July 18, 2025)

      July 18, 2025

      Report: 71% of tech leaders won’t hire devs without AI skills

      July 17, 2025

      Could OpenAI’s rumored browser be a Chrome-killer? Here’s what I’m expecting

      July 18, 2025

      My favorite lens and screen-cleaning kit keeps my tech spotless, and it only costs $8

      July 18, 2025

      AI’s biggest impact on your workforce is still to come – 3 ways to avoid getting left behind

      July 18, 2025

      Remedy offers update on ‘FBC: Firebreak,’ details coming improvements — “We’ve seen many players come into the game and leave within the first hour.”

      July 18, 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 details of TC39’s last meeting

      July 18, 2025
      Recent

      The details of TC39’s last meeting

      July 18, 2025

      Online Examination System using PHP and MySQL

      July 18, 2025

      A tricky, educational quiz: it’s about time..

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

      CAD Sketcher – constraint-based geometry sketcher

      July 18, 2025
      Recent

      CAD Sketcher – constraint-based geometry sketcher

      July 18, 2025

      7 Best Free and Open Source Linux FTP Servers

      July 18, 2025

      Best Free and Open Source Alternatives to Autodesk FBX Review

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

    Development

    Critical mcp-remote Vulnerability Enables Remote Code Execution, Impacting 437,000+ Downloads

    July 18, 2025
    Development

    CISA Adds Citrix NetScaler CVE-2025-5777 to KEV Catalog as Active Exploits Target Enterprises

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

    One of World of Warcraft’s deadliest entities makes a world-shattering return after nearly 20 years — and he’s city-sized

    News & Updates

    Stretch Break – take regular breaks

    Linux

    Converting Array Values to Enum Instances with Laravel’s mapInto Method

    Development

    CVE-2025-3722 – Symantec ePO Path Traversal Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    Google goes all in on agent development, Gemini at Google Cloud Next 25

    April 9, 2025

    Google Cloud Next 25 is taking place today, and Google has announced a number of…

    CVE-2025-5236 – NinjaTeam Chat for Telegram WordPress Stored Cross-Site Scripting

    May 30, 2025

    How One Path Traversal in Grafana Unleashed XSS, Open Redirect and SSRF (CVE-2025–4123)

    June 3, 2025

    Mandiant: kwetsbaarheden in vpn-software vaakst aangevallen vorig jaar

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

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