Warning: Permanently added '10.128.1.126' (ED25519) to the list of known hosts. executing program [ 53.009767][ T5052] loop0: detected capacity change from 0 to 8192 [ 53.021037][ T5052] REISERFS warning: read_super_block: reiserfs filesystem is deprecated and scheduled to be removed from the kernel in 2025 [ 53.034156][ T5052] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 53.044153][ T5052] REISERFS (device loop0): using ordered data mode [ 53.050998][ T5052] reiserfs: using flush barriers [ 53.057233][ T5052] 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 [ 53.074098][ T5052] REISERFS (device loop0): checking transaction log (loop0) [ 53.084075][ T5052] REISERFS (device loop0): Using tea hash to sort names [ 53.092028][ T5052] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 53.169948][ T5052] [ 53.172304][ T5052] ====================================================== [ 53.179324][ T5052] WARNING: possible circular locking dependency detected [ 53.186324][ T5052] 6.7.0-rc4-syzkaller #0 Not tainted [ 53.191612][ T5052] ------------------------------------------------------ [ 53.198610][ T5052] syz-executor356/5052 is trying to acquire lock: [ 53.205026][ T5052] ffff888141f9f090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 [ 53.214009][ T5052] [ 53.214009][ T5052] but task is already holding lock: [ 53.221358][ T5052] ffff88801d618510 (sb_pagefaults){.+.+}-{0:0}, at: do_page_mkwrite+0x197/0x470 [ 53.230388][ T5052] [ 53.230388][ T5052] which lock already depends on the new lock. [ 53.230388][ T5052] [ 53.240771][ T5052] [ 53.240771][ T5052] the existing dependency chain (in reverse order) is: [ 53.249852][ T5052] [ 53.249852][ T5052] -> #3 (sb_pagefaults){.+.+}-{0:0}: [ 53.257302][ T5052] lock_acquire+0x1e3/0x530 [ 53.262323][ T5052] filemap_page_mkwrite+0x16f/0x640 [ 53.268033][ T5052] do_page_mkwrite+0x197/0x470 [ 53.273510][ T5052] do_wp_page+0x1d07/0x4d40 [ 53.278532][ T5052] handle_mm_fault+0x1b1c/0x6680 [ 53.283979][ T5052] exc_page_fault+0x456/0x870 [ 53.289179][ T5052] asm_exc_page_fault+0x26/0x30 [ 53.294538][ T5052] [ 53.294538][ T5052] -> #2 (&vma->vm_lock->lock){++++}-{3:3}: [ 53.302522][ T5052] lock_acquire+0x1e3/0x530 [ 53.307537][ T5052] down_write+0x3a/0x50 [ 53.312203][ T5052] vma_link+0x2c9/0x540 [ 53.316870][ T5052] insert_vm_struct+0x19f/0x260 [ 53.322234][ T5052] alloc_bprm+0x4d5/0x900 [ 53.327074][ T5052] kernel_execve+0x96/0xa20 [ 53.332093][ T5052] call_usermodehelper_exec_async+0x233/0x370 [ 53.338676][ T5052] ret_from_fork+0x48/0x80 [ 53.343623][ T5052] ret_from_fork_asm+0x11/0x20 [ 53.348912][ T5052] [ 53.348912][ T5052] -> #1 (&mm->mmap_lock){++++}-{3:3}: [ 53.356477][ T5052] lock_acquire+0x1e3/0x530 [ 53.361585][ T5052] __might_fault+0xc1/0x120 [ 53.366621][ T5052] reiserfs_ioctl+0x125/0x2f0 [ 53.371813][ T5052] __se_sys_ioctl+0xf8/0x170 [ 53.376920][ T5052] do_syscall_64+0x45/0x110 [ 53.381937][ T5052] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 53.388347][ T5052] [ 53.388347][ T5052] -> #0 (&sbi->lock){+.+.}-{3:3}: [ 53.395544][ T5052] validate_chain+0x1909/0x5ab0 [ 53.400904][ T5052] __lock_acquire+0x1345/0x1fd0 [ 53.406266][ T5052] lock_acquire+0x1e3/0x530 [ 53.411278][ T5052] __mutex_lock+0x136/0xd60 [ 53.416292][ T5052] reiserfs_write_lock+0x7a/0xd0 [ 53.421742][ T5052] reiserfs_dirty_inode+0xf2/0x240 [ 53.427367][ T5052] __mark_inode_dirty+0x305/0xda0 [ 53.432903][ T5052] file_update_time+0x39b/0x3e0 [ 53.438265][ T5052] filemap_page_mkwrite+0x27b/0x640 [ 53.444000][ T5052] do_page_mkwrite+0x197/0x470 [ 53.449276][ T5052] do_wp_page+0x1d07/0x4d40 [ 53.454391][ T5052] handle_mm_fault+0x1b1c/0x6680 [ 53.459849][ T5052] exc_page_fault+0x456/0x870 [ 53.465121][ T5052] asm_exc_page_fault+0x26/0x30 [ 53.470482][ T5052] [ 53.470482][ T5052] other info that might help us debug this: [ 53.470482][ T5052] [ 53.480711][ T5052] Chain exists of: [ 53.480711][ T5052] &sbi->lock --> &vma->vm_lock->lock --> sb_pagefaults [ 53.480711][ T5052] [ 53.493488][ T5052] Possible unsafe locking scenario: [ 53.493488][ T5052] [ 53.501095][ T5052] CPU0 CPU1 [ 53.506443][ T5052] ---- ---- [ 53.511795][ T5052] rlock(sb_pagefaults); [ 53.516114][ T5052] lock(&vma->vm_lock->lock); [ 53.523388][ T5052] lock(sb_pagefaults); [ 53.530137][ T5052] lock(&sbi->lock); [ 53.534111][ T5052] [ 53.534111][ T5052] *** DEADLOCK *** [ 53.534111][ T5052] [ 53.542324][ T5052] 2 locks held by syz-executor356/5052: [ 53.547870][ T5052] #0: ffff888015ff99b8 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x2f6/0x6f0 [ 53.558129][ T5052] #1: ffff88801d618510 (sb_pagefaults){.+.+}-{0:0}, at: do_page_mkwrite+0x197/0x470 [ 53.567625][ T5052] [ 53.567625][ T5052] stack backtrace: [ 53.573497][ T5052] CPU: 1 PID: 5052 Comm: syz-executor356 Not tainted 6.7.0-rc4-syzkaller #0 [ 53.582158][ T5052] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 53.592205][ T5052] Call Trace: [ 53.595490][ T5052] [ 53.598427][ T5052] dump_stack_lvl+0x1e7/0x2d0 [ 53.603102][ T5052] ? nf_tcp_handle_invalid+0x650/0x650 [ 53.608577][ T5052] ? print_circular_bug+0x12b/0x1a0 [ 53.613772][ T5052] check_noncircular+0x366/0x490 [ 53.618701][ T5052] ? kernel_text_address+0xa3/0xe0 [ 53.623806][ T5052] ? print_deadlock_bug+0x610/0x610 [ 53.628999][ T5052] ? lockdep_lock+0x123/0x2b0 [ 53.633667][ T5052] ? _find_first_zero_bit+0xd4/0x100 [ 53.638954][ T5052] validate_chain+0x1909/0x5ab0 [ 53.643803][ T5052] ? validate_chain+0x11c/0x5ab0 [ 53.648733][ T5052] ? reacquire_held_locks+0x690/0x690 [ 53.654269][ T5052] ? validate_chain+0x15c6/0x5ab0 [ 53.659287][ T5052] ? reacquire_held_locks+0x690/0x690 [ 53.664657][ T5052] ? reacquire_held_locks+0x690/0x690 [ 53.670026][ T5052] ? mark_lock+0x9a/0x350 [ 53.674436][ T5052] __lock_acquire+0x1345/0x1fd0 [ 53.679299][ T5052] lock_acquire+0x1e3/0x530 [ 53.683879][ T5052] ? reiserfs_write_lock+0x7a/0xd0 [ 53.688986][ T5052] ? read_lock_is_recursive+0x20/0x20 [ 53.694351][ T5052] ? __might_sleep+0xe0/0xe0 [ 53.698940][ T5052] __mutex_lock+0x136/0xd60 [ 53.703436][ T5052] ? reiserfs_write_lock+0x7a/0xd0 [ 53.708556][ T5052] ? print_irqtrace_events+0x220/0x220 [ 53.714025][ T5052] ? reiserfs_write_lock+0x7a/0xd0 [ 53.719130][ T5052] ? mutex_lock_nested+0x20/0x20 [ 53.724063][ T5052] ? ktime_get_real_ts64+0x470/0x470 [ 53.729342][ T5052] ? ktime_get_coarse_real_ts64+0x3a/0x120 [ 53.735143][ T5052] ? lockdep_hardirqs_on+0x98/0x140 [ 53.740345][ T5052] reiserfs_write_lock+0x7a/0xd0 [ 53.745276][ T5052] reiserfs_dirty_inode+0xf2/0x240 [ 53.750468][ T5052] ? reiserfs_free_inode+0x30/0x30 [ 53.755576][ T5052] ? current_time+0x1e0/0x2b0 [ 53.760266][ T5052] ? reiserfs_free_inode+0x30/0x30 [ 53.765387][ T5052] __mark_inode_dirty+0x305/0xda0 [ 53.770412][ T5052] file_update_time+0x39b/0x3e0 [ 53.775255][ T5052] filemap_page_mkwrite+0x27b/0x640 [ 53.780446][ T5052] ? do_page_mkwrite+0x197/0x470 [ 53.785392][ T5052] do_page_mkwrite+0x197/0x470 [ 53.790235][ T5052] do_wp_page+0x1d07/0x4d40 [ 53.794734][ T5052] ? folio_put+0xc0/0xc0 [ 53.798969][ T5052] ? read_lock_is_recursive+0x20/0x20 [ 53.804356][ T5052] ? do_raw_spin_lock+0x14e/0x370 [ 53.809397][ T5052] ? __lock_acquire+0x1345/0x1fd0 [ 53.814424][ T5052] handle_mm_fault+0x1b1c/0x6680 [ 53.819359][ T5052] ? handle_mm_fault+0x11d/0x6680 [ 53.824378][ T5052] ? numa_migrate_prep+0x260/0x260 [ 53.829485][ T5052] ? mtree_range_walk+0x6a0/0x7e0 [ 53.834502][ T5052] ? lock_vma_under_rcu+0x187/0x6f0 [ 53.839709][ T5052] ? __lock_acquire+0x1fd0/0x1fd0 [ 53.844722][ T5052] ? lock_vma_under_rcu+0x2f6/0x6f0 [ 53.849914][ T5052] ? lock_vma_under_rcu+0x5df/0x6f0 [ 53.855100][ T5052] ? lock_vma_under_rcu+0x187/0x6f0 [ 53.860294][ T5052] ? exc_page_fault+0x110/0x870 [ 53.865136][ T5052] exc_page_fault+0x456/0x870 [ 53.869805][ T5052] asm_exc_page_fault+0x26/0x30 [ 53.874646][ T5052] RIP: 0033:0x7f8fb553a110 [ 53.879052][ T5052] Code: 01 00 20 2e 2f 62 75 66 c7 04 25 84 01 00 20 73 00 e9 60 fe ff ff b8 c0 01 00 20 48 8d 35 68 d0 07 00 b9 55 00 00 00 48 89 c7 a4 e9 ea fe ff ff 66 0f 1f 84 00 00 00 00 00 53 b8 04 00 00 00 [ 53.898665][ T5052] RSP: 002b:00007ffd58fcc2a0 EFLAGS: 00010246 [ 53.904721][ T5052] RAX: 00000000200001c0 RBX: 0000000000000000 RCX: 0000000000000055 [ 53.912682][ T5052] RDX: e2bf806a150b21e7 RSI: 00007f8fb55b7170 RDI: 00000000200001c0 executing program [ 53.920732][ T5052] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 53.928782][ T5052] R10: 0000000000000006 R11: 0000000000000246 R12: 00007ffd58fcc390 [ 53.936741][ T5052] R13: 00007ffd58fcc470 R14: 431bde82d7b634db R15: 00007f8fb55b701d [ 53.944712][ T5052] 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 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