Warning: Permanently added '10.128.0.185' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 45.136638] REISERFS (device loop2): found reiserfs format "3.5" with non-standard journal [ 45.147812] REISERFS (device loop4): found reiserfs format "3.5" with non-standard journal [ 45.162771] REISERFS (device loop4): using ordered data mode [ 45.169658] REISERFS (device loop2): using ordered data mode [ 45.178022] reiserfs: using flush barriers [ 45.182839] reiserfs: using flush barriers [ 45.189740] REISERFS (device loop4): journal params: device loop4, size 8192, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 45.195458] REISERFS warning (device loop0): sh-2021 reiserfs_fill_super: can not find reiserfs on loop0 [ 45.206585] REISERFS (device loop2): journal params: device loop2, size 8192, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 45.250288] REISERFS (device loop4): checking transaction log (loop4) [ 45.258046] REISERFS (device loop1): found reiserfs format "3.5" with non-standard journal [ 45.262778] REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal [ 45.276117] REISERFS (device loop3): found reiserfs format "3.5" with non-standard journal [ 45.284569] REISERFS (device loop1): using ordered data mode [ 45.284574] reiserfs: using flush barriers [ 45.286685] REISERFS (device loop1): journal params: device loop1, size 8192, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 45.296023] REISERFS (device loop3): using ordered data mode [ 45.320539] Dev loop0: unable to read partition block 735977472 [ 45.321711] REISERFS (device loop2): checking transaction log (loop2) [ 45.327180] REISERFS (device loop5): using ordered data mode [ 45.343744] loop0: RDSK (-336099328) unable to read partition table [ 45.351514] loop0: partition table beyond EOD, truncated [ 45.358273] reiserfs: using flush barriers [ 45.362698] reiserfs: using flush barriers [ 45.373565] loop_reread_partitions: partition scan of loop0 (JpfQT)[qZ;(q-My) failed (rc=-5) [ 45.384969] REISERFS (device loop5): journal params: device loop5, size 8192, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 45.403661] REISERFS (device loop3): journal params: device loop3, size 8192, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 45.430621] REISERFS (device loop5): checking transaction log (loop5) [ 45.442613] REISERFS (device loop3): checking transaction log (loop3) executing program [ 45.477156] REISERFS (device loop1): checking transaction log (loop1) executing program [ 45.724154] Dev loop0: unable to read partition block 735977472 [ 45.756210] loop0: RDSK (-336099328) unable to read partition table executing program [ 45.810405] loop0: partition table beyond EOD, truncated executing program executing program [ 46.004038] Dev loop0: unable to read partition block 735977472 [ 46.031654] loop0: RDSK (-336099328) unable to read partition table [ 46.039525] loop0: partition table beyond EOD, truncated executing program [ 46.211268] Dev loop0: unable to read partition block 735977472 [ 46.227544] loop0: RDSK (-336099328) unable to read partition table executing program [ 46.271591] loop0: partition table beyond EOD, truncated executing program [ 46.442035] Dev loop0: unable to read partition block 735977472 [ 46.490641] loop0: RDSK (-336099328) unable to read partition table [ 46.543152] loop0: partition table beyond EOD, truncated executing program executing program executing program [ 46.864715] Dev loop0: unable to read partition block 735977472 [ 46.890376] loop0: RDSK (-336099328) unable to read partition table executing program [ 46.934818] loop0: partition table beyond EOD, truncated [ 47.063685] Dev loop0: unable to read partition block 735977472 [ 47.087442] loop0: RDSK (-336099328) unable to read partition table [ 47.127422] loop0: partition table beyond EOD, truncated executing program executing program executing program [ 47.429526] Dev loop0: unable to read partition block 735977472 [ 47.442923] loop0: RDSK (-336099328) unable to read partition table executing program [ 47.483774] loop0: partition table beyond EOD, truncated executing program executing program executing program [ 47.850769] Dev loop0: unable to read partition block 735977472 [ 47.880274] loop0: RDSK (-336099328) unable to read partition table executing program [ 47.938201] loop0: partition table beyond EOD, truncated executing program executing program [ 48.127703] Dev loop0: unable to read partition block 735977472 [ 48.127759] REISERFS (device loop4): Using r5 hash to sort names [ 48.145861] loop0: RDSK (-336099328) unable to read partition table [ 48.154113] loop0: partition table beyond EOD, truncated executing program [ 48.180034] REISERFS (device loop4): using 3.5.x disk format [ 48.188195] REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. [ 48.267350] REISERFS (device loop1): Using r5 hash to sort names [ 48.269348] [ 48.275142] ====================================================== [ 48.281445] WARNING: possible circular locking dependency detected [ 48.287753] 4.14.202-syzkaller #0 Not tainted [ 48.292218] ------------------------------------------------------ [ 48.298603] syz-executor942/7993 is trying to acquire lock: [ 48.304375] (&bdev->bd_mutex){+.+.}, at: [] blkdev_put+0x27/0x4c0 [ 48.312240] [ 48.312240] but task is already holding lock: [ 48.318181] (&type->s_umount_key#46){++++}, at: [] deactivate_super+0x77/0xa0 [ 48.327097] [ 48.327097] which lock already depends on the new lock. [ 48.327097] [ 48.335395] [ 48.335395] the existing dependency chain (in reverse order) is: [ 48.343003] [ 48.343003] -> #1 (&type->s_umount_key#46){++++}: [ 48.349306] down_read+0x36/0x80 [ 48.353187] __get_super.part.0+0x271/0x390 [ 48.358175] get_super+0x2b/0x50 [ 48.362037] fsync_bdev+0x14/0xc0 [ 48.365987] invalidate_partition+0x74/0xb0 [ 48.370802] drop_partitions.isra.0+0x83/0x150 [ 48.375875] rescan_partitions+0xa9/0x800 [ 48.380525] __blkdev_reread_part+0x140/0x1d0 [ 48.385512] blkdev_reread_part+0x23/0x40 [ 48.390164] loop_set_status+0xeeb/0x12b0 [ 48.394809] loop_set_status_old+0x18a/0x200 [ 48.399896] lo_ioctl+0x5ae/0x1cd0 [ 48.403947] blkdev_ioctl+0x540/0x1830 [ 48.408327] block_ioctl+0xd9/0x120 [ 48.412448] do_vfs_ioctl+0x75a/0xff0 [ 48.416742] SyS_ioctl+0x7f/0xb0 [ 48.420705] do_syscall_64+0x1d5/0x640 [ 48.425093] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 48.430778] [ 48.430778] -> #0 (&bdev->bd_mutex){+.+.}: [ 48.436586] lock_acquire+0x170/0x3f0 [ 48.441064] __mutex_lock+0xc4/0x1310 [ 48.445371] blkdev_put+0x27/0x4c0 [ 48.449406] free_journal_ram+0x41a/0x5c0 [ 48.454051] journal_release+0x1cf/0x450 [ 48.458607] reiserfs_put_super+0xbb/0x560 [ 48.463348] generic_shutdown_super+0x144/0x370 [ 48.468509] kill_block_super+0x95/0xe0 [ 48.472976] deactivate_locked_super+0x6c/0xd0 [ 48.478226] deactivate_super+0x7f/0xa0 [ 48.482695] cleanup_mnt+0x186/0x2c0 [ 48.487216] task_work_run+0x11f/0x190 [ 48.491693] exit_to_usermode_loop+0x1ad/0x200 [ 48.496768] do_syscall_64+0x4a3/0x640 [ 48.501153] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 48.506835] [ 48.506835] other info that might help us debug this: [ 48.506835] [ 48.514959] Possible unsafe locking scenario: [ 48.514959] [ 48.521165] CPU0 CPU1 [ 48.525802] ---- ---- [ 48.530439] lock(&type->s_umount_key#46); [ 48.534736] lock(&bdev->bd_mutex); [ 48.541199] lock(&type->s_umount_key#46); [ 48.548010] lock(&bdev->bd_mutex); [ 48.551696] [ 48.551696] *** DEADLOCK *** [ 48.551696] [ 48.557825] 1 lock held by syz-executor942/7993: [ 48.563244] #0: (&type->s_umount_key#46){++++}, at: [] deactivate_super+0x77/0xa0 [ 48.574240] [ 48.574240] stack backtrace: [ 48.578723] CPU: 0 PID: 7993 Comm: syz-executor942 Not tainted 4.14.202-syzkaller #0 [ 48.586665] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 48.596950] Call Trace: [ 48.599536] dump_stack+0x1b2/0x283 [ 48.603147] print_circular_bug.constprop.0.cold+0x2d7/0x41e [ 48.608922] __lock_acquire+0x2e0e/0x3f20 [ 48.613054] ? kernel_text_address+0xbd/0xf0 [ 48.617435] ? trace_hardirqs_on+0x10/0x10 [ 48.622955] ? entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 48.628381] ? __save_stack_trace+0xa0/0x160 [ 48.633286] ? check_preemption_disabled+0x35/0x240 [ 48.638287] ? kasan_slab_free+0xc3/0x1a0 [ 48.642407] lock_acquire+0x170/0x3f0 [ 48.646204] ? blkdev_put+0x27/0x4c0 [ 48.650500] ? blkdev_put+0x27/0x4c0 [ 48.654189] __mutex_lock+0xc4/0x1310 [ 48.657963] ? blkdev_put+0x27/0x4c0 [ 48.662258] ? lock_downgrade+0x740/0x740 [ 48.666471] ? blkdev_put+0x27/0x4c0 [ 48.670157] ? __ww_mutex_wakeup_for_backoff+0x210/0x210 [ 48.675582] ? debug_check_no_obj_freed+0x2c0/0x674 [ 48.680671] ? kfree+0x14a/0x250 [ 48.684023] ? mark_held_locks+0xa6/0xf0 [ 48.688069] blkdev_put+0x27/0x4c0 [ 48.691589] free_journal_ram+0x41a/0x5c0 [ 48.695721] ? _raw_spin_unlock+0x29/0x40 [ 48.700028] journal_release+0x1cf/0x450 [ 48.704064] ? reiserfs_end_persistent_transaction+0x190/0x190 [ 48.710444] ? journal_mark_dirty+0x72b/0xae0 [ 48.714926] reiserfs_put_super+0xbb/0x560 [ 48.719160] ? reiserfs_quota_write+0x630/0x630 [ 48.723804] ? fsnotify_unmount_inodes+0x1a2/0x210 [ 48.728708] ? reiserfs_quota_write+0x630/0x630 [ 48.733352] generic_shutdown_super+0x144/0x370 [ 48.737996] kill_block_super+0x95/0xe0 [ 48.741955] deactivate_locked_super+0x6c/0xd0 [ 48.746511] deactivate_super+0x7f/0xa0 [ 48.750893] cleanup_mnt+0x186/0x2c0 [ 48.754594] task_work_run+0x11f/0x190 [ 48.758456] exit_to_usermode_loop+0x1ad/0x200 [ 48.763022] do_syscall_64+0x4a3/0x640 [ 48.766894] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 48.772144] RIP: 0033:0x44dfd7 [ 48.775312] RSP: 002b:00007ffe5f4ce478 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 [ 48.782993] RAX: 0000000000000000 RBX: 000000000000b05d RCX: 000000000044dfd7 [ 48.790245] RDX: 0000000000400d57 RSI: 0000000000000002 RDI: 00007ffe5f4ce520 [ 48.797514] RBP: 0000000000001f3b R08: 0000000000000000 R09: 0000000000000009 [ 48.805041] R10: 0000000000000005 R11: 0000000000000202 R12: 00007ffe5f4cf5c0 executing program [ 48.814174] R13: 00000000018aa880 R14: 0000000000000000 R15: 0000000000000000 [ 48.833637] REISERFS (device loop1): using 3.5.x disk format [ 48.850291] REISERFS (device loop1): Created .reiserfs_priv - reserved for xattr storage. [ 48.888490] Dev loop0: unable to read partition block 735977472 [ 48.896617] loop0: RDSK (-336099328) unable to read partition table [ 48.904824] loop0: partition table beyond EOD, truncated executing program [ 48.934671] REISERFS (device loop5): Using r5 hash to sort names [ 48.973333] REISERFS (device loop5): using 3.5.x disk format executing program [ 48.979769] REISERFS (device loop5): Created .reiserfs_priv - reserved for xattr storage. executing program [ 49.019271] REISERFS (device loop2): Using r5 hash to sort names [ 49.038480] REISERFS (device loop2): using 3.5.x disk format [ 49.050040] REISERFS (device loop2): Created .reiserfs_priv - reserved for xattr storage. [ 49.132568] REISERFS (device loop3): Using r5 hash to sort names [ 49.139155] REISERFS (device loop3): using 3.5.x disk format [ 49.145441] REISERFS (device loop3): Created .reiserfs_priv - reserved for xattr storage. [ 49.153995] Dev loop0: unable to read partition block 735977472 [ 49.162526] loop0: RDSK (-336099328) unable to read partition table executing program executing program [ 49.193015] loop0: partition table beyond EOD, truncated executing program [ 49.294058] REISERFS warning (device loop0): sh-2021 reiserfs_fill_super: can not find reiserfs on loop0 [ 49.311393] Dev loop0: unable to read partition block 735977472 [ 49.324859] loop0: RDSK (-336099328) unable to read partition table [ 49.331975] loop0: partition table beyond EOD, truncated [ 49.338229] loop_reread_partitions: partition scan of loop0 (JpfQT)[qZ;(q-My) failed (rc=-5) executing program executing program [ 49.394389] REISERFS (device loop1): found reiserfs format "3.5" with non-standard journal [ 49.407702] REISERFS (device loop1): using ordered data mode [ 49.414063] reiserfs: using flush barriers executing program [ 49.445129] REISERFS warning (device loop4): reiserfs_fill_super: Cannot allocate commit workqueue [ 49.451039] REISERFS (device loop1): journal params: device loop1, size 8192, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 49.473158] REISERFS (device loop1): checking transaction log (loop1) executing program [ 49.513461] REISERFS (device loop3): found reiserfs format "3.5" with non-standard journal [ 49.526693] REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal [ 49.529287] REISERFS (device loop3): using ordered data mode [ 49.540448] REISERFS (device loop5): using ordered data mode [ 49.547152] REISERFS (device loop2): found reiserfs format "3.5" with non-standard journal [ 49.559597] reiserfs: using flush barriers executing program [ 49.564888] REISERFS (device loop2): using ordered data mode [ 49.576366] reiserfs: using flush barriers [ 49.578560] REISERFS (device loop5): journal params: device loop5, size 8192, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 49.582949] reiserfs: using flush barriers [ 49.607072] REISERFS (device loop3): journal params: device loop3, size 8192, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 49.650247] REISERFS (device loop5): checking transaction log (loop5) executing program [ 49.658767] REISERFS (device loop2): journal params: device loop2, size 8192, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 49.678655] REISERFS (device loop4): found reiserfs format "3.5" with non-standard journal [ 49.680899] REISERFS (device loop3): checking transaction log (loop3) executing program [ 49.715183] REISERFS (device loop2): checking transaction log (loop2) [ 49.723466] REISERFS (device loop4): using ordered data mode executing program [ 49.797625] reiserfs: using flush barriers [ 49.844634] REISERFS (device loop4): journal params: device loop4, size 8192, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 49.868012] Dev loop0: unable to read partition block 735977472 [ 49.886786] loop0: RDSK (-336099328) unable to read partition table executing program [ 49.899196] REISERFS (device loop4): checking transaction log (loop4) [ 49.928674] loop0: partition table beyond EOD, truncated executing program executing program executing program [ 50.189895] Dev loop0: unable to read partition block 735977472 [ 50.232992] loop0: RDSK (-336099328) unable to read partition table executing program [ 50.273618] loop0: partition table beyond EOD, truncated executing program [ 50.495863] Dev loop0: unable to read partition block 735977472 [ 50.510277] loop0: RDSK (-336099328) unable to read partition table executing program [ 50.551002] loop0: partition table beyond EOD, truncated [ 50.652743] Dev loop0: unable to read partition block 735977472 [ 50.670636] loop0: RDSK (-336099328) unable to read partition table executing program [ 50.707901] loop0: partition table beyond EOD, truncated executing program [ 50.926098] Dev loop0: unable to read partition block 735977472 [ 50.945208] loop0: RDSK (-336099328) unable to read partition table executing program [ 50.984543] REISERFS (device loop1): Using r5 hash to sort names [ 50.990996] loop0: partition table beyond EOD, truncated [ 51.016588] REISERFS (device loop1): using 3.5.x disk format [ 51.048848] REISERFS (device loop1): Created .reiserfs_priv - reserved for xattr storage. [ 51.098981] Dev loop0: unable to read partition block 735977472 [ 51.113013] loop0: RDSK (-336099328) unable to read partition table [ 51.119583] loop0: partition table beyond EOD, truncated executing program executing program executing program executing program executing program [ 51.488638] REISERFS (device loop3): Using r5 hash to sort names [ 51.511102] REISERFS (device loop3): using 3.5.x disk format [ 51.529720] REISERFS (device loop3): Created .reiserfs_priv - reserved for xattr storage. executing program [ 51.571422] REISERFS (device loop2): Using r5 hash to sort names [ 51.586381] REISERFS (device loop2): using 3.5.x disk format [ 51.599948] REISERFS (device loop2): Created .reiserfs_priv - reserved for xattr storage. [ 51.633235] REISERFS (device loop5): Using r5 hash to sort names [ 51.648147] REISERFS (device loop4): Using r5 hash to sort names [ 51.648862] REISERFS (device loop5): using 3.5.x disk format [ 51.655041] REISERFS (device loop4): using 3.5.x disk format [ 51.666569] REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. [ 51.666744] REISERFS (device loop5): Created .reiserfs_priv - reserved for xattr storage. [ 51.707014] Dev loop0: unable to read partition block 735977472 [ 51.719966] loop0: RDSK (-336099328) unable to read partition table executing program [ 51.752368] loop0: partition table beyond EOD, truncated executing program [ 51.853001] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 51.877111] REISERFS (device loop0): using ordered data mode [ 51.889677] reiserfs: using flush barriers [ 51.919062] REISERFS warning (device loop0): sh-460 journal_init: journal header magic 49a51c6e (device loop0) does not match to magic found in super block 49ad1c61 executing program executing program executing program executing program [ 52.000702] REISERFS (device loop1): found reiserfs format "3.5" with non-standard journal [ 52.009529] REISERFS (device loop1): using ordered data mode [ 52.016501] reiserfs: using flush barriers [ 52.021452] REISERFS (device loop1): journal params: device loop1, size 8192, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 52.038507] REISERFS (device loop1): checking transaction log (loop1) [ 52.047447] REISERFS (device loop2): found reiserfs format "3.5" with non-standard journal [ 52.056228] REISERFS (device loop2): using ordered data mode [ 52.062046] reiserfs: using flush barriers [ 52.064030] REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal [ 52.072348] REISERFS (device loop2): journal params: device loop2, size 8192, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 52.077066] REISERFS (device loop3): found reiserfs format "3.5" with non-standard journal [ 52.092393] REISERFS (device loop2): checking transaction log (loop2) [ 52.110985] REISERFS (device loop5): using ordered data mode [ 52.121081] REISERFS (device loop4): found reiserfs format "3.5" with non-standard journal [ 52.128772] reiserfs: using flush barriers [ 52.135341] REISERFS (device loop4): using ordered data mode [ 52.145709] REISERFS (device loop5): journal params: device loop5, size 8192, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 52.154339] reiserfs: using flush barriers [ 52.164179] REISERFS (device loop3): using ordered data mode [ 52.188242] reiserfs: using flush barriers [ 52.188343] REISERFS (device loop4): journal params: device loop4, size 8192, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 52.203183] REISERFS (device loop3): journal params: device loop3, size 8192, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 52.218254] REISERFS (device loop5): checking transaction log (loop5) [ 52.284157] REISERFS (device loop4): checking transaction log (loop4) [ 52.294017] REISERFS (device loop3): checking transaction log (loop3) [ 53.493913] REISERFS (device loop5): Using r5 hash to sort names [ 53.514640] REISERFS (device loop5): using 3.5.x disk format [ 53.536167] REISERFS (device loop5): Created .reiserfs_priv - reserved for xattr storage. [ 53.602411] REISERFS (device loop1): Using r5 hash to sort names [ 53.608618] REISERFS (device loop1): using 3.5.x disk format [ 53.655158] REISERFS (device loop1): Created .reiserfs_priv - reserved for xattr storage. [ 53.843829] REISERFS (device loop2): Using r5 hash to sort names [ 53.850230] REISERFS (device loop2): using 3.5.x disk format [ 53.857951] REISERFS (device loop3): Using r5 hash to sort names [ 53.860766] REISERFS (device loop2): Created .reiserfs_priv - reserved for xattr storage. [ 53.865328] REISERFS (device loop3): using 3.5.x disk format [ 53.880814] REISERFS (device loop3): Created .reiserfs_priv - reserved for xattr storage. [ 53.893046] REISERFS (device loop4): Using r5 hash to sort names [ 53.899235] REISERFS (device loop4): using 3.5.x disk format [ 53.905721] REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage.