EXT4-fs (loop0): Remounting filesystem read-only EXT4-fs error (device loop0) in ext4_mb_clear_bb:6183: Corrupt filesystem EXT4-fs (loop0): Remounting filesystem read-only ================================================================== BUG: KASAN: out-of-bounds in ext4_ext_rm_leaf fs/ext4/extents.c:2715 [inline] BUG: KASAN: out-of-bounds in ext4_ext_remove_space+0x2150/0x4390 fs/ext4/extents.c:2937 Read of size 18446744073709551556 at addr ffff88801ecda048 by task syz-executor.0/4736 CPU: 1 PID: 4736 Comm: syz-executor.0 Not tainted 5.15.183-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x27b/0x290 mm/kasan/generic.c:189 memmove+0x25/0x60 mm/kasan/shadow.c:54 ext4_ext_rm_leaf fs/ext4/extents.c:2715 [inline] ext4_ext_remove_space+0x2150/0x4390 fs/ext4/extents.c:2937 ext4_punch_hole+0x7c6/0xc20 fs/ext4/inode.c:4100 ext4_fallocate+0x2a4/0x1ee0 fs/ext4/extents.c:4763 vfs_fallocate+0x587/0x6f0 fs/open.c:308 ioctl_preallocate fs/ioctl.c:294 [inline] file_ioctl fs/ioctl.c:-1 [inline] do_vfs_ioctl+0x1b70/0x1de0 fs/ioctl.c:853 __do_sys_ioctl fs/ioctl.c:872 [inline] __se_sys_ioctl+0x83/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fa4064d0e69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa40580f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fa4065ff120 RCX: 00007fa4064d0e69 RDX: 0000000020000080 RSI: 000000004030582b RDI: 0000000000000004 RBP: 00007fa40651d47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fa4065ff120 R15: 00007ffed42c5f28 The buggy address belongs to the page: page:ffffea00007b3680 refcount:2 mapcount:0 mapping:ffff888016cacf30 index:0x20 pfn:0x1ecda memcg:ffff888016a7c000 aops:def_blk_aops ino:700000 flags: 0xfff00000022036(referenced|uptodate|lru|active|private|mappedtodisk|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000022036 ffffea0001f62f88 ffffea0001e0a448 ffff888016cacf30 raw: 0000000000000020 ffff888073c64000 00000002ffffffff ffff888016a7c000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x112c40(GFP_NOFS|__GFP_NOWARN|__GFP_NORETRY|__GFP_HARDWALL), pid 4498, ts 94270717784, free_ts 93521514524 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x1b77/0x1c60 mm/page_alloc.c:4192 __alloc_pages+0x1e1/0x470 mm/page_alloc.c:5466 __page_cache_alloc+0xd2/0x3f0 mm/filemap.c:1022 page_cache_ra_unbounded+0x255/0x930 mm/readahead.c:216 do_page_cache_ra mm/readahead.c:269 [inline] force_page_cache_ra+0x3e5/0x440 mm/readahead.c:301 page_cache_sync_readahead include/linux/pagemap.h:833 [inline] filemap_get_pages mm/filemap.c:2551 [inline] filemap_read+0x589/0x2480 mm/filemap.c:2634 blkdev_read_iter+0x11d/0x150 block/fops.c:560 call_read_iter include/linux/fs.h:2166 [inline] new_sync_read fs/read_write.c:404 [inline] vfs_read+0x725/0xcf0 fs/read_write.c:485 ksys_read+0x14d/0x250 fs/read_write.c:623 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page+0x94/0x280 mm/page_alloc.c:3396 __vunmap+0x8ab/0xa40 mm/vmalloc.c:2621 free_work+0x56/0x80 mm/vmalloc.c:95 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Memory state around the buggy address: ffff88801ecd9f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88801ecd9f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88801ecda000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff88801ecda080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88801ecda100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================