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-38347 – F2FS Inline Data Corruption Denial of Service (DoS) Vulnerability

    CVE-2025-38347 – F2FS Inline Data Corruption Denial of Service (DoS) Vulnerability

    July 10, 2025

    CVE ID : CVE-2025-38347

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

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

    f2fs: fix to do sanity check on ino and xnid

    syzbot reported a f2fs bug as below:

    INFO: task syz-executor140:5308 blocked for more than 143 seconds.
    Not tainted 6.14.0-rc7-syzkaller-00069-g81e4f8d68c66 #0
    “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
    task:syz-executor140 state:D stack:24016 pid:5308 tgid:5308 ppid:5306 task_flags:0x400140 flags:0x00000006
    Call Trace:

    context_switch kernel/sched/core.c:5378 [inline]
    __schedule+0x190e/0x4c90 kernel/sched/core.c:6765
    __schedule_loop kernel/sched/core.c:6842 [inline]
    schedule+0x14b/0x320 kernel/sched/core.c:6857
    io_schedule+0x8d/0x110 kernel/sched/core.c:7690
    folio_wait_bit_common+0x839/0xee0 mm/filemap.c:1317
    __folio_lock mm/filemap.c:1664 [inline]
    folio_lock include/linux/pagemap.h:1163 [inline]
    __filemap_get_folio+0x147/0xb40 mm/filemap.c:1917
    pagecache_get_page+0x2c/0x130 mm/folio-compat.c:87
    find_get_page_flags include/linux/pagemap.h:842 [inline]
    f2fs_grab_cache_page+0x2b/0x320 fs/f2fs/f2fs.h:2776
    __get_node_page+0x131/0x11b0 fs/f2fs/node.c:1463
    read_xattr_block+0xfb/0x190 fs/f2fs/xattr.c:306
    lookup_all_xattrs fs/f2fs/xattr.c:355 [inline]
    f2fs_getxattr+0x676/0xf70 fs/f2fs/xattr.c:533
    __f2fs_get_acl+0x52/0x870 fs/f2fs/acl.c:179
    f2fs_acl_create fs/f2fs/acl.c:375 [inline]
    f2fs_init_acl+0xd7/0x9b0 fs/f2fs/acl.c:418
    f2fs_init_inode_metadata+0xa0f/0x1050 fs/f2fs/dir.c:539
    f2fs_add_inline_entry+0x448/0x860 fs/f2fs/inline.c:666
    f2fs_add_dentry+0xba/0x1e0 fs/f2fs/dir.c:765
    f2fs_do_add_link+0x28c/0x3a0 fs/f2fs/dir.c:808
    f2fs_add_link fs/f2fs/f2fs.h:3616 [inline]
    f2fs_mknod+0x2e8/0x5b0 fs/f2fs/namei.c:766
    vfs_mknod+0x36d/0x3b0 fs/namei.c:4191
    unix_bind_bsd net/unix/af_unix.c:1286 [inline]
    unix_bind+0x563/0xe30 net/unix/af_unix.c:1379
    __sys_bind_socket net/socket.c:1817 [inline]
    __sys_bind+0x1e4/0x290 net/socket.c:1848
    __do_sys_bind net/socket.c:1853 [inline]
    __se_sys_bind net/socket.c:1851 [inline]
    __x64_sys_bind+0x7a/0x90 net/socket.c:1851
    do_syscall_x64 arch/x86/entry/common.c:52 [inline]
    do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
    entry_SYSCALL_64_after_hwframe+0x77/0x7f

    Let’s dump and check metadata of corrupted inode, it shows its xattr_nid
    is the same to its i_ino.

    dump.f2fs -i 3 chaseyu.img.raw
    i_xattr_nid [0x 3 : 3]

    So that, during mknod in the corrupted directory, it tries to get and
    lock inode page twice, result in deadlock.

    – f2fs_mknod
    – f2fs_add_inline_entry
    – f2fs_get_inode_page — lock dir’s inode page
    – f2fs_init_acl
    – f2fs_acl_create(dir,..)
    – __f2fs_get_acl
    – f2fs_getxattr
    – lookup_all_xattrs
    – __get_node_page — try to lock dir’s inode page

    In order to fix this, let’s add sanity check on ino and xnid.

    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-3396 – GitLab EE API Request Forgery Vulnerability
    Next Article CVE-2025-38348 – “Intersil p54 WiFi Interface Buffer Overflow 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

    Beware of phone scams demanding money for ‘missed jury duty’

    Development

    CVE-2025-5996 – GitLab HTTP Response Denial of Service Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Best early Prime Day smartwatch and fitness tracker deals: My 10 favorite sales live now

    News & Updates

    CVE-2025-27021 – Infinera G42 Sudoers Configuration Memory Access Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    Development

    India Launches e-Zero FIR System to Fast-Track Financial Cybercrime Cases

    May 21, 2025

    Indian Ministry of Home Affairs (MHA) has introduced the e-Zero FIR system, a digital-forward solution…

    CVE-2025-5693 – PHPGurukul Human Metapneumovirus Testing Management System SQL Injection

    June 5, 2025

    CVE-2025-49485 – Balbooa Forms SQL Injection Vulnerability

    July 18, 2025

    CVE-2025-1731 – “USG FLEX H series PostgreSQL Command Privilege Escalation Vulnerability”

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

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