[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.48' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 42.418475] REISERFS (device loop0): found reiserfs format "3.6" with non-standard journal [ 42.427438] REISERFS (device loop0): using ordered data mode [ 42.434823] reiserfs: using flush barriers [ 42.451060] 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 [ 42.467157] REISERFS (device loop0): checking transaction log (loop0) [ 42.475400] REISERFS (device loop0): Using rupasov hash to sort names [ 42.483188] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 42.498206] [ 42.499858] ====================================================== [ 42.506174] WARNING: possible circular locking dependency detected [ 42.512589] 4.19.211-syzkaller #0 Not tainted [ 42.517096] ------------------------------------------------------ [ 42.523408] syz-executor258/8106 is trying to acquire lock: [ 42.529095] 0000000066437342 (&journal->j_mutex){+.+.}, at: do_journal_begin_r+0x298/0x10b0 [ 42.537581] [ 42.537581] but task is already holding lock: [ 42.543536] 000000005308fadc (sb_writers#11){.+.+}, at: mnt_want_write_file+0x63/0x1d0 [ 42.551869] [ 42.551869] which lock already depends on the new lock. [ 42.551869] [ 42.560165] [ 42.560165] the existing dependency chain (in reverse order) is: [ 42.567763] [ 42.567763] -> #2 (sb_writers#11){.+.+}: [ 42.573292] mnt_want_write_file+0x63/0x1d0 [ 42.578129] reiserfs_ioctl+0x1a7/0x9a0 [ 42.582604] do_vfs_ioctl+0xcdb/0x12e0 [ 42.586989] ksys_ioctl+0x9b/0xc0 [ 42.590940] __x64_sys_ioctl+0x6f/0xb0 [ 42.595329] do_syscall_64+0xf9/0x620 [ 42.599648] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.605332] [ 42.605332] -> #1 (&sbi->lock){+.+.}: [ 42.610597] reiserfs_write_lock_nested+0x65/0xe0 [ 42.615938] do_journal_begin_r+0x2a2/0x10b0 [ 42.620847] journal_begin+0x162/0x400 [ 42.625242] reiserfs_fill_super+0x1a81/0x2d80 [ 42.630323] mount_bdev+0x2fc/0x3b0 [ 42.634446] mount_fs+0xa3/0x310 [ 42.638339] vfs_kern_mount.part.0+0x68/0x470 [ 42.643438] do_mount+0x115c/0x2f50 [ 42.647564] ksys_mount+0xcf/0x130 [ 42.651605] __x64_sys_mount+0xba/0x150 [ 42.656077] do_syscall_64+0xf9/0x620 [ 42.660381] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.666072] [ 42.666072] -> #0 (&journal->j_mutex){+.+.}: [ 42.671944] __mutex_lock+0xd7/0x1190 [ 42.676248] do_journal_begin_r+0x298/0x10b0 [ 42.681156] journal_begin+0x162/0x400 [ 42.685542] reiserfs_dirty_inode+0xff/0x250 [ 42.690448] __mark_inode_dirty+0x16b/0x1140 [ 42.695361] reiserfs_ioctl+0x7dc/0x9a0 [ 42.699835] do_vfs_ioctl+0xcdb/0x12e0 [ 42.704221] ksys_ioctl+0x9b/0xc0 [ 42.708189] __x64_sys_ioctl+0x6f/0xb0 [ 42.712576] do_syscall_64+0xf9/0x620 [ 42.716874] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.722564] [ 42.722564] other info that might help us debug this: [ 42.722564] [ 42.730682] Chain exists of: [ 42.730682] &journal->j_mutex --> &sbi->lock --> sb_writers#11 [ 42.730682] [ 42.741241] Possible unsafe locking scenario: [ 42.741241] [ 42.747274] CPU0 CPU1 [ 42.751945] ---- ---- [ 42.756587] lock(sb_writers#11); [ 42.760116] lock(&sbi->lock); [ 42.765897] lock(sb_writers#11); [ 42.771972] lock(&journal->j_mutex); [ 42.775874] [ 42.775874] *** DEADLOCK *** [ 42.775874] [ 42.781920] 1 lock held by syz-executor258/8106: [ 42.786653] #0: 000000005308fadc (sb_writers#11){.+.+}, at: mnt_want_write_file+0x63/0x1d0 [ 42.795267] [ 42.795267] stack backtrace: [ 42.799875] CPU: 1 PID: 8106 Comm: syz-executor258 Not tainted 4.19.211-syzkaller #0 [ 42.807741] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 42.817208] Call Trace: [ 42.819785] dump_stack+0x1fc/0x2ef [ 42.823406] print_circular_bug.constprop.0.cold+0x2d7/0x41e [ 42.829210] __lock_acquire+0x30c9/0x3ff0 [ 42.833443] ? mark_held_locks+0xf0/0xf0 [ 42.837487] ? mark_held_locks+0xf0/0xf0 [ 42.841626] ? __read_once_size_nocheck.constprop.0+0x10/0x10 [ 42.847491] lock_acquire+0x170/0x3c0 [ 42.851271] ? do_journal_begin_r+0x298/0x10b0 [ 42.855920] ? do_journal_begin_r+0x298/0x10b0 [ 42.860559] __mutex_lock+0xd7/0x1190 [ 42.864340] ? do_journal_begin_r+0x298/0x10b0 [ 42.868902] ? lock_downgrade+0x720/0x720 [ 42.873041] ? do_journal_begin_r+0x298/0x10b0 [ 42.877601] ? mutex_trylock+0x1a0/0x1a0 [ 42.881752] ? __mutex_unlock_slowpath+0xea/0x610 [ 42.886574] ? wait_for_completion_io+0x10/0x10 [ 42.891230] do_journal_begin_r+0x298/0x10b0 [ 42.895640] ? do_journal_end+0x4840/0x4840 [ 42.899950] ? mark_held_locks+0xf0/0xf0 [ 42.903997] ? current_time+0x6f/0x1c0 [ 42.907868] journal_begin+0x162/0x400 [ 42.911836] reiserfs_dirty_inode+0xff/0x250 [ 42.916239] ? reiserfs_unfreeze+0xa0/0xa0 [ 42.920458] ? check_preemption_disabled+0x41/0x280 [ 42.925457] ? reiserfs_unfreeze+0xa0/0xa0 [ 42.929678] __mark_inode_dirty+0x16b/0x1140 [ 42.934073] reiserfs_ioctl+0x7dc/0x9a0 [ 42.938040] ? reiserfs_unpack+0x5c0/0x5c0 [ 42.942271] do_vfs_ioctl+0xcdb/0x12e0 [ 42.946137] ? ioctl_preallocate+0x200/0x200 [ 42.950546] ? __do_page_fault+0x6d1/0xd60 [ 42.954782] ? lock_downgrade+0x720/0x720 [ 42.958945] ? up_read+0x17/0x110 [ 42.962383] ? __do_page_fault+0x180/0xd60 [ 42.966600] ksys_ioctl+0x9b/0xc0 [ 42.970034] __x64_sys_ioctl+0x6f/0xb0 [ 42.973901] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 42.978461] do_syscall_64+0xf9/0x620 [ 42.982275] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.987460] RIP: 0033:0x7faf1fbd78f9 [ 42.991176] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 c0 ff ff ff f7 d8 64 89 01 48 [ 43.010749] RSP: 002b:00007fffa90e1a58 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 executing program executing program executing program executing program executing program [ 43.018438] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007faf1fbd78f9 [ 43.025687] RDX: 0000000020000080 RSI: 0000000040087602 RDI: 0000000000000005 [ 43.032935] RBP: 0000000000000000 R08: 0000000000000000 R09: 00007faf1fc44ec0 [ 43.040182] R10: 00007fffa90e1920 R11: 0000000000000246 R12: 00007fffa90e1a80 [ 43.047431] R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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