Warning: Permanently added '10.128.0.196' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 33.717734] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 33.737684] REISERFS (device loop0): using ordered data mode [ 33.748318] REISERFS (device loop3): found reiserfs format "3.5" with non-standard journal [ 33.763138] reiserfs: using flush barriers [ 33.781917] 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.782768] REISERFS (device loop3): using ordered data mode [ 33.812610] REISERFS (device loop2): found reiserfs format "3.5" with non-standard journal [ 33.823586] REISERFS (device loop2): using ordered data mode [ 33.826512] REISERFS (device loop0): checking transaction log (loop0) [ 33.830000] reiserfs: using flush barriers [ 33.842031] REISERFS (device loop4): found reiserfs format "3.5" with non-standard journal [ 33.851075] reiserfs: using flush barriers [ 33.857215] REISERFS (device loop1): found reiserfs format "3.5" with non-standard journal [ 33.860597] REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal [ 33.867131] REISERFS (device loop1): using ordered data mode [ 33.879715] REISERFS (device loop4): using ordered data mode [ 33.880530] reiserfs: using flush barriers [ 33.892436] REISERFS (device loop1): journal params: device loop1, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 33.908303] REISERFS (device loop3): journal params: device loop3, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 33.908908] REISERFS (device loop1): checking transaction log (loop1) [ 33.925279] REISERFS (device loop2): journal params: device loop2, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 33.972211] reiserfs: using flush barriers [ 33.987886] REISERFS (device loop5): using ordered data mode [ 34.027529] REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 34.040346] REISERFS (device loop3): checking transaction log (loop3) [ 34.068946] reiserfs: using flush barriers [ 34.094249] REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 34.099515] REISERFS (device loop2): checking transaction log (loop2) [ 34.135537] REISERFS (device loop4): checking transaction log (loop4) [ 34.146067] REISERFS (device loop1): Using r5 hash to sort names [ 34.177226] REISERFS (device loop0): Using r5 hash to sort names [ 34.178701] REISERFS (device loop1): using 3.5.x disk format [ 34.185293] REISERFS (device loop5): checking transaction log (loop5) [ 34.215122] REISERFS (device loop1): Created .reiserfs_priv - reserved for xattr storage. [ 34.219442] REISERFS (device loop0): using 3.5.x disk format [ 34.255324] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 34.310342] loop_reread_partitions: partition scan of loop0 (ÔÑîì­æÝý{Ýa­¨žJ[ ©\Mù3IîÖj->\;2à ýÙ+·Ñ2í*-§‚”þ•Ke`) failed (rc=-16) [ 34.327025] REISERFS (device loop3): Using r5 hash to sort names [ 34.345737] REISERFS (device loop3): using 3.5.x disk format [ 34.364768] REISERFS (device loop3): Created .reiserfs_priv - reserved for xattr storage. [ 34.397229] REISERFS (device loop5): Using r5 hash to sort names [ 34.404033] REISERFS (device loop5): using 3.5.x disk format [ 34.410256] REISERFS (device loop5): Created .reiserfs_priv - reserved for xattr storage. executing program [ 34.452270] REISERFS (device loop4): Using r5 hash to sort names [ 34.496485] REISERFS (device loop2): Using r5 hash to sort names [ 34.500868] REISERFS (device loop4): using 3.5.x disk format [ 34.512816] REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. [ 34.520306] REISERFS (device loop2): using 3.5.x disk format [ 34.530837] REISERFS (device loop2): Created .reiserfs_priv - reserved for xattr storage. executing program executing program executing program [ 34.673423] REISERFS (device loop1): found reiserfs format "3.5" with non-standard journal [ 34.683237] REISERFS (device loop1): using ordered data mode [ 34.689240] reiserfs: using flush barriers [ 34.738916] [ 34.740574] ====================================================== [ 34.746888] WARNING: possible circular locking dependency detected [ 34.753214] 4.19.211-syzkaller #0 Not tainted [ 34.757701] ------------------------------------------------------ [ 34.764043] syz-executor222/8096 is trying to acquire lock: [ 34.766841] REISERFS (device loop3): found reiserfs format "3.5" with non-standard journal [ 34.769750] 000000003e4e5bbb (&type->s_umount_key#46){++++}, at: __get_super.part.0+0x209/0x2e0 [ 34.769777] [ 34.769777] but task is already holding lock: [ 34.769780] 000000005f62cb59 (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x1b/0x40 [ 34.769796] [ 34.769796] which lock already depends on the new lock. [ 34.769796] [ 34.769799] [ 34.769799] the existing dependency chain (in reverse order) is: [ 34.769807] [ 34.769807] -> #1 (&bdev->bd_mutex){+.+.}: [ 34.778518] REISERFS (device loop3): using ordered data mode [ 34.787162] blkdev_put+0x30/0x520 [ 34.787173] free_journal_ram+0x44b/0x600 [ 34.787182] journal_release+0x225/0x4d0 [ 34.787193] reiserfs_put_super+0xe0/0x5c0 [ 34.787205] generic_shutdown_super+0x144/0x370 [ 34.787218] kill_block_super+0x97/0xf0 [ 34.787229] deactivate_locked_super+0x94/0x160 [ 34.787245] deactivate_super+0x174/0x1a0 [ 34.793350] reiserfs: using flush barriers [ 34.801256] cleanup_mnt+0x1a8/0x290 [ 34.801269] task_work_run+0x148/0x1c0 [ 34.801280] exit_to_usermode_loop+0x251/0x2a0 [ 34.801289] do_syscall_64+0x538/0x620 [ 34.801313] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.819660] REISERFS (device loop1): journal params: device loop1, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 34.822919] [ 34.822919] -> #0 (&type->s_umount_key#46){++++}: [ 34.822946] down_read+0x36/0x80 [ 34.822962] __get_super.part.0+0x209/0x2e0 [ 34.838901] REISERFS (device loop1): checking transaction log (loop1) [ 34.842028] get_super+0x2b/0x50 [ 34.842038] fsync_bdev+0x14/0xc0 [ 34.842054] invalidate_partition+0x74/0xb0 [ 34.842065] drop_partitions.isra.0+0x9c/0x190 [ 34.842074] rescan_partitions+0xab/0x970 [ 34.842087] __blkdev_reread_part+0x189/0x220 [ 34.847254] REISERFS (device loop3): journal params: device loop3, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 34.852013] blkdev_reread_part+0x23/0x40 [ 34.852026] loop_set_status+0x103e/0x1800 [ 34.852035] loop_set_status64+0xb2/0x110 [ 34.852047] lo_ioctl+0x41f/0x20e0 [ 34.852060] blkdev_ioctl+0x5cb/0x1a80 [ 34.913154] REISERFS (device loop3): checking transaction log (loop3) [ 34.916090] block_ioctl+0xe9/0x130 [ 34.916101] do_vfs_ioctl+0xcdb/0x12e0 [ 34.916110] ksys_ioctl+0x9b/0xc0 [ 34.916123] __x64_sys_ioctl+0x6f/0xb0 [ 35.020169] do_syscall_64+0xf9/0x620 [ 35.024503] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.030208] [ 35.030208] other info that might help us debug this: [ 35.030208] [ 35.038356] Possible unsafe locking scenario: [ 35.038356] [ 35.044415] CPU0 CPU1 [ 35.049080] ---- ---- [ 35.053740] lock(&bdev->bd_mutex); [ 35.057451] lock(&type->s_umount_key#46); [ 35.061354] REISERFS (device loop1): Using r5 hash to sort names [ 35.064286] lock(&bdev->bd_mutex); [ 35.064293] lock(&type->s_umount_key#46); [ 35.064302] [ 35.064302] *** DEADLOCK *** [ 35.064302] [ 35.064310] 1 lock held by syz-executor222/8096: [ 35.064313] #0: 000000005f62cb59 (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x1b/0x40 [ 35.089050] REISERFS (device loop1): using 3.5.x disk format [ 35.091776] [ 35.091776] stack backtrace: [ 35.091791] CPU: 0 PID: 8096 Comm: syz-executor222 Not tainted 4.19.211-syzkaller #0 [ 35.091797] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 [ 35.091801] Call Trace: [ 35.091819] dump_stack+0x1fc/0x2ef [ 35.091834] print_circular_bug.constprop.0.cold+0x2d7/0x41e [ 35.091850] __lock_acquire+0x30c9/0x3ff0 [ 35.101921] REISERFS (device loop3): Using r5 hash to sort names [ 35.106116] ? mark_held_locks+0xf0/0xf0 [ 35.106128] ? do_raw_spin_unlock+0x171/0x230 [ 35.106147] ? _raw_spin_unlock+0x29/0x40 [ 35.110741] REISERFS (device loop3): using 3.5.x disk format [ 35.118493] ? __get_super.part.0+0x110/0x2e0 [ 35.118507] lock_acquire+0x170/0x3c0 [ 35.118516] ? __get_super.part.0+0x209/0x2e0 [ 35.118531] down_read+0x36/0x80 [ 35.128169] REISERFS (device loop1): Created .reiserfs_priv - reserved for xattr storage. [ 35.130436] ? __get_super.part.0+0x209/0x2e0 [ 35.130446] __get_super.part.0+0x209/0x2e0 [ 35.130456] get_super+0x2b/0x50 [ 35.130466] fsync_bdev+0x14/0xc0 [ 35.130483] invalidate_partition+0x74/0xb0 [ 35.175163] REISERFS (device loop3): Created .reiserfs_priv - reserved for xattr storage. [ 35.176861] drop_partitions.isra.0+0x9c/0x190 [ 35.176874] ? delete_partition+0x1d0/0x1d0 [ 35.176889] ? __mutex_lock+0x368/0x1190 [ 35.223982] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 35.225819] ? apparmor_capable+0x147/0x750 [ 35.225832] rescan_partitions+0xab/0x970 [ 35.225847] __blkdev_reread_part+0x189/0x220 [ 35.230308] REISERFS (device loop0): using ordered data mode [ 35.234201] blkdev_reread_part+0x23/0x40 [ 35.234216] loop_set_status+0x103e/0x1800 [ 35.234232] ? _copy_from_user+0xd2/0x130 [ 35.242700] reiserfs: using flush barriers [ 35.246926] loop_set_status64+0xb2/0x110 [ 35.246940] ? loop_set_status_old+0x250/0x250 [ 35.246960] ? security_capable+0x8f/0xc0 [ 35.290917] lo_ioctl+0x41f/0x20e0 [ 35.294445] ? follow_pte_pmd+0x60/0x60 [ 35.298409] ? loop_set_status64+0x110/0x110 [ 35.302809] blkdev_ioctl+0x5cb/0x1a80 [ 35.306691] ? blkpg_ioctl+0x9d0/0x9d0 [ 35.310569] ? do_wp_page+0x2dc/0x2210 [ 35.314467] ? finish_mkwrite_fault+0x640/0x640 [ 35.319128] ? __handle_mm_fault+0x15f6/0x41c0 [ 35.323698] ? mark_held_locks+0xf0/0xf0 [ 35.327772] block_ioctl+0xe9/0x130 [ 35.331387] ? blkdev_fallocate+0x3f0/0x3f0 [ 35.335695] do_vfs_ioctl+0xcdb/0x12e0 [ 35.339587] ? ioctl_preallocate+0x200/0x200 [ 35.343980] ? __do_page_fault+0x6d1/0xd60 [ 35.348198] ? lock_downgrade+0x720/0x720 [ 35.352343] ? up_read+0x17/0x110 [ 35.355848] ? __do_page_fault+0x180/0xd60 [ 35.360088] ksys_ioctl+0x9b/0xc0 [ 35.363545] __x64_sys_ioctl+0x6f/0xb0 [ 35.367441] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 35.372024] do_syscall_64+0xf9/0x620 [ 35.375832] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.381010] RIP: 0033:0x7f35f808fb89 [ 35.384708] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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 c0 ff ff ff f7 d8 64 89 01 48 [ 35.403595] RSP: 002b:00007ffced4b2268 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 35.411291] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f35f808fb89 [ 35.418555] RDX: 0000000020004640 RSI: 0000000000004c04 RDI: 0000000000000004 [ 35.425812] RBP: 0000000000000000 R08: 00000000000010f0 R09: 00007ffced4b2290 [ 35.433066] R10: 000000000000ffff R11: 0000000000000246 R12: 00007f35f804e9a0 [ 35.440323] R13: 00007ffced4b22c0 R14: 00007ffced4b22a0 R15: 0000000000000000 [ 35.448059] REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal [ 35.457336] REISERFS (device loop5): using ordered data mode [ 35.465897] reiserfs: using flush barriers [ 35.471629] REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 35.487651] REISERFS (device loop5): checking transaction log (loop5) [ 35.525653] REISERFS (device loop5): Using r5 hash to sort names [ 35.531934] REISERFS (device loop5): using 3.5.x disk format [ 35.537872] REISERFS (device loop5): Created .reiserfs_priv - reserved for xattr storage.