Warning: Permanently added '10.128.0.186' (ED25519) to the list of known hosts. executing program [ 51.612064][ T5054] loop0: detected capacity change from 0 to 8192 [ 51.623401][ T5054] REISERFS warning: read_super_block: reiserfs filesystem is deprecated and scheduled to be removed from the kernel in 2025 [ 51.636717][ T5054] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 51.646552][ T5054] REISERFS (device loop0): using ordered data mode [ 51.653139][ T5054] reiserfs: using flush barriers [ 51.660020][ T5054] REISERFS (device loop0): journal params: device loop0, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 51.676846][ T5054] REISERFS (device loop0): checking transaction log (loop0) [ 51.686846][ T5054] REISERFS (device loop0): Using r5 hash to sort names [ 51.694098][ T5054] REISERFS (device loop0): using 3.5.x disk format [ 51.701703][ T5054] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 51.800030][ T5054] [ 51.802379][ T5054] ====================================================== [ 51.809675][ T5054] WARNING: possible circular locking dependency detected [ 51.816683][ T5054] 6.6.0-syzkaller-14142-g90b0c2b2edd1 #0 Not tainted [ 51.823350][ T5054] ------------------------------------------------------ [ 51.830548][ T5054] syz-executor357/5054 is trying to acquire lock: [ 51.837047][ T5054] ffff88807c8c73a0 (&mm->mmap_lock){++++}-{3:3}, at: __might_fault+0xa5/0x120 [ 51.846103][ T5054] [ 51.846103][ T5054] but task is already holding lock: [ 51.853665][ T5054] ffff888141368090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 [ 51.862638][ T5054] [ 51.862638][ T5054] which lock already depends on the new lock. [ 51.862638][ T5054] [ 51.873081][ T5054] [ 51.873081][ T5054] the existing dependency chain (in reverse order) is: [ 51.882282][ T5054] [ 51.882282][ T5054] -> #1 (&sbi->lock){+.+.}-{3:3}: [ 51.889487][ T5054] __mutex_lock+0x136/0xd60 [ 51.894528][ T5054] reiserfs_write_lock+0x7a/0xd0 [ 51.900026][ T5054] reiserfs_dirty_inode+0xf2/0x240 [ 51.905651][ T5054] __mark_inode_dirty+0x305/0xd90 [ 51.911271][ T5054] touch_atime+0x34d/0x590 [ 51.916196][ T5054] generic_file_mmap+0xc6/0x120 [ 51.921561][ T5054] mmap_region+0xef2/0x2240 [ 51.926668][ T5054] do_mmap+0x8d3/0xfa0 [ 51.931247][ T5054] vm_mmap_pgoff+0x1dc/0x410 [ 51.936547][ T5054] ksys_mmap_pgoff+0x4ff/0x6d0 [ 51.941821][ T5054] do_syscall_64+0x44/0x110 [ 51.946944][ T5054] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 51.953454][ T5054] [ 51.953454][ T5054] -> #0 (&mm->mmap_lock){++++}-{3:3}: [ 51.961622][ T5054] __lock_acquire+0x39ff/0x7f70 [ 51.966986][ T5054] lock_acquire+0x1e3/0x520 [ 51.972086][ T5054] __might_fault+0xc1/0x120 [ 51.977100][ T5054] reiserfs_ioctl+0x125/0x2f0 [ 51.982457][ T5054] __se_sys_ioctl+0xf8/0x170 [ 51.987737][ T5054] do_syscall_64+0x44/0x110 [ 51.992991][ T5054] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 51.999493][ T5054] [ 51.999493][ T5054] other info that might help us debug this: [ 51.999493][ T5054] [ 52.009713][ T5054] Possible unsafe locking scenario: [ 52.009713][ T5054] [ 52.017155][ T5054] CPU0 CPU1 [ 52.022505][ T5054] ---- ---- [ 52.027869][ T5054] lock(&sbi->lock); [ 52.031841][ T5054] lock(&mm->mmap_lock); [ 52.038856][ T5054] lock(&sbi->lock); [ 52.045537][ T5054] rlock(&mm->mmap_lock); [ 52.050050][ T5054] [ 52.050050][ T5054] *** DEADLOCK *** [ 52.050050][ T5054] [ 52.058276][ T5054] 1 lock held by syz-executor357/5054: [ 52.063751][ T5054] #0: ffff888141368090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 [ 52.073232][ T5054] [ 52.073232][ T5054] stack backtrace: [ 52.079107][ T5054] CPU: 1 PID: 5054 Comm: syz-executor357 Not tainted 6.6.0-syzkaller-14142-g90b0c2b2edd1 #0 [ 52.089168][ T5054] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 [ 52.099300][ T5054] Call Trace: [ 52.102673][ T5054] [ 52.105594][ T5054] dump_stack_lvl+0x1e7/0x2d0 [ 52.110357][ T5054] ? nf_tcp_handle_invalid+0x650/0x650 [ 52.115928][ T5054] ? print_circular_bug+0x12b/0x1a0 [ 52.121215][ T5054] check_noncircular+0x375/0x4a0 [ 52.126284][ T5054] ? print_deadlock_bug+0x600/0x600 [ 52.132173][ T5054] ? lockdep_lock+0x123/0x2b0 [ 52.136891][ T5054] ? mark_lock+0x9a/0x340 [ 52.141381][ T5054] ? _find_first_zero_bit+0xd4/0x100 [ 52.146680][ T5054] __lock_acquire+0x39ff/0x7f70 [ 52.151652][ T5054] ? lockdep_hardirqs_on+0x98/0x140 [ 52.156955][ T5054] ? verify_lock_unused+0x140/0x140 [ 52.162335][ T5054] ? __mutex_trylock_common+0x182/0x2e0 [ 52.167904][ T5054] ? __might_sleep+0xc0/0xc0 [ 52.172485][ T5054] ? trace_raw_output_contention_end+0xd0/0xd0 [ 52.178721][ T5054] lock_acquire+0x1e3/0x520 [ 52.183216][ T5054] ? __might_fault+0xa5/0x120 [ 52.187884][ T5054] ? read_lock_is_recursive+0x20/0x20 [ 52.193332][ T5054] ? reiserfs_write_lock+0x7a/0xd0 [ 52.198527][ T5054] ? __might_sleep+0xc0/0xc0 [ 52.203119][ T5054] ? __might_fault+0xa5/0x120 [ 52.207950][ T5054] __might_fault+0xc1/0x120 [ 52.212445][ T5054] ? __might_fault+0xa5/0x120 [ 52.217283][ T5054] reiserfs_ioctl+0x125/0x2f0 [ 52.221950][ T5054] ? __se_sys_ioctl+0xed/0x170 [ 52.226707][ T5054] ? reiserfs_unpack+0x610/0x610 [ 52.231636][ T5054] __se_sys_ioctl+0xf8/0x170 [ 52.236213][ T5054] do_syscall_64+0x44/0x110 [ 52.240706][ T5054] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 52.246594][ T5054] RIP: 0033:0x7fc860621d49 [ 52.250996][ T5054] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 d1 1a 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 [ 52.274162][ T5054] RSP: 002b:00007fff22167d58 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 52.282666][ T5054] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc860621d49 [ 52.290733][ T5054] RDX: 0000000000000000 RSI: 0000000080087601 RDI: 0000000000000005 executing program [ 52.298787][ T5054] RBP: 0000000000000000 R08: 00007fff22167e50 R09: 00007fff22167e50 [ 52.306925][ T5054] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff22167e50 [ 52.314894][ T5054] R13: 00007fff22167f30 R14: 431bde82d7b634db R15: 00007fc86066301d [ 52.323057][ T5054] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program