ci2 starts bisection 2023-10-03 22:56:22.201744713 +0000 UTC m=+82093.352924581 bisecting fixing commit since e6fda526d9db2c7897dacb9daff8c80e13ce893d building syzkaller on cdae481e33658b7c827516ae5c7f16007c505832 ensuring issue is reproducible on original commit e6fda526d9db2c7897dacb9daff8c80e13ce893d testing commit e6fda526d9db2c7897dacb9daff8c80e13ce893d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 087c228a1ef41c492291d5fd800ed1fd42fa2cf3b75be4e62f7fda4a86135a38 all runs: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space representative crash: KASAN: out-of-bounds Read in ext4_ext_remove_space, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit e6fda526d9db2c7897dacb9daff8c80e13ce893d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5d8173ea4583429fd0598c86bd43c07973f71308d2a1bd74f16ee3fe33ad3c94 all runs: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space representative crash: KASAN: out-of-bounds Read in ext4_ext_remove_space, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed kconfig minimization: base=3876 full=7644 leaves diff=1998 split chunks (needed=false): <1998> split chunk #0 of len 1998 into 5 parts testing without sub-chunk 1/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit e6fda526d9db2c7897dacb9daff8c80e13ce893d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 34fe338a7ff580af705feb5772e8808b547b974639fd7a9f4cde3b0bacb195da run #0: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #1: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #2: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #3: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #4: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #5: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #6: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #7: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #8: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #9: OK representative crash: KASAN: out-of-bounds Read in ext4_ext_remove_space, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit e6fda526d9db2c7897dacb9daff8c80e13ce893d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9c2cd83364cf3356a2677ca38777b9a4586dd9304b99dbdc591ac164e55c7069 all runs: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space representative crash: KASAN: out-of-bounds Read in ext4_ext_remove_space, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit e6fda526d9db2c7897dacb9daff8c80e13ce893d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 29dde7ffbe3a1eb2f0c4f526b2b43a4d04501b0d6e897d88f9c360c1dc69ce9f run #0: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #1: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #2: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #3: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #4: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #5: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #6: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #7: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #8: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #9: OK representative crash: KASAN: out-of-bounds Read in ext4_ext_remove_space, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit e6fda526d9db2c7897dacb9daff8c80e13ce893d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bc81f606484bf4c228901637f377f9361e23e9056882d80a65c514b2f3d2d11c all runs: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space representative crash: KASAN: out-of-bounds Read in ext4_ext_remove_space, types: [KASAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit e6fda526d9db2c7897dacb9daff8c80e13ce893d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 35c2f241df82f2e3d5b61d9c9396aa1b8ffc5b9d1984d6cc6bc34a74c291b89a all runs: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space representative crash: KASAN: out-of-bounds Read in ext4_ext_remove_space, types: [KASAN] the chunk can be dropped disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing current HEAD cbf3a2cb156a2c911d8f38d8247814b4c07f49a2 testing commit cbf3a2cb156a2c911d8f38d8247814b4c07f49a2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b1e7ac59c0864b35453c3c904e4b685c149584cf4e69fae70465acfb9d83d2d1 run #0: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #1: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #2: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #3: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #4: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #5: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #6: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #7: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #8: crashed: KASAN: out-of-bounds Read in ext4_ext_remove_space run #9: OK representative crash: KASAN: out-of-bounds Read in ext4_ext_remove_space, types: [KASAN] crash still not fixed/happens on the oldest tested release revisions tested: 8, total time: 1h49m8.407780198s (build: 36m36.825094418s, test: 1h9m22.263545147s) crash still not fixed or there were kernel test errors commit msg: Merge tag 'nfs-for-6.6-3' of git://git.linux-nfs.org/projects/anna/linux-nfs crash: KASAN: out-of-bounds Read in ext4_ext_remove_space EXT4-fs (loop5): Remounting filesystem read-only ================================================================== BUG: KASAN: out-of-bounds in ext4_ext_rm_leaf fs/ext4/extents.c:2736 [inline] BUG: KASAN: out-of-bounds in ext4_ext_remove_space+0x1ae7/0x49c0 fs/ext4/extents.c:2958 Read of size 18446744073709551508 at addr ffff888125d63078 by task syz-executor.5/4162 CPU: 1 PID: 4162 Comm: syz-executor.5 Not tainted 6.6.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xf8/0x260 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0x163/0x540 mm/kasan/report.c:475 kasan_report+0x175/0x1b0 mm/kasan/report.c:588 kasan_check_range+0x27e/0x290 mm/kasan/generic.c:187 __asan_memmove+0x29/0x70 mm/kasan/shadow.c:94 ext4_ext_rm_leaf fs/ext4/extents.c:2736 [inline] ext4_ext_remove_space+0x1ae7/0x49c0 fs/ext4/extents.c:2958 ext4_punch_hole+0x5b9/0x8b0 fs/ext4/inode.c:4011 ext4_fallocate+0x2c3/0x16c0 fs/ext4/extents.c:4706 vfs_fallocate+0x316/0x3d0 fs/open.c:324 do_vfs_ioctl+0x1b7e/0x2400 fs/ioctl.c:850 __do_sys_ioctl fs/ioctl.c:869 [inline] __se_sys_ioctl+0x4c/0xf0 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fafd2960ae9 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:00007fafca1020c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fafd2a80050 RCX: 00007fafd2960ae9 RDX: 0000000020000080 RSI: 000000004030582b RDI: 0000000000000004 RBP: 00007fafd29ac47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fafd2a80050 R15: 00007ffdde76c1d8 The buggy address belongs to the physical page: page:ffffea00049758c0 refcount:2 mapcount:0 mapping:ffff8881104faa30 index:0x2b pfn:0x125d63 memcg:ffff88811a2b6000 aops:def_blk_aops ino:700005 flags: 0x20000000000812c(referenced|uptodate|lru|active|private|node=0|zone=2) page_type: 0xffffffff() raw: 020000000000812c ffffea0004975a48 ffff88810c732030 ffff8881104faa30 raw: 000000000000002b ffff888120be11d0 00000002ffffffff ffff88811a2b6000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Movable, gfp_mask 0x148c48(GFP_NOFS|__GFP_NOFAIL|__GFP_COMP|__GFP_HARDWALL|__GFP_MOVABLE), pid 4144, tgid 4143 (syz-executor.5), ts 75982454757, free_ts 75928538436 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x26e/0x290 mm/page_alloc.c:1536 prep_new_page mm/page_alloc.c:1543 [inline] get_page_from_freelist+0x3074/0x3430 mm/page_alloc.c:3170 __alloc_pages+0x255/0x650 mm/page_alloc.c:4426 filemap_alloc_folio+0xc6/0x3a0 mm/filemap.c:976 __filemap_get_folio+0x306/0x600 mm/filemap.c:1936 grow_dev_page fs/buffer.c:1058 [inline] grow_buffers fs/buffer.c:1118 [inline] __getblk_slow fs/buffer.c:1145 [inline] __getblk_gfp+0x1a4/0x460 fs/buffer.c:1439 sb_getblk_gfp include/linux/buffer_head.h:351 [inline] ext4_ext_grow_indepth fs/ext4/extents.c:1334 [inline] ext4_ext_create_new_leaf fs/ext4/extents.c:1435 [inline] ext4_ext_insert_extent+0xf9b/0x54e0 fs/ext4/extents.c:2102 ext4_ext_map_blocks+0x1b81/0x6380 fs/ext4/extents.c:4306 ext4_map_blocks+0x831/0x1800 fs/ext4/inode.c:621 _ext4_get_block+0x1dc/0x5a0 fs/ext4/inode.c:763 __block_write_begin_int+0x3b7/0x1380 fs/buffer.c:2120 ext4_write_begin+0x5f8/0xfd0 ext4_da_write_begin+0x2b8/0x7a0 fs/ext4/inode.c:2865 generic_perform_write+0x30c/0x580 mm/filemap.c:3969 ext4_buffered_write_iter+0x2bd/0x4d0 fs/ext4/file.c:299 ext4_file_write_iter+0x171/0x1540 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1136 [inline] free_unref_page_prepare+0x7b6/0x8d0 mm/page_alloc.c:2312 free_unref_page_list+0xb3/0x630 mm/page_alloc.c:2451 release_pages+0x174d/0x18f0 mm/swap.c:1042 __folio_batch_release+0x66/0xe0 mm/swap.c:1062 folio_batch_release include/linux/pagevec.h:83 [inline] truncate_inode_pages_range+0x331/0xaf0 mm/truncate.c:371 ext4_punch_hole+0x37b/0x8b0 fs/ext4/inode.c:3977 ext4_fallocate+0x2c3/0x16c0 fs/ext4/extents.c:4706 vfs_fallocate+0x316/0x3d0 fs/open.c:324 do_vfs_ioctl+0x1b7e/0x2400 fs/ioctl.c:850 __do_sys_ioctl fs/ioctl.c:869 [inline] __se_sys_ioctl+0x4c/0xf0 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Memory state around the buggy address: ffff888125d62f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888125d62f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff888125d63000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff888125d63080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888125d63100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================