Warning: Permanently added '10.128.1.76' (ED25519) to the list of known hosts. executing program [ 50.103408][ T3543] loop0: detected capacity change from 0 to 8192 [ 50.113288][ T3543] REISERFS warning: read_super_block: reiserfs filesystem is deprecated and scheduled to be removed from the kernel in 2025 [ 50.126770][ T3543] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 50.136566][ T3543] REISERFS (device loop0): using ordered data mode [ 50.143145][ T3543] reiserfs: using flush barriers [ 50.149073][ T3543] 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 [ 50.165967][ T3543] REISERFS (device loop0): checking transaction log (loop0) [ 50.175196][ T3543] REISERFS (device loop0): Using r5 hash to sort names [ 50.189835][ T3543] reiserfs: enabling write barrier flush mode [ 50.203662][ T3543] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 50.221303][ T3543] [ 50.223644][ T3543] ====================================================== [ 50.230642][ T3543] WARNING: possible circular locking dependency detected [ 50.237686][ T3543] 6.1.53-syzkaller #0 Not tainted [ 50.242689][ T3543] ------------------------------------------------------ [ 50.249689][ T3543] syz-executor235/3543 is trying to acquire lock: [ 50.256080][ T3543] ffff8880182ec090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x76/0xd0 [ 50.265052][ T3543] [ 50.265052][ T3543] but task is already holding lock: [ 50.272484][ T3543] ffff8880792b8558 (sb_pagefaults){.+.+}-{0:0}, at: do_page_mkwrite+0x1a1/0x5f0 [ 50.281540][ T3543] [ 50.281540][ T3543] which lock already depends on the new lock. [ 50.281540][ T3543] [ 50.291927][ T3543] [ 50.291927][ T3543] the existing dependency chain (in reverse order) is: [ 50.300923][ T3543] [ 50.300923][ T3543] -> #2 (sb_pagefaults){.+.+}-{0:0}: [ 50.308382][ T3543] lock_acquire+0x1f8/0x5a0 [ 50.313399][ T3543] filemap_page_mkwrite+0x16a/0x630 [ 50.319156][ T3543] do_page_mkwrite+0x1a1/0x5f0 [ 50.324430][ T3543] handle_mm_fault+0x22e8/0x5330 [ 50.329886][ T3543] exc_page_fault+0x26f/0x660 [ 50.335090][ T3543] asm_exc_page_fault+0x22/0x30 [ 50.340450][ T3543] copy_user_enhanced_fast_string+0xa/0x40 [ 50.346765][ T3543] _copy_to_iter+0x2c1/0xfe0 [ 50.351865][ T3543] copy_page_to_iter+0xac/0x170 [ 50.357227][ T3543] filemap_read+0x273e/0x31d0 [ 50.362419][ T3543] vfs_read+0x7de/0xbe0 [ 50.367083][ T3543] ksys_read+0x19c/0x2c0 [ 50.371834][ T3543] do_syscall_64+0x3d/0xb0 [ 50.376758][ T3543] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 50.383157][ T3543] [ 50.383157][ T3543] -> #1 (&mm->mmap_lock){++++}-{3:3}: [ 50.390717][ T3543] lock_acquire+0x1f8/0x5a0 [ 50.395730][ T3543] __might_fault+0xb2/0x110 [ 50.400759][ T3543] reiserfs_ioctl+0x11d/0x340 [ 50.405995][ T3543] __se_sys_ioctl+0xf1/0x160 [ 50.411116][ T3543] do_syscall_64+0x3d/0xb0 [ 50.416042][ T3543] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 50.422445][ T3543] [ 50.422445][ T3543] -> #0 (&sbi->lock){+.+.}-{3:3}: [ 50.429643][ T3543] validate_chain+0x1667/0x58e0 [ 50.434999][ T3543] __lock_acquire+0x125b/0x1f80 [ 50.440372][ T3543] lock_acquire+0x1f8/0x5a0 [ 50.445395][ T3543] __mutex_lock_common+0x1d4/0x2520 [ 50.451149][ T3543] mutex_lock_nested+0x17/0x20 [ 50.456446][ T3543] reiserfs_write_lock+0x76/0xd0 [ 50.461906][ T3543] reiserfs_dirty_inode+0xee/0x240 [ 50.467624][ T3543] __mark_inode_dirty+0x331/0xf80 [ 50.473156][ T3543] __file_update_time+0x221/0x240 [ 50.478701][ T3543] file_update_time+0x34c/0x3c0 [ 50.484074][ T3543] filemap_page_mkwrite+0x275/0x630 [ 50.489793][ T3543] do_page_mkwrite+0x1a1/0x5f0 [ 50.495087][ T3543] handle_mm_fault+0x22e8/0x5330 [ 50.500548][ T3543] exc_page_fault+0x26f/0x660 [ 50.505742][ T3543] asm_exc_page_fault+0x22/0x30 [ 50.511114][ T3543] copy_user_enhanced_fast_string+0xa/0x40 [ 50.517436][ T3543] _copy_to_iter+0x2c1/0xfe0 [ 50.522549][ T3543] copy_page_to_iter+0xac/0x170 [ 50.527926][ T3543] filemap_read+0x273e/0x31d0 [ 50.533126][ T3543] vfs_read+0x7de/0xbe0 [ 50.537805][ T3543] ksys_read+0x19c/0x2c0 [ 50.542562][ T3543] do_syscall_64+0x3d/0xb0 [ 50.547493][ T3543] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 50.553901][ T3543] [ 50.553901][ T3543] other info that might help us debug this: [ 50.553901][ T3543] [ 50.564202][ T3543] Chain exists of: [ 50.564202][ T3543] &sbi->lock --> &mm->mmap_lock --> sb_pagefaults [ 50.564202][ T3543] [ 50.576543][ T3543] Possible unsafe locking scenario: [ 50.576543][ T3543] [ 50.583976][ T3543] CPU0 CPU1 [ 50.589331][ T3543] ---- ---- [ 50.594766][ T3543] lock(sb_pagefaults); [ 50.599079][ T3543] lock(&mm->mmap_lock); [ 50.605918][ T3543] lock(sb_pagefaults); [ 50.612663][ T3543] lock(&sbi->lock); [ 50.616628][ T3543] [ 50.616628][ T3543] *** DEADLOCK *** [ 50.616628][ T3543] [ 50.624754][ T3543] 2 locks held by syz-executor235/3543: [ 50.630282][ T3543] #0: ffff88807d90d3d8 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x2e/0x2e0 [ 50.640194][ T3543] #1: ffff8880792b8558 (sb_pagefaults){.+.+}-{0:0}, at: do_page_mkwrite+0x1a1/0x5f0 [ 50.650015][ T3543] [ 50.650015][ T3543] stack backtrace: [ 50.655889][ T3543] CPU: 1 PID: 3543 Comm: syz-executor235 Not tainted 6.1.53-syzkaller #0 [ 50.664383][ T3543] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 [ 50.674420][ T3543] Call Trace: [ 50.677683][ T3543] [ 50.680600][ T3543] dump_stack_lvl+0x1e3/0x2cb [ 50.685297][ T3543] ? nf_tcp_handle_invalid+0x642/0x642 [ 50.690749][ T3543] ? print_circular_bug+0x12b/0x1a0 [ 50.695935][ T3543] check_noncircular+0x2fa/0x3b0 [ 50.700860][ T3543] ? stack_trace_save+0x1c0/0x1c0 [ 50.705869][ T3543] ? add_chain_block+0x850/0x850 [ 50.710834][ T3543] ? lockdep_lock+0x11f/0x2a0 [ 50.715494][ T3543] ? arch_stack_walk+0xf3/0x140 [ 50.720339][ T3543] ? _find_first_zero_bit+0xd0/0x100 [ 50.725617][ T3543] validate_chain+0x1667/0x58e0 [ 50.730464][ T3543] ? lockdep_unlock+0x165/0x300 [ 50.735305][ T3543] ? reacquire_held_locks+0x660/0x660 [ 50.740766][ T3543] ? add_lock_to_list+0x1de/0x2e0 [ 50.745800][ T3543] ? validate_chain+0x13d1/0x58e0 [ 50.750815][ T3543] ? kernel_text_address+0x9f/0xd0 [ 50.755929][ T3543] ? mark_lock+0x9a/0x340 [ 50.760256][ T3543] __lock_acquire+0x125b/0x1f80 [ 50.765105][ T3543] lock_acquire+0x1f8/0x5a0 [ 50.769595][ T3543] ? reiserfs_write_lock+0x76/0xd0 [ 50.774719][ T3543] ? read_lock_is_recursive+0x10/0x10 [ 50.780103][ T3543] ? mark_lock+0x9a/0x340 [ 50.784533][ T3543] ? __might_sleep+0xb0/0xb0 [ 50.789212][ T3543] ? __lock_acquire+0x125b/0x1f80 [ 50.794229][ T3543] __mutex_lock_common+0x1d4/0x2520 [ 50.799421][ T3543] ? reiserfs_write_lock+0x76/0xd0 [ 50.804617][ T3543] ? reiserfs_write_lock+0x76/0xd0 [ 50.809721][ T3543] ? mark_lock+0x9a/0x340 [ 50.814035][ T3543] ? mutex_lock_io_nested+0x60/0x60 [ 50.819241][ T3543] ? print_irqtrace_events+0x210/0x210 [ 50.824687][ T3543] mutex_lock_nested+0x17/0x20 [ 50.829439][ T3543] reiserfs_write_lock+0x76/0xd0 [ 50.834368][ T3543] reiserfs_dirty_inode+0xee/0x240 [ 50.839521][ T3543] ? reiserfs_free_inode+0x20/0x20 [ 50.844628][ T3543] ? inode_maybe_inc_iversion+0x19f/0x1f0 [ 50.850688][ T3543] ? reiserfs_free_inode+0x20/0x20 [ 50.855791][ T3543] __mark_inode_dirty+0x331/0xf80 [ 50.860804][ T3543] ? atime_needs_update+0x7b0/0x7b0 [ 50.865991][ T3543] __file_update_time+0x221/0x240 [ 50.871008][ T3543] file_update_time+0x34c/0x3c0 [ 50.875847][ T3543] ? __file_remove_privs+0x640/0x640 [ 50.881125][ T3543] ? mapping_seek_hole_data+0x14d0/0x14d0 [ 50.886923][ T3543] filemap_page_mkwrite+0x275/0x630 [ 50.892118][ T3543] ? do_page_mkwrite+0x1a1/0x5f0 [ 50.897047][ T3543] do_page_mkwrite+0x1a1/0x5f0 [ 50.901800][ T3543] handle_mm_fault+0x22e8/0x5330 [ 50.906910][ T3543] ? numa_migrate_prep+0x250/0x250 [ 50.912020][ T3543] ? lock_mm_and_find_vma+0xae/0x2e0 [ 50.917290][ T3543] exc_page_fault+0x26f/0x660 [ 50.921964][ T3543] asm_exc_page_fault+0x22/0x30 [ 50.926803][ T3543] RIP: 0010:copy_user_enhanced_fast_string+0xa/0x40 [ 50.933379][ T3543] Code: ff c9 75 f2 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 8d 0c ca 89 ca eb 20 0f 01 cb 83 fa 40 72 38 89 d1 a4 31 c0 0f 01 ca c3 89 ca eb 0a 66 2e 0f 1f 84 00 00 00 00 00 [ 50.952975][ T3543] RSP: 0018:ffffc9000396f798 EFLAGS: 00050206 [ 50.959114][ T3543] RAX: ffffffff8432fb01 RBX: 0000000000001000 RCX: 0000000000001000 [ 50.967111][ T3543] RDX: 0000000000001000 RSI: ffff88807eba2000 RDI: 0000000020001740 [ 50.975336][ T3543] RBP: ffffc9000396f8f8 R08: dffffc0000000000 R09: ffffed100fd74600 [ 50.983296][ T3543] R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807eba2000 [ 50.991254][ T3543] R13: 1ffff9200072dfb3 R14: 0000000000001000 R15: dffffc0000000000 [ 50.999214][ T3543] ? _copy_to_iter+0x1f1/0xfe0 [ 51.003972][ T3543] _copy_to_iter+0x2c1/0xfe0 [ 51.008552][ T3543] ? filemap_get_read_batch+0xbb2/0xc80 [ 51.014089][ T3543] ? up_read+0x20/0x20 [ 51.018149][ T3543] ? iov_iter_init+0x1b0/0x1b0 [ 51.022899][ T3543] ? folio_mark_accessed+0x223/0x18f0 [ 51.028266][ T3543] ? folio_activate_fn+0x2910/0x2910 [ 51.033540][ T3543] ? page_copy_sane+0x46/0x390 [ 51.038291][ T3543] copy_page_to_iter+0xac/0x170 [ 51.043163][ T3543] filemap_read+0x273e/0x31d0 [ 51.047855][ T3543] ? find_get_pages_range_tag+0x7e0/0x7e0 [ 51.053572][ T3543] ? __lock_acquire+0x125b/0x1f80 [ 51.058592][ T3543] ? aa_path_link+0xea0/0xea0 [ 51.063295][ T3543] ? generic_file_read_iter+0x90/0x540 [ 51.068746][ T3543] ? fsnotify_perm+0x42f/0x590 [ 51.073500][ T3543] vfs_read+0x7de/0xbe0 [ 51.077646][ T3543] ? kernel_read+0x1f0/0x1f0 [ 51.082225][ T3543] ? __rseq_handle_notify_resume+0x3b7/0x1500 [ 51.088283][ T3543] ? __fdget_pos+0x2c1/0x360 [ 51.092864][ T3543] ksys_read+0x19c/0x2c0 [ 51.097097][ T3543] ? print_irqtrace_events+0x210/0x210 [ 51.102542][ T3543] ? vfs_write+0xba0/0xba0 [ 51.106945][ T3543] ? syscall_enter_from_user_mode+0x2e/0x220 [ 51.112935][ T3543] ? lockdep_hardirqs_on+0x94/0x130 [ 51.118135][ T3543] ? syscall_enter_from_user_mode+0x2e/0x220 [ 51.124118][ T3543] do_syscall_64+0x3d/0xb0 [ 51.128530][ T3543] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 51.134417][ T3543] RIP: 0033:0x7ff25d5e1c79 [ 51.138825][ T3543] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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 [ 51.158447][ T3543] RSP: 002b:00007ffcf2fa99c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 51.166849][ T3543] RAX: ffffffffffffffda RBX: 00007ff25d5ad896 RCX: 00007ff25d5e1c79 [ 51.174982][ T3543] RDX: 0000000000002020 RSI: 0000000020001740 RDI: 0000000000000005 [ 51.182940][ T3543] RBP: 00007ff25d656610 R08: 0000000000000000 R09: 0000000000000000 [ 51.190899][ T3543] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 51.198866][ T3543] R13: 00007ffcf2fa9b98 R14: 0000000000000001 R15: 0000000000000001 [ 51.206918][