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

      A Week In The Life Of An AI-Augmented Designer

      August 22, 2025

      This week in AI updates: Gemini Code Assist Agent Mode, GitHub’s Agents panel, and more (August 22, 2025)

      August 22, 2025

      Microsoft adds Copilot-powered debugging features for .NET in Visual Studio

      August 21, 2025

      Blackstone portfolio company R Systems Acquires Novigo Solutions, Strengthening its Product Engineering and Full-Stack Agentic-AI Capabilities

      August 21, 2025

      Google Pixel 10 Pro vs. iPhone 16 Pro: I’ve used both handsets, and there’s a clear winner

      August 25, 2025

      Master these 48 Windows keyboard shortcuts and finish work early

      August 25, 2025

      Why the Pixel 10 is making this longtime iPhone user reconsider their next phone

      August 25, 2025

      Google Pixel 10 Pro Fold vs. Samsung Galaxy Z Fold 7: I compared both Androids, and here’s the winner

      August 25, 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

      PERFIXION 2025: Powering AI Ideas

      August 25, 2025
      Recent

      PERFIXION 2025: Powering AI Ideas

      August 25, 2025

      MongoDB Data Types

      August 23, 2025

      Building Cross-Platform Alerts with Laravel’s Notification Framework

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

      Gears of War returns, Helldivers 2 jumps ship, and Xbox players win big — Xbox’s Aug 25–31 lineup proves the console war is getting interesting again

      August 25, 2025
      Recent

      Gears of War returns, Helldivers 2 jumps ship, and Xbox players win big — Xbox’s Aug 25–31 lineup proves the console war is getting interesting again

      August 25, 2025

      Reports say Windows 11 update is bricking drives — is yours on the list?

      August 25, 2025

      Razer finally remembered I don’t live in China, so now we can all get this cool Gengar gaming headset

      August 25, 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

    Development

    Malicious Go Module Poses as SSH Brute-Force Tool, Steals Credentials via Telegram Bot

    August 25, 2025
    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-8208 – Spexo Addons for Elementor WordPress Stored Cross-Site Scripting

    August 24, 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

    The New Hacker’s List and an Old Debate: Would you Hire a Hacker?

    Development

    Java never goes out of style: Celebrating 30 years of the language

    Tech & Work

    CVE-2023-47030 – NCR Terminal Handler Remote Code Execution and Information Disclosure Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Write for Us – Technology, Business & Marketing

    Development

    Highlights

    CVE-2025-22854 – PingFederate Google Adapter HTTP Response Handling Buffer Overflow

    June 15, 2025

    CVE ID : CVE-2025-22854

    Published : June 15, 2025, 3:15 p.m. | 10 hours, 7 minutes ago

    Description : Improper handling of non-200 http responses in the PingFederate Google Adapter leads to thread exhaustion under normal usage conditions.

    Severity: 0.0 | NA

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

    CVE-2025-32813 – Infoblox NETMRI Unauthenticated Command Injection Vulnerability

    May 22, 2025

    Copilot ask, edit, and agent modes: What they do and when to use them

    May 2, 2025

    Tailoring foundation models for your business needs: A comprehensive guide to RAG, fine-tuning, and hybrid approaches

    May 28, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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