[ OK ] Started Getty on tty4. [ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS0. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ 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.0.69' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 33.836292] REISERFS (device loop0): found reiserfs format "3.6" with non-standard journal [ 33.845066] REISERFS (device loop0): using ordered data mode [ 33.850958] reiserfs: using flush barriers [ 33.865590] 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 [ 33.881858] REISERFS (device loop0): checking transaction log (loop0) [ 33.890659] REISERFS (device loop0): Using rupasov hash to sort names [ 33.898212] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 33.917078] [ 33.918821] ====================================================== [ 33.925247] WARNING: possible circular locking dependency detected [ 33.931565] 4.19.211-syzkaller #0 Not tainted [ 33.936061] ------------------------------------------------------ [ 33.942391] syz-executor354/8116 is trying to acquire lock: [ 33.948099] 000000007f2605d2 (&type->i_mutex_dir_key#7){+.+.}, at: path_openat+0x1071/0x2df0 [ 33.956688] [ 33.956688] but task is already holding lock: [ 33.962655] 0000000026aeeee5 (sb_writers#11){.+.+}, at: mnt_want_write+0x3a/0xb0 [ 33.970183] [ 33.970183] which lock already depends on the new lock. [ 33.970183] [ 33.978662] [ 33.978662] the existing dependency chain (in reverse order) is: [ 33.986268] [ 33.986268] -> #2 (sb_writers#11){.+.+}: [ 33.991805] mnt_want_write_file+0x63/0x1d0 [ 33.996628] reiserfs_ioctl+0x1a7/0x9a0 [ 34.001198] do_vfs_ioctl+0xcdb/0x12e0 [ 34.005602] ksys_ioctl+0x9b/0xc0 [ 34.009597] __x64_sys_ioctl+0x6f/0xb0 [ 34.014078] do_syscall_64+0xf9/0x620 [ 34.018380] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.024074] [ 34.024074] -> #1 (&sbi->lock){+.+.}: [ 34.029342] reiserfs_write_lock+0x75/0xf0 [ 34.034079] reiserfs_lookup+0x171/0x490 [ 34.038645] __lookup_slow+0x246/0x4a0 [ 34.043042] lookup_one_len+0x163/0x190 [ 34.047517] reiserfs_lookup_privroot+0x92/0x280 [ 34.052781] reiserfs_fill_super+0x1f12/0x2d80 [ 34.057866] mount_bdev+0x2fc/0x3b0 [ 34.061992] mount_fs+0xa3/0x310 [ 34.065861] vfs_kern_mount.part.0+0x68/0x470 [ 34.070856] do_mount+0x115c/0x2f50 [ 34.074982] ksys_mount+0xcf/0x130 [ 34.079021] __x64_sys_mount+0xba/0x150 [ 34.083546] do_syscall_64+0xf9/0x620 [ 34.087856] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.093543] [ 34.093543] -> #0 (&type->i_mutex_dir_key#7){+.+.}: [ 34.100045] down_write+0x34/0x90 [ 34.104095] path_openat+0x1071/0x2df0 [ 34.108487] do_filp_open+0x18c/0x3f0 [ 34.112796] do_sys_open+0x3b3/0x520 [ 34.117015] do_syscall_64+0xf9/0x620 [ 34.121320] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.127152] [ 34.127152] other info that might help us debug this: [ 34.127152] [ 34.135291] Chain exists of: [ 34.135291] &type->i_mutex_dir_key#7 --> &sbi->lock --> sb_writers#11 [ 34.135291] [ 34.146386] Possible unsafe locking scenario: [ 34.146386] [ 34.152425] CPU0 CPU1 [ 34.157073] ---- ---- [ 34.161718] lock(sb_writers#11); [ 34.165246] lock(&sbi->lock); [ 34.171025] lock(sb_writers#11); [ 34.177063] lock(&type->i_mutex_dir_key#7); [ 34.181546] [ 34.181546] *** DEADLOCK *** [ 34.181546] [ 34.187717] 1 lock held by syz-executor354/8116: [ 34.192450] #0: 0000000026aeeee5 (sb_writers#11){.+.+}, at: mnt_want_write+0x3a/0xb0 [ 34.200499] [ 34.200499] stack backtrace: [ 34.205002] CPU: 1 PID: 8116 Comm: syz-executor354 Not tainted 4.19.211-syzkaller #0 [ 34.212859] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 [ 34.222205] Call Trace: [ 34.224783] dump_stack+0x1fc/0x2ef [ 34.228415] print_circular_bug.constprop.0.cold+0x2d7/0x41e [ 34.234203] __lock_acquire+0x30c9/0x3ff0 [ 34.238333] ? mark_held_locks+0xf0/0xf0 [ 34.242385] ? mark_held_locks+0xf0/0xf0 [ 34.246451] ? lockref_get_not_dead+0x66/0x80 [ 34.250929] ? unlazy_walk+0x1a4/0x540 [ 34.254805] ? check_preemption_disabled+0x41/0x280 [ 34.259802] lock_acquire+0x170/0x3c0 [ 34.263763] ? path_openat+0x1071/0x2df0 [ 34.267826] down_write+0x34/0x90 [ 34.271267] ? path_openat+0x1071/0x2df0 [ 34.275316] path_openat+0x1071/0x2df0 [ 34.279192] ? path_lookupat+0x8d0/0x8d0 [ 34.283240] ? mark_held_locks+0xf0/0xf0 [ 34.287280] ? reiserfs_ioctl+0x7e9/0x9a0 [ 34.291409] do_filp_open+0x18c/0x3f0 [ 34.295194] ? may_open_dev+0xf0/0xf0 [ 34.298977] ? lock_downgrade+0x720/0x720 [ 34.303119] ? lock_acquire+0x170/0x3c0 [ 34.307089] ? __alloc_fd+0x34/0x570 [ 34.310815] ? do_raw_spin_unlock+0x171/0x230 [ 34.315379] ? _raw_spin_unlock+0x29/0x40 [ 34.319532] ? __alloc_fd+0x28d/0x570 [ 34.323322] do_sys_open+0x3b3/0x520 [ 34.327019] ? filp_open+0x70/0x70 [ 34.330544] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 34.335892] ? trace_hardirqs_off_caller+0x6e/0x210 [ 34.340891] ? do_syscall_64+0x21/0x620 [ 34.345194] do_syscall_64+0xf9/0x620 [ 34.349115] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.354292] RIP: 0033:0x7fbd0927a8a9 [ 34.357992] 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 [ 34.377528] RSP: 002b:00007ffc36923f38 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 executing program executing program executing program executing program executing program [ 34.385243] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbd0927a8a9 [ 34.392494] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 [ 34.399754] RBP: 0000000000000000 R08: 00007fbd092e8ec0 R09: 00007fbd092e8ec0 [ 34.407102] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc36923f60 [ 34.414388] 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program