ci2 starts bisection 2023-07-01 09:09:00.606577777 +0000 UTC m=+62679.335084742 bisecting fixing commit since 3ecc37918c80ffdbfa8f08d3e75a0a9fca1c1979 building syzkaller on 67be1ae742603edad9c97d30b6ed69f9bbe2ffa8 ensuring issue is reproducible on original commit 3ecc37918c80ffdbfa8f08d3e75a0a9fca1c1979 testing commit 3ecc37918c80ffdbfa8f08d3e75a0a9fca1c1979 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f1b227370dc78a88ccb390e27bb9849f4d39bc9385055d4a98a7bf76fc9f183e run #0: crashed: INFO: rcu detected stall in corrupted run #1: crashed: INFO: rcu detected stall in corrupted run #2: crashed: INFO: rcu detected stall in corrupted run #3: crashed: INFO: rcu detected stall in corrupted run #4: crashed: KASAN: stack-out-of-bounds Read in xfs_buf_lock run #5: crashed: INFO: rcu detected stall in corrupted run #6: crashed: INFO: rcu detected stall in corrupted run #7: crashed: KASAN: stack-out-of-bounds Read in xfs_buf_lock run #8: crashed: INFO: rcu detected stall in corrupted run #9: crashed: INFO: rcu detected stall in corrupted run #10: crashed: INFO: rcu detected stall in corrupted run #11: crashed: INFO: rcu detected stall in corrupted run #12: crashed: INFO: rcu detected stall in corrupted run #13: crashed: KASAN: stack-out-of-bounds Read in xfs_buf_lock run #14: crashed: KASAN: stack-out-of-bounds Read in xfs_buf_lock run #15: crashed: WARNING: locking bug in xfs_buf_lock run #16: crashed: KASAN: stack-out-of-bounds Read in xfs_buf_lock run #17: crashed: KASAN: stack-out-of-bounds Read in xfs_buf_lock run #18: crashed: KASAN: stack-out-of-bounds Read in xfs_buf_lock run #19: crashed: KASAN: stack-out-of-bounds Read in xfs_buf_lock testing current HEAD a507db1d8fdc39802415e4d2ef6d1aecd67927fa testing commit a507db1d8fdc39802415e4d2ef6d1aecd67927fa gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ca5b81626bc398b1f91013e23edfa1ecd627e47f47e398af1d275a2eacaebfc4 all runs: crashed: KASAN: stack-out-of-bounds Read in xfs_buf_lock crash still not fixed/happens on the oldest tested release revisions tested: 2, total time: 55m6.398753614s (build: 38m22.498760465s, test: 15m14.068441309s) crash still not fixed on HEAD or HEAD had kernel test errors commit msg: Merge tag '6.5-rc-smb3-client-fixes-part1' of git://git.samba.org/sfrench/cifs-2.6 crash: KASAN: stack-out-of-bounds Read in xfs_buf_lock XFS (loop1): Quotacheck: Done. syz-executor.1 (9376): drop_caches: 2 ================================================================== BUG: KASAN: stack-out-of-bounds in __lock_acquire+0x11c/0x7ef0 Read of size 8 at addr ffffc90005d878d8 by task syz-executor.1/9376 CPU: 0 PID: 9376 Comm: syz-executor.1 Not tainted 6.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: dump_stack_lvl+0x12e/0x1d0 print_report+0x163/0x510 kasan_report+0x107/0x140 __lock_acquire+0x11c/0x7ef0 lock_acquire+0x1b9/0x4f0 _raw_spin_lock_irqsave+0xb7/0x100 down+0x39/0xc0 xfs_buf_lock+0xde/0x2e0 xfs_buf_delwri_submit_buffers+0x159/0x760 xfs_buf_delwri_submit+0xb8/0x240 xfs_qm_shrink_scan+0x1b8/0x380 do_shrink_slab+0x3de/0xa50 shrink_slab+0x59e/0x7b0 drop_slab+0xee/0x1c0 drop_caches_sysctl_handler+0x5c/0xf0 proc_sys_call_handler+0x499/0x770 do_iter_write+0x759/0xbf0 iter_file_splice_write+0x7cb/0xf70 direct_splice_actor+0xe5/0x1a0 splice_direct_to_actor+0x2e4/0x8a0 do_splice_direct+0x28e/0x3d0 do_sendfile+0x527/0xcd0 __se_sys_sendfile64+0xaa/0x160 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7461e8c0d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7462bae168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f7461fabf80 RCX: 00007f7461e8c0d9 RDX: 0000000020002080 RSI: 0000000000000004 RDI: 0000000000000005 RBP: 00007f7461ee7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000870 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeeff2306f R14: 00007f7462bae300 R15: 0000000000022000 The buggy address belongs to the virtual mapping at [ffffc90005d80000, ffffc90005d89000) created by: copy_process+0x40a/0x3c30 The buggy address belongs to the physical page: page:ffffea00008cc6c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2331b memcg:ffff88802583b902 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff ffff88802583b902 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x102dc2(GFP_HIGHUSER|__GFP_NOWARN|__GFP_ZERO), pid 9377, tgid 9377 (syz-executor.4), ts 211129382612, free_ts 211054161849 get_page_from_freelist+0x3187/0x3300 __alloc_pages+0x255/0x670 __vmalloc_node_range+0x7bb/0x1090 dup_task_struct+0x5c3/0x720 copy_process+0x40a/0x3c30 kernel_clone+0x17d/0x5d0 __x64_sys_clone+0x268/0x2e0 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd page last free stack trace: free_unref_page_prepare+0x8fe/0xa10 free_unref_page_list+0x596/0x830 release_pages+0x1a07/0x1bc0 __folio_batch_release+0x66/0xe0 mapping_try_invalidate+0x3f1/0x4c0 xfs_free_buftarg+0x77/0xd0 xfs_fs_put_super+0x21e/0x2b0 generic_shutdown_super+0x113/0x2d0 kill_block_super+0x63/0xa0 deactivate_locked_super+0x75/0xd0 cleanup_mnt+0x358/0x3e0 task_work_run+0x20a/0x290 exit_to_user_mode_loop+0xd1/0xf0 exit_to_user_mode_prepare+0xb1/0x140 syscall_exit_to_user_mode+0x54/0x270 do_syscall_64+0x4d/0xc0 Memory state around the buggy address: ffffc90005d87780: 00 00 00 00 f1 f1 f1 f1 00 00 00 00 00 00 00 00 ffffc90005d87800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc90005d87880: 00 00 00 00 00 00 00 00 f3 f3 f3 f3 f3 f3 f3 f3 ^ ffffc90005d87900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90005d87980: 00 00 00 00 f1 f1 f1 f1 00 00 f3 f3 00 00 00 00 ==================================================================