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

      10 Ways Node.js Development Boosts AI & Real-Time Data (2025-2026 Edition)

      August 18, 2025

      Looking to Outsource React.js Development? Here’s What Top Agencies Are Doing Right

      August 18, 2025

      Beyond The Hype: What AI Can Really Do For Product Design

      August 18, 2025

      BrowserStack launches Chrome extension that bundles 10+ manual web testing tools

      August 18, 2025

      How much RAM does your Linux PC really need in 2025?

      August 19, 2025

      Have solar at home? Supercharge that investment with this other crucial component

      August 19, 2025

      I replaced my MacBook charger with this compact wall unit – and wish I’d done it sooner

      August 19, 2025

      5 reasons to switch to an immutable Linux distro today – and which to try first

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

      Sentry Adds Logs Support for Laravel Apps

      August 19, 2025
      Recent

      Sentry Adds Logs Support for Laravel Apps

      August 19, 2025

      Efficient Context Management with Laravel’s Remember Functions

      August 19, 2025

      Laravel Devtoolbox: Your Swiss Army Knife Artisan CLI

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

      From plateau predictions to buggy rollouts — Bill Gates’ GPT-5 skepticism looks strangely accurate

      August 18, 2025
      Recent

      From plateau predictions to buggy rollouts — Bill Gates’ GPT-5 skepticism looks strangely accurate

      August 18, 2025

      We gave OpenAI’s open-source AI a kid’s test — here’s what happened

      August 18, 2025

      With GTA 6, next-gen exclusives, and a console comeback on the horizon, Xbox risks sitting on the sidelines — here’s why

      August 18, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Security»Common Vulnerabilities and Exposures (CVEs)»CVE-2025-38221 – Linux Kernel ext4 Out-of-Bounds Punch Offset Vulnerability

    CVE-2025-38221 – Linux Kernel ext4 Out-of-Bounds Punch Offset Vulnerability

    July 4, 2025

    CVE ID : CVE-2025-38221

    Published : July 4, 2025, 2:15 p.m. | 4 hours, 57 minutes ago

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

    ext4: fix out of bounds punch offset

    Punching a hole with a start offset that exceeds max_end is not
    permitted and will result in a negative length in the
    truncate_inode_partial_folio() function while truncating the page cache,
    potentially leading to undesirable consequences.

    A simple reproducer:

    truncate -s 9895604649994 /mnt/foo
    xfs_io -c “pwrite 8796093022208 4096” /mnt/foo
    xfs_io -c “fpunch 8796093022213 25769803777” /mnt/foo

    kernel BUG at include/linux/highmem.h:275!
    Oops: invalid opcode: 0000 [#1] SMP PTI
    CPU: 3 UID: 0 PID: 710 Comm: xfs_io Not tainted 6.15.0-rc3
    Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-2.fc40 04/01/2014
    RIP: 0010:zero_user_segments.constprop.0+0xd7/0x110
    RSP: 0018:ffffc90001cf3b38 EFLAGS: 00010287
    RAX: 0000000000000005 RBX: ffffea0001485e40 RCX: 0000000000001000
    RDX: 000000000040b000 RSI: 0000000000000005 RDI: 000000000040b000
    RBP: 000000000040affb R08: ffff888000000000 R09: ffffea0000000000
    R10: 0000000000000003 R11: 00000000fffc7fc5 R12: 0000000000000005
    R13: 000000000040affb R14: ffffea0001485e40 R15: ffff888031cd3000
    FS: 00007f4f63d0b780(0000) GS:ffff8880d337d000(0000)
    knlGS:0000000000000000
    CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    CR2: 000000001ae0b038 CR3: 00000000536aa000 CR4: 00000000000006f0
    DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
    Call Trace:

    truncate_inode_partial_folio+0x3dd/0x620
    truncate_inode_pages_range+0x226/0x720
    ? bdev_getblk+0x52/0x3e0
    ? ext4_get_group_desc+0x78/0x150
    ? crc32c_arch+0xfd/0x180
    ? __ext4_get_inode_loc+0x18c/0x840
    ? ext4_inode_csum+0x117/0x160
    ? jbd2_journal_dirty_metadata+0x61/0x390
    ? __ext4_handle_dirty_metadata+0xa0/0x2b0
    ? kmem_cache_free+0x90/0x5a0
    ? jbd2_journal_stop+0x1d5/0x550
    ? __ext4_journal_stop+0x49/0x100
    truncate_pagecache_range+0x50/0x80
    ext4_truncate_page_cache_block_range+0x57/0x3a0
    ext4_punch_hole+0x1fe/0x670
    ext4_fallocate+0x792/0x17d0
    ? __count_memcg_events+0x175/0x2a0
    vfs_fallocate+0x121/0x560
    ksys_fallocate+0x51/0xc0
    __x64_sys_fallocate+0x24/0x40
    x64_sys_call+0x18d2/0x4170
    do_syscall_64+0xa7/0x220
    entry_SYSCALL_64_after_hwframe+0x76/0x7e

    Fix this by filtering out cases where the punching start offset exceeds
    max_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-38222 – Linux ext4 Inline Data Overflow
    Next Article moserial – serial terminal for GNOME desktop

    Related Posts

    Development

    Workday Staff Fall to Social Engineering; Hackers Access Third-Party CRM Platform

    August 18, 2025
    Development

    Get Ready for the Black Hat USA 2025 CISO Podcast Series from The Cyber Express and Suraksha Catalyst

    August 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

    Pivot tables and many-to-many relationships

    Development

    CVE-2025-47419 – Crestron Automate VX Insecure Communication Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Redis DoS Vulnerability: Attackers Can Exhaust Server Memory or Cause Crashes

    Security

    CVE-2025-3501 – Keycloak Certificate Verification Bypass

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    Machine Learning

    Stream multi-channel audio to Amazon Transcribe using the Web Audio API

    June 9, 2025

    Multi-channel transcription streaming is a feature of Amazon Transcribe that can be used in many…

    8 AI Tips for Web Developers (and Their Careers)

    July 16, 2025

    CVE-2025-40597 – D-Link SMA100 Series Heap-based Buffer Overflow Vulnerability

    July 23, 2025

    Microsoft will add the Calendar Flyout Clock to Windows 11’s Notification Center

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

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