Warning: Permanently added '10.128.1.56' (ED25519) to the list of known hosts. executing program [ 37.786083][ T6009] syz-executor391[6009]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [ 37.828539][ T6009] loop0: detected capacity change from 0 to 8192 [ 37.834002][ T6009] REISERFS warning: read_super_block: reiserfs filesystem is deprecated and scheduled to be removed from the kernel in 2025 [ 37.836925][ T6009] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 37.839017][ T6009] REISERFS (device loop0): using ordered data mode [ 37.840421][ T6009] reiserfs: using flush barriers [ 37.842376][ T6009] 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 [ 37.846083][ T6009] REISERFS (device loop0): checking transaction log (loop0) [ 37.849603][ T6009] REISERFS (device loop0): Using tea hash to sort names [ 37.851747][ T6009] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 37.854852][ T6009] [ 37.855307][ T6009] ====================================================== [ 37.856755][ T6009] WARNING: possible circular locking dependency detected [ 37.858208][ T6009] 6.6.0-rc5-syzkaller-g249eb8f39efb #0 Not tainted [ 37.859558][ T6009] ------------------------------------------------------ [ 37.860974][ T6009] syz-executor391/6009 is trying to acquire lock: [ 37.862358][ T6009] ffff8000969a90f0 (&journal->j_mutex){+.+.}-{3:3}, at: do_journal_begin_r+0x2e0/0xe40 [ 37.864387][ T6009] [ 37.864387][ T6009] but task is already holding lock: [ 37.865935][ T6009] ffff0000db3bc410 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 [ 37.867886][ T6009] [ 37.867886][ T6009] which lock already depends on the new lock. [ 37.867886][ T6009] [ 37.870080][ T6009] [ 37.870080][ T6009] the existing dependency chain (in reverse order) is: [ 37.871880][ T6009] [ 37.871880][ T6009] -> #2 (sb_writers#8){.+.+}-{0:0}: [ 37.873337][ T6009] sb_start_write+0x60/0x2ec [ 37.874409][ T6009] mnt_want_write_file+0x64/0x1e8 [ 37.875642][ T6009] reiserfs_ioctl+0x188/0x42c [ 37.876752][ T6009] __arm64_sys_ioctl+0x14c/0x1c8 [ 37.878025][ T6009] invoke_syscall+0x98/0x2b8 [ 37.879095][ T6009] el0_svc_common+0x130/0x23c [ 37.880166][ T6009] do_el0_svc+0x48/0x58 [ 37.881129][ T6009] el0_svc+0x58/0x16c [ 37.882082][ T6009] el0t_64_sync_handler+0x84/0xfc [ 37.883236][ T6009] el0t_64_sync+0x190/0x194 [ 37.884322][ T6009] [ 37.884322][ T6009] -> #1 (&sbi->lock){+.+.}-{3:3}: [ 37.885813][ T6009] __mutex_lock_common+0x190/0x21a0 [ 37.887011][ T6009] mutex_lock_nested+0x2c/0x38 [ 37.888095][ T6009] reiserfs_write_lock_nested+0x68/0xd8 [ 37.889372][ T6009] do_journal_begin_r+0x2ec/0xe40 [ 37.890521][ T6009] journal_begin+0x110/0x2f4 [ 37.891616][ T6009] reiserfs_fill_super+0x14e0/0x2028 [ 37.892880][ T6009] mount_bdev+0x1e8/0x2b4 [ 37.893971][ T6009] get_super_block+0x44/0x58 [ 37.895058][ T6009] legacy_get_tree+0xd4/0x16c [ 37.896176][ T6009] vfs_get_tree+0x90/0x288 [ 37.897230][ T6009] do_new_mount+0x25c/0x8c8 [ 37.898244][ T6009] path_mount+0x590/0xe04 [ 37.899235][ T6009] __arm64_sys_mount+0x45c/0x594 [ 37.900248][ T6009] invoke_syscall+0x98/0x2b8 [ 37.901199][ T6009] el0_svc_common+0x130/0x23c [ 37.902616][ T6009] do_el0_svc+0x48/0x58 [ 37.903757][ T6009] el0_svc+0x58/0x16c [ 37.904805][ T6009] el0t_64_sync_handler+0x84/0xfc [ 37.906081][ T6009] el0t_64_sync+0x190/0x194 [ 37.907143][ T6009] [ 37.907143][ T6009] -> #0 (&journal->j_mutex){+.+.}-{3:3}: [ 37.908784][ T6009] __lock_acquire+0x3370/0x75e8 [ 37.909993][ T6009] lock_acquire+0x23c/0x71c [ 37.911042][ T6009] __mutex_lock_common+0x190/0x21a0 [ 37.912279][ T6009] mutex_lock_nested+0x2c/0x38 [ 37.913352][ T6009] do_journal_begin_r+0x2e0/0xe40 [ 37.914513][ T6009] journal_begin+0x110/0x2f4 [ 37.915624][ T6009] reiserfs_dirty_inode+0x104/0x204 [ 37.916938][ T6009] __mark_inode_dirty+0x2b0/0x10f4 [ 37.918122][ T6009] reiserfs_ioctl+0x330/0x42c [ 37.919237][ T6009] __arm64_sys_ioctl+0x14c/0x1c8 [ 37.920377][ T6009] invoke_syscall+0x98/0x2b8 [ 37.921494][ T6009] el0_svc_common+0x130/0x23c [ 37.922614][ T6009] do_el0_svc+0x48/0x58 [ 37.923648][ T6009] el0_svc+0x58/0x16c [ 37.924580][ T6009] el0t_64_sync_handler+0x84/0xfc [ 37.925762][ T6009] el0t_64_sync+0x190/0x194 [ 37.926856][ T6009] [ 37.926856][ T6009] other info that might help us debug this: [ 37.926856][ T6009] [ 37.929049][ T6009] Chain exists of: [ 37.929049][ T6009] &journal->j_mutex --> &sbi->lock --> sb_writers#8 [ 37.929049][ T6009] [ 37.931954][ T6009] Possible unsafe locking scenario: [ 37.931954][ T6009] [ 37.933726][ T6009] CPU0 CPU1 [ 37.934852][ T6009] ---- ---- [ 37.936056][ T6009] rlock(sb_writers#8); [ 37.937069][ T6009] lock(&sbi->lock); [ 37.938625][ T6009] lock(sb_writers#8); [ 37.940227][ T6009] lock(&journal->j_mutex); [ 37.941270][ T6009] [ 37.941270][ T6009] *** DEADLOCK *** [ 37.941270][ T6009] [ 37.943112][ T6009] 1 lock held by syz-executor391/6009: [ 37.944330][ T6009] #0: ffff0000db3bc410 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 [ 37.946535][ T6009] [ 37.946535][ T6009] stack backtrace: [ 37.947852][ T6009] CPU: 1 PID: 6009 Comm: syz-executor391 Not tainted 6.6.0-rc5-syzkaller-g249eb8f39efb #0 [ 37.950201][ T6009] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 [ 37.952461][ T6009] Call trace: [ 37.953179][ T6009] dump_backtrace+0x1b8/0x1e4 [ 37.954260][ T6009] show_stack+0x2c/0x44 [ 37.955209][ T6009] dump_stack_lvl+0xd0/0x124 [ 37.956307][ T6009] dump_stack+0x1c/0x28 [ 37.957310][ T6009] print_circular_bug+0x150/0x1b8 [ 37.958434][ T6009] check_noncircular+0x310/0x404 [ 37.959442][ T6009] __lock_acquire+0x3370/0x75e8 [ 37.960646][ T6009] lock_acquire+0x23c/0x71c [ 37.961670][ T6009] __mutex_lock_common+0x190/0x21a0 [ 37.962877][ T6009] mutex_lock_nested+0x2c/0x38 [ 37.963969][ T6009] do_journal_begin_r+0x2e0/0xe40 [ 37.965087][ T6009] journal_begin+0x110/0x2f4 [ 37.966208][ T6009] reiserfs_dirty_inode+0x104/0x204 [ 37.967465][ T6009] __mark_inode_dirty+0x2b0/0x10f4 [ 37.968676][ T6009] reiserfs_ioctl+0x330/0x42c [ 37.969805][ T6009] __arm64_sys_ioctl+0x14c/0x1c8 [ 37.970994][ T6009] invoke_syscall+0x98/0x2b8 [ 37.972015][ T6009] el0_svc_common+0x130/0x23c [ 37.973074][ T6009] do_el0_svc+0x48/0x58 [ 37.974059][ T6009] el0_svc+0x58/0x16c [ 37.974958][ T6009] el0t_64_sync_handler+0x84/0xfc [ 37.976143][ T6009] el0t_64_sync+0x190/0x194