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-38338 – “NFS Linux Kernel Deadlock and Unlocked Folio Vulnerability”

    CVE-2025-38338 – “NFS Linux Kernel Deadlock and Unlocked Folio Vulnerability”

    July 10, 2025

    CVE ID : CVE-2025-38338

    Published : July 10, 2025, 9:15 a.m. | 4 hours, 51 minutes ago

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

    fs/nfs/read: fix double-unlock bug in nfs_return_empty_folio()

    Sometimes, when a file was read while it was being truncated by
    another NFS client, the kernel could deadlock because folio_unlock()
    was called twice, and the second call would XOR back the `PG_locked`
    flag.

    Most of the time (depending on the timing of the truncation), nobody
    notices the problem because folio_unlock() gets called three times,
    which flips `PG_locked` back off:

    1. vfs_read, nfs_read_folio, … nfs_read_add_folio,
    nfs_return_empty_folio
    2. vfs_read, nfs_read_folio, … netfs_read_collection,
    netfs_unlock_abandoned_read_pages
    3. vfs_read, … nfs_do_read_folio, nfs_read_add_folio,
    nfs_return_empty_folio

    The problem is that nfs_read_add_folio() is not supposed to unlock the
    folio if fscache is enabled, and a nfs_netfs_folio_unlock() check is
    missing in nfs_return_empty_folio().

    Rarely this leads to a warning in netfs_read_collection():

    ————[ cut here ]————
    R=0000031c: folio 10 is not locked
    WARNING: CPU: 0 PID: 29 at fs/netfs/read_collect.c:133 netfs_read_collection+0x7c0/0xf00
    […]
    Workqueue: events_unbound netfs_read_collection_worker
    RIP: 0010:netfs_read_collection+0x7c0/0xf00
    […]
    Call Trace:

    netfs_read_collection_worker+0x67/0x80
    process_one_work+0x12e/0x2c0
    worker_thread+0x295/0x3a0

    Most of the time, however, processes just get stuck forever in
    folio_wait_bit_common(), waiting for `PG_locked` to disappear, which
    never happens because nobody is really holding the folio lock.

    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-38339 – Linux Kernel PowerPC BPF Trampoline JIT Code Size Calculation Vulnerability
    Next Article CVE-2025-38335 – Linux Kernel gpio-keys Soft Lockup 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

    ClamAV 1.4.3 and 1.0.9 Released With Fix for Vulnerabilities that Enable Remote Code Execution

    Security

    Deploy Amazon SageMaker Projects with Terraform Cloud

    Machine Learning

    How much energy does a single chatbot prompt use? This AI tool can show you

    News & Updates

    CVE-2025-1700 – Motorola Software Fix DLL Hijacking Privilege Escalation

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    UAC-0226 Deploys GIFTEDCROOK Stealer via Malicious Excel Files Targeting Ukraine Development

    UAC-0226 Deploys GIFTEDCROOK Stealer via Malicious Excel Files Targeting Ukraine

    April 8, 2025

    The Computer Emergency Response Team of Ukraine (CERT-UA) has revealed a new set of cyber…

    CVE-2025-37812 – Linux Kernel USB cdns3 NCM Gadget Deadlock

    May 8, 2025

    Laravel Request Content Type Inspection Methods

    July 7, 2025

    BaitTrap: Over 17,000 Fake News Websites Caught Fueling Investment Fraud Globally

    July 8, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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