INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.46' (ECDSA) to the list of known hosts. executing program executing program executing program syzkaller login: [ 39.050908] hfsplus: failed to load root directory [ 39.063704] hfsplus: failed to load root directory [ 39.081272] hfsplus: failed to load root directory [ 39.094835] hfsplus: failed to load root directory executing program executing program executing program [ 39.112376] hfsplus: failed to load root directory [ 39.131603] hfsplus: failed to load root directory [ 39.146686] hfsplus: failed to load root directory executing program executing program [ 39.192841] hfsplus: failed to load root directory [ 39.205939] hfsplus: failed to load root directory executing program executing program [ 39.248638] hfsplus: failed to load root directory [ 39.260404] hfsplus: failed to load root directory [ 39.279464] hfsplus: failed to load root directory [ 39.291486] hfsplus: failed to load root directory executing program executing program [ 39.308459] hfsplus: failed to load root directory [ 39.319797] hfsplus: failed to load root directory executing program executing program [ 39.370470] hfsplus: failed to load root directory [ 39.385887] hfsplus: failed to load root directory executing program executing program executing program [ 39.451126] hfsplus: failed to load root directory [ 39.464661] hfsplus: failed to load root directory [ 39.482770] hfsplus: failed to load root directory executing program executing program [ 39.506428] hfsplus: failed to load root directory executing program [ 39.548582] hfsplus: failed to load root directory [ 39.561041] hfsplus: failed to load root directory [ 39.582083] hfsplus: failed to load root directory executing program executing program [ 39.594975] hfsplus: failed to load root directory [ 39.614680] hfsplus: failed to load root directory [ 39.629445] hfsplus: failed to load root directory executing program [ 39.653329] hfsplus: failed to load root directory [ 39.664892] hfsplus: failed to load root directory [ 39.683867] hfsplus: failed to load root directory executing program executing program [ 39.699415] hfsplus: failed to load root directory [ 39.718737] hfsplus: failed to load root directory executing program [ 39.749472] hfsplus: failed to load root directory executing program [ 39.781721] hfsplus: failed to load root directory executing program executing program [ 39.813648] hfsplus: failed to load root directory [ 39.824420] hfsplus: failed to load root directory executing program executing program executing program [ 39.887218] hfsplus: failed to load root directory [ 39.897750] hfsplus: failed to load root directory executing program executing program executing program executing program [ 40.004722] hfsplus: failed to load root directory executing program executing program executing program executing program executing program executing program executing program executing program [ 40.168551] hfsplus: failed to load root directory [ 40.181813] hfsplus: failed to load root directory executing program [ 40.219286] hfsplus: failed to load root directory executing program executing program [ 40.253999] hfsplus: failed to load root directory executing program executing program [ 40.316318] hfsplus: failed to load root directory [ 40.328783] hfsplus: failed to load root directory [ 40.348303] hfsplus: failed to load root directory executing program executing program [ 40.361851] hfsplus: failed to load root directory executing program [ 40.401400] hfsplus: failed to load root directory executing program [ 40.440965] hfsplus: failed to load root directory executing program executing program [ 40.461267] hfsplus: failed to load root directory [ 40.473765] hfsplus: failed to load root directory executing program [ 40.515273] hfsplus: failed to load root directory [ 40.525313] hfsplus: failed to load root directory [ 40.546507] hfsplus: failed to load root directory executing program executing program [ 40.569571] hfsplus: failed to load root directory [ 40.589389] hfsplus: failed to load root directory [ 40.604873] hfsplus: failed to load root directory executing program executing program [ 40.624287] hfsplus: failed to load root directory [ 40.635718] hfsplus: failed to load root directory [ 40.651739] hfsplus: failed to load root directory executing program [ 40.674853] hfsplus: failed to load root directory [ 40.684822] print_req_error: I/O error, dev loop0, sector 0 [ 40.695855] hfsplus: failed to load root directory executing program executing program [ 40.724397] hfsplus: failed to load root directory [ 40.738453] hfsplus: failed to load root directory executing program [ 40.773324] hfsplus: failed to load root directory [ 40.787644] hfsplus: failed to load root directory [ 40.805637] hfsplus: failed to load root directory [ 40.818754] hfsplus: failed to load root directory executing program executing program [ 40.833470] hfsplus: failed to load root directory executing program executing program [ 40.889317] hfsplus: failed to load root directory executing program executing program [ 40.922284] hfsplus: failed to load root directory [ 40.936039] hfsplus: failed to load root directory [ 40.953161] hfsplus: failed to load root directory executing program [ 40.996474] hfsplus: failed to load root directory [ 41.011692] hfsplus: failed to load root directory [ 41.031294] hfsplus: failed to load root directory executing program executing program executing program [ 41.044343] hfsplus: failed to load root directory [ 41.062141] hfsplus: failed to load root directory [ 41.075391] hfsplus: failed to load root directory executing program executing program [ 41.152782] hfsplus: failed to load root directory [ 41.166614] hfsplus: failed to load root directory [ 41.190244] hfsplus: failed to load root directory executing program executing program executing program [ 41.202397] hfsplus: failed to load root directory [ 41.221615] hfsplus: failed to load root directory [ 41.233804] hfsplus: failed to load root directory executing program [ 41.280938] hfsplus: failed to load root directory [ 41.295656] hfsplus: failed to load root directory executing program executing program executing program executing program [ 41.378947] hfsplus: failed to load root directory [ 41.393674] hfsplus: failed to load root directory executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 41.794530] hfsplus: failed to load root directory [ 41.810871] hfsplus: failed to load root directory executing program executing program executing program executing program executing program executing program [ 41.996707] hfsplus: failed to load root directory executing program [ 42.021692] hfsplus: failed to load root directory [ 42.036528] hfsplus: failed to load root directory [ 42.061330] hfsplus: failed to load root directory executing program executing program executing program [ 42.076114] hfsplus: failed to load root directory [ 42.095450] hfsplus: failed to load root directory [ 42.115688] hfsplus: failed to load root directory [ 42.137915] hfsplus: failed to load root directory executing program [ 42.163803] hfsplus: failed to load root directory executing program executing program [ 42.185282] hfsplus: failed to load root directory [ 42.204496] hfsplus: failed to load root directory [ 42.226855] hfsplus: failed to load root directory executing program [ 42.251421] hfsplus: failed to load root directory executing program [ 42.272722] hfsplus: failed to load root directory executing program [ 42.296226] hfsplus: failed to load root directory [ 42.314605] hfsplus: failed to load root directory [ 42.323963] print_req_error: I/O error, dev loop0, sector 0 [ 42.329847] print_req_error: I/O error, dev loop0, sector 0 [ 42.335806] Buffer I/O error on dev loop0, logical block 0, async page read executing program [ 42.343727] print_req_error: I/O error, dev loop0, sector 0 [ 42.349569] print_req_error: I/O error, dev loop0, sector 0 [ 42.355394] Buffer I/O error on dev loop0, logical block 0, async page read [ 42.381432] hfsplus: failed to load root directory executing program executing program executing program [ 42.394880] hfsplus: failed to load root directory [ 42.416040] hfsplus: failed to load root directory [ 42.430176] hfsplus: failed to load root directory executing program executing program executing program [ 42.504832] hfsplus: failed to load root directory [ 42.519309] hfsplus: failed to load root directory [ 42.539082] hfsplus: failed to load root directory executing program executing program [ 42.557920] hfsplus: failed to load root directory [ 42.571756] hfsplus: failed to load root directory [ 42.591954] hfsplus: failed to load root directory executing program [ 42.619942] hfsplus: failed to load root directory executing program executing program [ 42.684719] hfsplus: failed to load root directory executing program executing program executing program [ 42.777824] hfsplus: failed to load root directory executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 43.137636] hfsplus: failed to load root directory [ 43.150294] hfsplus: failed to load root directory [ 43.174778] hfsplus: failed to load root directory executing program [ 43.187944] hfsplus: failed to load root directory executing program executing program executing program [ 43.209089] hfsplus: failed to load root directory [ 43.228441] hfsplus: failed to load root directory [ 43.242826] hfsplus: failed to load root directory executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 43.509813] hfsplus: failed to load root directory [ 43.522539] hfsplus: failed to load root directory [ 43.544868] hfsplus: failed to load root directory executing program executing program executing program executing program [ 43.663491] hfsplus: failed to load root directory executing program [ 43.703316] hfsplus: failed to load root directory [ 43.718121] hfsplus: failed to load root directory [ 43.741769] hfsplus: failed to load root directory executing program [ 43.755567] hfsplus: failed to load root directory [ 43.780406] hfsplus: failed to load root directory executing program executing program executing program [ 43.809677] hfsplus: failed to load root directory [ 43.827528] hfsplus: failed to load root directory [ 43.846189] hfsplus: failed to load root directory executing program executing program executing program [ 43.902546] hfsplus: failed to load root directory [ 43.914721] hfsplus: failed to load root directory executing program [ 43.961551] hfsplus: failed to load root directory [ 43.975600] hfsplus: failed to load root directory [ 43.998978] hfsplus: failed to load root directory executing program [ 44.016063] hfsplus: failed to load root directory executing program executing program [ 44.048424] hfsplus: found bad thread record in catalog [ 44.068448] hfsplus: found bad thread record in catalog [ 44.074070] hfsplus: failed to load root directory [ 44.086223] hfsplus: failed to load root directory executing program executing program [ 44.109443] hfsplus: failed to load root directory [ 44.121688] hfsplus: failed to load root directory [ 44.141581] hfsplus: failed to load root directory executing program executing program [ 44.206850] hfsplus: failed to load root directory [ 44.226449] hfsplus: found bad thread record in catalog executing program executing program executing program executing program [ 44.312262] hfsplus: found bad thread record in catalog [ 44.333104] hfsplus: failed to load root directory [ 44.348234] hfsplus: failed to load root directory executing program [ 44.370833] hfsplus: failed to load root directory executing program executing program [ 44.396674] hfsplus: failed to load root directory [ 44.409399] hfsplus: failed to load root directory [ 44.433951] hfsplus: failed to load root directory executing program [ 44.452619] hfsplus: found bad thread record in catalog [ 44.458136] hfsplus: failed to load root directory [ 44.481089] hfsplus: failed to load root directory executing program [ 44.501361] hfsplus: failed to load root directory [ 44.516438] print_req_error: I/O error, dev loop0, sector 0 [ 44.525095] hfsplus: failed to load root directory [ 44.547332] hfsplus: failed to load root directory executing program [ 44.562105] hfsplus: failed to load root directory executing program [ 44.584651] hfsplus: failed to load root directory [ 44.594963] print_req_error: I/O error, dev loop0, sector 128 [ 44.608982] hfsplus: failed to load root directory executing program [ 44.635789] hfsplus: failed to load root directory [ 44.648741] hfsplus: failed to load root directory [ 44.668962] hfsplus: found bad thread record in catalog [ 44.674407] hfsplus: failed to load root directory executing program [ 44.698325] hfsplus: failed to load root directory [ 44.715131] hfsplus: failed to load root directory [ 44.724961] print_req_error: I/O error, dev loop0, sector 0 [ 44.731409] print_req_error: I/O error, dev loop0, sector 0 [ 44.737149] Buffer I/O error on dev loop0, logical block 0, async page read executing program [ 44.744564] print_req_error: I/O error, dev loop0, sector 0 [ 44.750384] Buffer I/O error on dev loop0, logical block 0, async page read [ 44.774346] hfsplus: found bad thread record in catalog [ 44.779865] hfsplus: failed to load root directory executing program executing program executing program [ 44.803930] hfsplus: failed to load root directory [ 44.822643] hfsplus: found bad thread record in catalog [ 44.828079] hfsplus: failed to load root directory [ 44.848948] hfsplus: failed to load root directory executing program executing program [ 44.898272] hfsplus: found bad thread record in catalog [ 44.903698] hfsplus: failed to load root directory [ 44.926835] hfsplus: failed to load root directory [ 44.941596] ------------[ cut here ]------------ [ 44.947428] ODEBUG: free active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x90 [ 44.957536] WARNING: CPU: 1 PID: 5536 at lib/debugobjects.c:291 debug_print_object+0x166/0x220 [ 44.966257] Kernel panic - not syncing: panic_on_warn set ... [ 44.966257] [ 44.973589] CPU: 1 PID: 5536 Comm: syzkaller048155 Not tainted 4.16.0-rc7+ #7 [ 44.980829] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 44.990152] Call Trace: [ 44.992709] dump_stack+0x194/0x24d [ 44.996305] ? arch_local_irq_restore+0x53/0x53 [ 45.000943] ? vsnprintf+0x1ed/0x1900 [ 45.004714] panic+0x1e4/0x41c [ 45.007874] ? refcount_error_report+0x214/0x214 [ 45.012595] ? show_regs_print_info+0x18/0x18 [ 45.017061] ? __warn+0x1c1/0x200 [ 45.020487] ? debug_print_object+0x166/0x220 [ 45.024949] __warn+0x1dc/0x200 [ 45.028198] ? debug_print_object+0x166/0x220 [ 45.032660] report_bug+0x1f4/0x2b0 [ 45.036255] fixup_bug.part.10+0x37/0x80 [ 45.040287] do_error_trap+0x2d7/0x3e0 [ 45.044143] ? vprintk_default+0x28/0x30 [ 45.048175] ? math_error+0x400/0x400 [ 45.051942] ? printk+0xaa/0xca [ 45.055189] ? show_regs_print_info+0x18/0x18 [ 45.059652] ? __internal_add_timer+0x2d0/0x2d0 [ 45.064291] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.069107] do_invalid_op+0x1b/0x20 [ 45.072790] invalid_op+0x1b/0x40 [ 45.076214] RIP: 0010:debug_print_object+0x166/0x220 [ 45.081282] RSP: 0018:ffff8801acbf73d0 EFLAGS: 00010082 [ 45.086612] RAX: dffffc0000000008 RBX: 0000000000000003 RCX: ffffffff815b193e [ 45.093853] RDX: 0000000000000000 RSI: 1ffff1003597ee2a RDI: 1ffff1003597edff [ 45.101090] RBP: ffff8801acbf7410 R08: 0000000000000000 R09: 1ffff1003597edd1 [ 45.108334] R10: ffffed003597eea9 R11: ffffffff88583158 R12: 0000000000000001 [ 45.115577] R13: ffffffff885949e0 R14: ffffffff8775c040 R15: ffffffff81604110 [ 45.122820] ? __internal_add_timer+0x2d0/0x2d0 [ 45.127458] ? vprintk_func+0x5e/0xc0 [ 45.131229] debug_check_no_obj_freed+0x662/0xf1f [ 45.136045] ? free_obj_work+0x690/0x690 [ 45.140090] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 45.145074] ? trace_hardirqs_on+0xd/0x10 [ 45.149192] ? free_modinfo_version+0x70/0x70 [ 45.153656] ? hfsplus_btree_close+0x212/0x450 [ 45.158207] ? __lock_is_held+0xb6/0x140 [ 45.162237] ? debug_check_no_locks_freed+0x264/0x3c0 [ 45.167397] kfree+0xc7/0x260 [ 45.170475] hfsplus_fill_super+0x114b/0x2030 [ 45.174943] ? hfsplus_iget+0x7e0/0x7e0 [ 45.178910] ? widen_string+0xa1/0x1e0 [ 45.182770] ? string+0x180/0x200 [ 45.186211] ? pointer+0x1bb/0x9c0 [ 45.189730] ? netdev_bits+0xa0/0xa0 [ 45.193414] ? ns_test_super+0x50/0x50 [ 45.197274] ? format_decode+0x10a/0x830 [ 45.201304] ? vsnprintf+0x1ed/0x1900 [ 45.205076] ? pointer+0x9c0/0x9c0 [ 45.208584] ? wait_for_completion+0x770/0x770 [ 45.213138] ? cap_capable+0x1b5/0x230 [ 45.216995] ? snprintf+0xc0/0xf0 [ 45.220422] ? vsprintf+0x40/0x40 [ 45.223843] ? ns_capable_common+0xcf/0x160 [ 45.228142] ? set_blocksize+0x1f1/0x260 [ 45.232176] mount_bdev+0x2b7/0x370 [ 45.235774] ? hfsplus_iget+0x7e0/0x7e0 [ 45.239717] hfsplus_mount+0x34/0x40 [ 45.243400] mount_fs+0x66/0x2d0 [ 45.246737] vfs_kern_mount.part.26+0xc6/0x4a0 [ 45.251296] ? may_umount+0xa0/0xa0 [ 45.254891] ? _raw_read_unlock+0x22/0x30 [ 45.259010] ? __get_fs_type+0x8a/0xc0 [ 45.262874] do_mount+0xea4/0x2bb0 [ 45.266387] ? copy_mount_string+0x40/0x40 [ 45.270593] ? rcu_pm_notify+0xc0/0xc0 [ 45.274453] ? copy_mount_options+0x5f/0x2e0 [ 45.278829] ? rcu_read_lock_sched_held+0x108/0x120 [ 45.283818] ? kmem_cache_alloc_trace+0x459/0x740 [ 45.288628] ? kasan_check_write+0x14/0x20 [ 45.292832] ? _copy_from_user+0x99/0x110 [ 45.296949] ? copy_mount_options+0x1f7/0x2e0 [ 45.301411] SyS_mount+0xab/0x120 [ 45.304831] ? copy_mnt_ns+0xb30/0xb30 [ 45.308690] do_syscall_64+0x281/0x940 [ 45.312547] ? vmalloc_sync_all+0x30/0x30 [ 45.316663] ? _raw_spin_unlock_irq+0x27/0x70 [ 45.321139] ? finish_task_switch+0x1c1/0x7e0 [ 45.325602] ? syscall_return_slowpath+0x550/0x550 [ 45.330498] ? syscall_return_slowpath+0x2ac/0x550 [ 45.335399] ? prepare_exit_to_usermode+0x350/0x350 [ 45.340392] ? entry_SYSCALL_64_after_hwframe+0x52/0xb7 [ 45.345726] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.350540] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 45.355695] RIP: 0033:0x44a51a [ 45.358855] RSP: 002b:00007f40bbaadd38 EFLAGS: 00000297 ORIG_RAX: 00000000000000a5 [ 45.366535] RAX: ffffffffffffffda RBX: 00000000200003a8 RCX: 000000000044a51a [ 45.373772] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f40bbaadd50 [ 45.381018] RBP: 00000000006e49c4 R08: 0000000020017900 R09: 000000000000000a [ 45.388258] R10: 0000000000000000 R11: 0000000000000297 R12: 0000000000000003 [ 45.395496] R13: 0000000000000004 R14: 00000000006e49c0 R15: 0073756c70736668 [ 45.402742] [ 45.402744] ====================================================== [ 45.402746] WARNING: possible circular locking dependency detected [ 45.402747] 4.16.0-rc7+ #7 Not tainted [ 45.402748] ------------------------------------------------------ [ 45.402750] syzkaller048155/5536 is trying to acquire lock: [ 45.402751] ((console_sem).lock){....}, at: [<00000000d4a7cd50>] down_trylock+0x13/0x70 [ 45.402755] [ 45.402757] but task is already holding lock: [ 45.402757] (&obj_hash[i].lock){-.-.}, at: [<00000000507259e1>] debug_check_no_obj_freed+0x1e9/0xf1f [ 45.402761] [ 45.402763] which lock already depends on the new lock. [ 45.402764] [ 45.402764] [ 45.402766] the existing dependency chain (in reverse order) is: [ 45.402767] [ 45.402767] -> #3 (&obj_hash[i].lock){-.-.}: [ 45.402772] _raw_spin_lock_irqsave+0x96/0xc0 [ 45.402773] __debug_object_init+0x109/0x1040 [ 45.402774] debug_object_init+0x17/0x20 [ 45.402775] hrtimer_init+0x8c/0x410 [ 45.402776] init_dl_task_timer+0x1b/0x50 [ 45.402778] __sched_fork+0x2bb/0xb60 [ 45.402779] init_idle+0x75/0x820 [ 45.402780] sched_init+0xb19/0xc43 [ 45.402781] start_kernel+0x452/0x819 [ 45.402782] x86_64_start_reservations+0x2a/0x2c [ 45.402784] x86_64_start_kernel+0x77/0x7a [ 45.402785] secondary_startup_64+0xa5/0xb0 [ 45.402786] [ 45.402786] -> #2 (&rq->lock){-.-.}: [ 45.402790] _raw_spin_lock+0x2a/0x40 [ 45.402792] task_fork_fair+0x7a/0x690 [ 45.402793] sched_fork+0x450/0xc10 [ 45.402794] copy_process.part.38+0x17c9/0x4bd0 [ 45.402795] _do_fork+0x1f7/0xf70 [ 45.402796] kernel_thread+0x34/0x40 [ 45.402797] rest_init+0x22/0xf0 [ 45.402799] start_kernel+0x7f1/0x819 [ 45.402800] x86_64_start_reservations+0x2a/0x2c [ 45.402801] x86_64_start_kernel+0x77/0x7a [ 45.402802] secondary_startup_64+0xa5/0xb0 [ 45.402803] [ 45.402804] -> #1 (&p->pi_lock){-.-.}: [ 45.402808] _raw_spin_lock_irqsave+0x96/0xc0 [ 45.402809] try_to_wake_up+0xbc/0x15f0 [ 45.402810] wake_up_process+0x10/0x20 [ 45.402812] __up.isra.0+0x1cc/0x2c0 [ 45.402813] up+0x13b/0x1d0 [ 45.402814] __up_console_sem+0xb2/0x1a0 [ 45.402815] console_unlock+0x5af/0xfb0 [ 45.402816] do_con_write+0x106e/0x1f70 [ 45.402817] con_write+0x25/0xb0 [ 45.402818] n_tty_write+0x5ef/0xec0 [ 45.402819] tty_write+0x3fa/0x840 [ 45.402821] __vfs_write+0xef/0x970 [ 45.402822] vfs_write+0x189/0x510 [ 45.402823] SyS_write+0xef/0x220 [ 45.402824] do_syscall_64+0x281/0x940 [ 45.402826] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 45.402826] [ 45.402827] -> #0 ((console_sem).lock){....}: [ 45.402831] lock_acquire+0x1d5/0x580 [ 45.402832] _raw_spin_lock_irqsave+0x96/0xc0 [ 45.402833] down_trylock+0x13/0x70 [ 45.402835] __down_trylock_console_sem+0xa2/0x1e0 [ 45.402836] console_trylock+0x15/0x70 [ 45.402837] vprintk_emit+0x5b5/0xb90 [ 45.402838] vprintk_default+0x28/0x30 [ 45.402840] vprintk_func+0x57/0xc0 [ 45.402841] printk+0xaa/0xca [ 45.402842] __warn_printk+0x90/0xf0 [ 45.402843] debug_print_object+0x166/0x220 [ 45.402844] debug_check_no_obj_freed+0x662/0xf1f [ 45.402846] kfree+0xc7/0x260 [ 45.402847] hfsplus_fill_super+0x114b/0x2030 [ 45.402848] mount_bdev+0x2b7/0x370 [ 45.402849] hfsplus_mount+0x34/0x40 [ 45.402850] mount_fs+0x66/0x2d0 [ 45.402852] vfs_kern_mount.part.26+0xc6/0x4a0 [ 45.402853] do_mount+0xea4/0x2bb0 [ 45.402854] SyS_mount+0xab/0x120 [ 45.402855] do_syscall_64+0x281/0x940 [ 45.402856] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 45.402857] [ 45.402858] other info that might help us debug this: [ 45.402859] [ 45.402860] Chain exists of: [ 45.402861] (console_sem).lock --> &rq->lock --> &obj_hash[i].lock [ 45.402866] [ 45.402867] Possible unsafe locking scenario: [ 45.402868] [ 45.402869] CPU0 CPU1 [ 45.402870] ---- ---- [ 45.402871] lock(&obj_hash[i].lock); [ 45.402874] lock(&rq->lock); [ 45.402876] lock(&obj_hash[i].lock); [ 45.402879] lock((console_sem).lock); [ 45.402881] [ 45.402882] *** DEADLOCK *** [ 45.402883] [ 45.402884] 2 locks held by syzkaller048155/5536: [ 45.402885] #0: (&type->s_umount_key#35/1){+.+.}, at: [<00000000651258d3>] sget_userns+0x3a1/0xe40 [ 45.402890] #1: (&obj_hash[i].lock){-.-.}, at: [<00000000507259e1>] debug_check_no_obj_freed+0x1e9/0xf1f [ 45.402895] [ 45.402896] stack backtrace: [ 45.402898] CPU: 1 PID: 5536 Comm: syzkaller048155 Not tainted 4.16.0-rc7+ #7 [ 45.402900] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.402901] Call Trace: [ 45.402902] dump_stack+0x194/0x24d [ 45.402903] ? arch_local_irq_restore+0x53/0x53 [ 45.402905] print_circular_bug.isra.38+0x2cd/0x2dc [ 45.402906] ? save_trace+0xe0/0x2b0 [ 45.402907] __lock_acquire+0x30a8/0x3e00 [ 45.402908] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 45.402910] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 45.402911] ? lock_downgrade+0x980/0x980 [ 45.402912] ? print_irqtrace_events+0x270/0x270 [ 45.402914] ? print_irqtrace_events+0x270/0x270 [ 45.402915] ? debug_object_active_state+0x3a5/0x580 [ 45.402916] ? __lock_acquire+0x664/0x3e00 [ 45.402918] ? trace_hardirqs_off+0x10/0x10 [ 45.402919] ? print_irqtrace_events+0x270/0x270 [ 45.402920] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 45.402922] lock_acquire+0x1d5/0x580 [ 45.402923] ? lock_acquire+0x1d5/0x580 [ 45.402924] ? down_trylock+0x13/0x70 [ 45.402925] ? lock_release+0xa40/0xa40 [ 45.402926] ? vprintk_emit+0x43b/0xb90 [ 45.402927] ? lock_downgrade+0x980/0x980 [ 45.402929] ? kvm_sched_clock_read+0x25/0x40 [ 45.402930] ? sched_clock+0x31/0x40 [ 45.402931] ? sched_clock_cpu+0x1b/0x180 [ 45.402932] ? vprintk_emit+0x5b5/0xb90 [ 45.402933] _raw_spin_lock_irqsave+0x96/0xc0 [ 45.402935] ? down_trylock+0x13/0x70 [ 45.402936] down_trylock+0x13/0x70 [ 45.402937] ? vprintk_emit+0x5b5/0xb90 [ 45.402938] __down_trylock_console_sem+0xa2/0x1e0 [ 45.402939] console_trylock+0x15/0x70 [ 45.402940] vprintk_emit+0x5b5/0xb90 [ 45.402942] ? console_unlock+0xfb0/0xfb0 [ 45.402943] ? find_held_lock+0x35/0x1d0 [ 45.402944] ? is_bpf_text_address+0x7b/0x120 [ 45.402945] ? lock_downgrade+0x980/0x980 [ 45.402946] ? lock_release+0xa40/0xa40 [ 45.402948] ? __internal_add_timer+0x2d0/0x2d0 [ 45.402949] vprintk_default+0x28/0x30 [ 45.402950] vprintk_func+0x57/0xc0 [ 45.402951] printk+0xaa/0xca [ 45.402952] ? show_regs_print_info+0x18/0x18 [ 45.402953] ? __warn_printk+0x84/0xf0 [ 45.402955] ? __queue_work+0x1230/0x1230 [ 45.402956] __warn_printk+0x90/0xf0 [ 45.402957] ? test_taint+0x20/0x20 [ 45.402958] ? lock_release+0xa40/0xa40 [ 45.402959] ? __queue_work+0x1230/0x1230 [ 45.402960] debug_print_object+0x166/0x220 [ 45.402962] debug_check_no_obj_freed+0x662/0xf1f [ 45.402963] ? free_obj_work+0x690/0x690 [ 45.402964] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 45.402966] ? trace_hardirqs_on+0xd/0x10 [ 45.402967] ? free_modinfo_version+0x70/0x70 [ 45.402968] ? hfsplus_btree_close+0x212/0x450 [ 45.402969] ? __lock_is_held+0xb6/0x140 [ 45.402971] ? debug_check_no_locks_freed+0x264/0x3c0 [ 45.402972] kfree+0xc7/0x260 [ 45.402973] hfsplus_fill_super+0x114b/0x2030 [ 45.402974] ? hfsplus_iget+0x7e0/0x7e0 [ 45.402975] ? widen_string+0xa1/0x1e0 [ 45.402976] ? string+0x180/0x200 [ 45.402977] ? pointer+0x1bb/0x9c0 [ 45.402979] ? netdev_bits+0xa0/0xa0 [ 45.402980] ? ns_test_super+0x50/0x50 [ 45.402981] ? format_decode+0x10a/0x830 [ 45.402982] ? vsnprintf+0x1ed/0x1900 [ 45.402983] ? pointer+0x9c0/0x9c0 [ 45.402984] ? wait_for_completion+0x770/0x770 [ 45.402986] ? cap_capable+0x1b5/0x230 [ 45.402987] ? snprintf+0xc0/0xf0 [ 45.402988] ? vsprintf+0x40/0x40 [ 45.402989] ? ns_capable_common+0xcf/0x160 [ 45.402990] ? set_blocksize+0x1f1/0x260 [ 45.402991] mount_bdev+0x2b7/0x370 [ 45.402992] ? hfsplus_iget+0x7e0/0x7e0 [ 45.402994] hfsplus_mount+0x34/0x40 [ 45.402995] mount_fs+0x66/0x2d0 [ 45.402996] vfs_kern_mount.part.26+0xc6/0x4a0 [ 45.402997] ? may_umount+0xa0/0xa0 [ 45.402998] ? _raw_read_unlock+0x22/0x30 [ 45.402999] ? __get_fs_type+0x8a/0xc0 [ 45.403001] do_mount+0xea4/0x2bb0 [ 45.403002] ? copy_mount_string+0x40/0x40 [ 45.403004] ? rcu_pm_notify+0xc0/0xc0 [ 45.403006] ? copy_mount_options+0x5f/0x2e0 [ 45.403009] ? rcu_read_lock_sched_held+0x108/0x120 [ 45.403011] ? kmem_cache_alloc_trace+0x459/0x740 [ 45.403013] ? kasan_check_write+0x14/0x20 [ 45.403015] ? _copy_from_user+0x99/0x110 [ 45.403016] ? copy_mount_options+0x1f7/0x2e0 [ 45.403018] SyS_mount+0xab/0x120 [ 45.403020] ? copy_mnt_ns+0xb30/0xb30 [ 45.403022] do_syscall_64+0x281/0x940 [ 45.403024] ? vmalloc_sync_all+0x30/0x30 [ 45.403026] ? _raw_spin_unlock_irq+0x27/0x70 [ 45.403028] ? finish_task_switch+0x1c1/0x7e0 [ 45.403031] ? syscall_return_slowpath+0x550/0x550 [ 45.403033] ? syscall_return_slowpath+0x2ac/0x550 [ 45.403035] ? prepare_exit_to_usermode+0x350/0x350 [ 45.403036] ? entry_SYSCALL_64_after_hwframe+0x52/0xb7 [ 45.403038] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.403039] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 45.403040] RIP: 0033:0x44a51a [ 45.403042] RSP: 002b:00007f40bbaadd38 EFLAGS: 00000297 ORIG_RAX: 00000000000000a5 [ 45.403045] RAX: ffffffffffffffda RBX: 00000000200003a8 RCX: 000000000044a51a [ 45.403047] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f40bbaadd50 [ 45.403048] RBP: 00000000006e49c4 R08: 0000000020017900 R09: 000000000000000a [ 45.403050] R10: 0000000000000000 R11: 0000000000000297 R12: 0000000000000003 [ 45.403052] R13: 0000000000000004 R14: 00000000006e49c0 R15: 0073756c70736668 [ 45.403502] Dumping ftrace buffer: [ 46.352876] (ftrace buffer empty) [ 46.356554] Kernel Offset: disabled [ 46.360149] Rebooting in 86400 seconds..