Warning: Permanently added '10.128.0.19' (ECDSA) to the list of known hosts. [ 45.373866] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 45.493935] audit: type=1400 audit(1578535165.268:36): avc: denied { map } for pid=7208 comm="syz-executor970" path="/root/syz-executor970171792" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 executing program executing program [ 50.504235] ODEBUG: free active (active state 0) object type: timer_list hint: rfcomm_dlc_timeout+0x0/0x60 [ 50.514782] ------------[ cut here ]------------ [ 50.520305] WARNING: CPU: 1 PID: 7211 at lib/debugobjects.c:287 debug_print_object.cold+0xa7/0xdb [ 50.529305] Kernel panic - not syncing: panic_on_warn set ... [ 50.529305] [ 50.536649] CPU: 1 PID: 7211 Comm: syz-executor970 Not tainted 4.14.162-syzkaller #0 [ 50.544510] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 50.553843] Call Trace: [ 50.556411] dump_stack+0x142/0x197 [ 50.560023] panic+0x1f9/0x42d [ 50.563413] ? add_taint.cold+0x16/0x16 [ 50.567435] ? debug_print_object.cold+0xa7/0xdb [ 50.572664] ? debug_print_object.cold+0xa7/0xdb [ 50.577579] __warn.cold+0x2f/0x2f [ 50.581241] ? ist_end_non_atomic+0x10/0x10 [ 50.585549] ? debug_print_object.cold+0xa7/0xdb [ 50.590288] report_bug+0x216/0x254 [ 50.593915] do_error_trap+0x1bb/0x310 [ 50.597991] ? math_error+0x360/0x360 [ 50.601779] ? vprintk_emit+0x171/0x600 [ 50.605768] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 50.610612] do_invalid_op+0x1b/0x20 [ 50.614318] invalid_op+0x1b/0x40 [ 50.617797] RIP: 0010:debug_print_object.cold+0xa7/0xdb [ 50.623287] RSP: 0018:ffff88809847faa8 EFLAGS: 00010086 [ 50.628768] RAX: 000000000000005e RBX: 0000000000000003 RCX: 0000000000000000 [ 50.636147] RDX: 0000000000000000 RSI: ffffffff86cc43e0 RDI: ffffed101308ff4b [ 50.643457] RBP: ffff88809847fad0 R08: 000000000000005e R09: 0000000000000000 [ 50.650717] R10: 0000000000000000 R11: ffff88807f8a0480 R12: ffffffff86cbf660 [ 50.658408] R13: ffffffff85cdf990 R14: 0000000000000000 R15: ffff88808f1cb328 [ 50.665689] ? rfcomm_dlc_link+0x160/0x160 [ 50.670011] ? debug_print_object.cold+0xa7/0xdb [ 50.674771] debug_check_no_obj_freed+0x3f5/0x7b7 [ 50.679615] ? free_obj_work+0x6d0/0x6d0 [ 50.684618] ? rcu_lockdep_current_cpu_online+0xf2/0x140 [ 50.690089] kfree+0xbd/0x270 [ 50.693228] rfcomm_dlc_free+0x20/0x30 [ 50.697121] rfcomm_dev_ioctl+0x1637/0x1920 [ 50.701442] ? mark_held_locks+0xb1/0x100 [ 50.705668] ? rfcomm_tty_install+0x180/0x180 [ 50.710165] ? __local_bh_enable_ip+0x99/0x1a0 [ 50.714896] rfcomm_sock_ioctl+0x82/0xa0 [ 50.718947] sock_do_ioctl+0x64/0xb0 [ 50.722662] sock_ioctl+0x2a6/0x470 [ 50.726286] ? dlci_ioctl_set+0x40/0x40 [ 50.730490] do_vfs_ioctl+0x7ae/0x1060 [ 50.734368] ? selinux_file_mprotect+0x5d0/0x5d0 [ 50.739232] ? ioctl_preallocate+0x1c0/0x1c0 [ 50.743781] ? fd_install+0x4d/0x60 [ 50.747551] ? security_file_ioctl+0x7d/0xb0 [ 50.752316] ? security_file_ioctl+0x89/0xb0 [ 50.756716] SyS_ioctl+0x8f/0xc0 [ 50.760151] ? do_vfs_ioctl+0x1060/0x1060 [ 50.764283] do_syscall_64+0x1e8/0x640 [ 50.768181] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 50.773008] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 50.778531] RIP: 0033:0x4412b9 [ 50.781714] RSP: 002b:00007ffc238cb348 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 50.789405] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004412b9 [ 50.796668] RDX: 0000000020000100 RSI: 00000000400452c8 RDI: 0000000000000004 [ 50.803938] RBP: 000000000000c543 R08: 00000000004002c8 R09: 00000000004002c8 [ 50.811471] R10: 00000000004002c8 R11: 0000000000000246 R12: 00000000004020e0 [ 50.818752] R13: 0000000000402170 R14: 0000000000000000 R15: 0000000000000000 [ 50.826128] [ 50.826130] ====================================================== [ 50.826132] WARNING: possible circular locking dependency detected [ 50.826133] 4.14.162-syzkaller #0 Not tainted [ 50.826135] ------------------------------------------------------ [ 50.826137] syz-executor970/7211 is trying to acquire lock: [ 50.826138] ((console_sem).lock){-...}, at: [] down_trylock+0x13/0x70 [ 50.826142] [ 50.826143] but task is already holding lock: [ 50.826144] (&obj_hash[i].lock){-.-.}, at: [] debug_check_no_obj_freed+0x12d/0x7b7 [ 50.826148] [ 50.826150] which lock already depends on the new lock. [ 50.826150] [ 50.826151] [ 50.826153] the existing dependency chain (in reverse order) is: [ 50.826153] [ 50.826154] -> #5 (&obj_hash[i].lock){-.-.}: [ 50.826158] lock_acquire+0x16f/0x430 [ 50.826160] _raw_spin_lock_irqsave+0x95/0xcd [ 50.826161] debug_object_activate+0x10b/0x450 [ 50.826162] enqueue_hrtimer+0x27/0x3b0 [ 50.826164] hrtimer_start_range_ns+0x50a/0x10d0 [ 50.826165] schedule_hrtimeout_range_clock+0x17c/0x340 [ 50.826166] schedule_hrtimeout+0x25/0x30 [ 50.826167] wait_task_inactive+0x4ac/0x580 [ 50.826169] __kthread_bind_mask+0x24/0xc0 [ 50.826170] kthread_bind_mask+0x23/0x30 [ 50.826171] create_worker+0x31b/0x530 [ 50.826173] workqueue_init+0x57b/0x68a [ 50.826174] kernel_init_freeable+0x2af/0x532 [ 50.826175] kernel_init+0x12/0x162 [ 50.826176] ret_from_fork+0x24/0x30 [ 50.826177] [ 50.826177] -> #4 (hrtimer_bases.lock){-.-.}: [ 50.826182] lock_acquire+0x16f/0x430 [ 50.826183] _raw_spin_lock_irqsave+0x95/0xcd [ 50.826184] lock_hrtimer_base.isra.0+0x75/0x130 [ 50.826186] hrtimer_start_range_ns+0x7a/0x10d0 [ 50.826187] enqueue_task_rt+0x972/0xe40 [ 50.826188] __sched_setscheduler.constprop.0+0xc59/0x2340 [ 50.826190] _sched_setscheduler+0x10e/0x180 [ 50.826191] sched_setscheduler+0xe/0x10 [ 50.826192] watchdog_enable+0x10b/0x160 [ 50.826193] smpboot_thread_fn+0x444/0x960 [ 50.826194] kthread+0x319/0x430 [ 50.826195] ret_from_fork+0x24/0x30 [ 50.826196] [ 50.826197] -> #3 (&rt_b->rt_runtime_lock){-...}: [ 50.826201] lock_acquire+0x16f/0x430 [ 50.826202] _raw_spin_lock+0x2f/0x40 [ 50.826203] enqueue_task_rt+0x524/0xe40 [ 50.826205] __sched_setscheduler.constprop.0+0xc59/0x2340 [ 50.826206] _sched_setscheduler+0x10e/0x180 [ 50.826208] sched_setscheduler+0xe/0x10 [ 50.826209] watchdog_enable+0x10b/0x160 [ 50.826210] smpboot_thread_fn+0x444/0x960 [ 50.826211] kthread+0x319/0x430 [ 50.826212] ret_from_fork+0x24/0x30 [ 50.826213] [ 50.826214] -> #2 (&rq->lock){-.-.}: [ 50.826218] lock_acquire+0x16f/0x430 [ 50.826219] _raw_spin_lock+0x2f/0x40 [ 50.826220] task_fork_fair+0x63/0x5b0 [ 50.826221] sched_fork+0x3a6/0xc10 [ 50.826223] copy_process.part.0+0x15b7/0x6a70 [ 50.826224] _do_fork+0x19e/0xce0 [ 50.826225] kernel_thread+0x34/0x40 [ 50.826226] rest_init+0x24/0x1e2 [ 50.826228] start_kernel+0x6df/0x6fd [ 50.826229] x86_64_start_reservations+0x29/0x2b [ 50.826230] x86_64_start_kernel+0x77/0x7b [ 50.826231] secondary_startup_64+0xa5/0xb0 [ 50.826232] [ 50.826233] -> #1 (&p->pi_lock){-.-.}: [ 50.826237] lock_acquire+0x16f/0x430 [ 50.826238] _raw_spin_lock_irqsave+0x95/0xcd [ 50.826239] try_to_wake_up+0x79/0xf90 [ 50.826240] wake_up_process+0x10/0x20 [ 50.826242] __up.isra.0+0x136/0x1a0 [ 50.826243] up+0x9c/0xe0 [ 50.826244] __up_console_sem+0xad/0x1b0 [ 50.826245] console_unlock+0x59d/0xed0 [ 50.826261] vprintk_emit+0x1f9/0x600 [ 50.826262] vprintk_default+0x28/0x30 [ 50.826263] vprintk_func+0x5d/0x159 [ 50.826264] printk+0x9e/0xbc [ 50.826266] kauditd_hold_skb.cold+0x3e/0x4d [ 50.826267] kauditd_send_queue+0xfe/0x140 [ 50.826268] kauditd_thread+0x644/0x860 [ 50.826269] kthread+0x319/0x430 [ 50.826270] ret_from_fork+0x24/0x30 [ 50.826271] [ 50.826272] -> #0 ((console_sem).lock){-...}: [ 50.826276] __lock_acquire+0x2cb3/0x4620 [ 50.826277] lock_acquire+0x16f/0x430 [ 50.826278] _raw_spin_lock_irqsave+0x95/0xcd [ 50.826279] down_trylock+0x13/0x70 [ 50.826281] __down_trylock_console_sem+0x9c/0x200 [ 50.826282] console_trylock+0x17/0x80 [ 50.826283] vprintk_emit+0x1eb/0x600 [ 50.826285] vprintk_default+0x28/0x30 [ 50.826286] vprintk_func+0x5d/0x159 [ 50.826287] printk+0x9e/0xbc [ 50.826288] debug_print_object.cold+0xa7/0xdb [ 50.826290] debug_check_no_obj_freed+0x3f5/0x7b7 [ 50.826291] kfree+0xbd/0x270 [ 50.826292] rfcomm_dlc_free+0x20/0x30 [ 50.826293] rfcomm_dev_ioctl+0x1637/0x1920 [ 50.826295] rfcomm_sock_ioctl+0x82/0xa0 [ 50.826296] sock_do_ioctl+0x64/0xb0 [ 50.826297] sock_ioctl+0x2a6/0x470 [ 50.826298] do_vfs_ioctl+0x7ae/0x1060 [ 50.826299] SyS_ioctl+0x8f/0xc0 [ 50.826301] do_syscall_64+0x1e8/0x640 [ 50.826302] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 50.826303] [ 50.826304] other info that might help us debug this: [ 50.826305] [ 50.826306] Chain exists of: [ 50.826306] (console_sem).lock --> hrtimer_bases.lock --> &obj_hash[i].lock [ 50.826312] [ 50.826313] Possible unsafe locking scenario: [ 50.826314] [ 50.826315] CPU0 CPU1 [ 50.826318] ---- ---- [ 50.826319] lock(&obj_hash[i].lock); [ 50.826321] lock(hrtimer_bases.lock); [ 50.826324] lock(&obj_hash[i].lock); [ 50.826327] lock((console_sem).lock); [ 50.826329] [ 50.826330] *** DEADLOCK *** [ 50.826331] [ 50.826332] 3 locks held by syz-executor970/7211: [ 50.826333] #0: (sk_lock-AF_BLUETOOTH-BTPROTO_RFCOMM){+.+.}, at: [] rfcomm_sock_ioctl+0x74/0xa0 [ 50.826337] #1: (rfcomm_ioctl_mutex){+.+.}, at: [] rfcomm_dev_ioctl+0x452/0x1920 [ 50.826342] #2: (&obj_hash[i].lock){-.-.}, at: [] debug_check_no_obj_freed+0x12d/0x7b7 [ 50.826346] [ 50.826347] stack backtrace: [ 50.826349] CPU: 1 PID: 7211 Comm: syz-executor970 Not tainted 4.14.162-syzkaller #0 [ 50.826352] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 50.826352] Call Trace: [ 50.826357] dump_stack+0x142/0x197 [ 50.826359] print_circular_bug.isra.0.cold+0x1cc/0x28f [ 50.826360] __lock_acquire+0x2cb3/0x4620 [ 50.826361] ? add_lock_to_list.isra.0+0x17c/0x330 [ 50.826363] ? trace_hardirqs_on+0x10/0x10 [ 50.826364] ? netdev_bits+0xb0/0xb0 [ 50.826365] ? save_trace+0x290/0x290 [ 50.826366] ? kvm_clock_read+0x23/0x40 [ 50.826367] ? kvm_sched_clock_read+0x9/0x20 [ 50.826368] lock_acquire+0x16f/0x430 [ 50.826370] ? down_trylock+0x13/0x70 [ 50.826371] ? vprintk_emit+0x109/0x600 [ 50.826373] _raw_spin_lock_irqsave+0x95/0xcd [ 50.826374] ? down_trylock+0x13/0x70 [ 50.826376] ? vprintk_emit+0x1eb/0x600 [ 50.826378] down_trylock+0x13/0x70 [ 50.826380] ? vprintk_emit+0x1eb/0x600 [ 50.826382] __down_trylock_console_sem+0x9c/0x200 [ 50.826384] console_trylock+0x17/0x80 [ 50.826385] vprintk_emit+0x1eb/0x600 [ 50.826386] vprintk_default+0x28/0x30 [ 50.826388] vprintk_func+0x5d/0x159 [ 50.826390] ? rfcomm_dlc_link+0x160/0x160 [ 50.826391] printk+0x9e/0xbc [ 50.826392] ? show_regs_print_info+0x63/0x63 [ 50.826394] ? lock_acquire+0x16f/0x430 [ 50.826395] ? debug_check_no_obj_freed+0x12d/0x7b7 [ 50.826396] ? rfcomm_dlc_link+0x160/0x160 [ 50.826397] debug_print_object.cold+0xa7/0xdb [ 50.826399] debug_check_no_obj_freed+0x3f5/0x7b7 [ 50.826400] ? free_obj_work+0x6d0/0x6d0 [ 50.826402] ? rcu_lockdep_current_cpu_online+0xf2/0x140 [ 50.826403] kfree+0xbd/0x270 [ 50.826404] rfcomm_dlc_free+0x20/0x30 [ 50.826405] rfcomm_dev_ioctl+0x1637/0x1920 [ 50.826406] ? mark_held_locks+0xb1/0x100 [ 50.826408] ? rfcomm_tty_install+0x180/0x180 [ 50.826409] ? __local_bh_enable_ip+0x99/0x1a0 [ 50.826411] rfcomm_sock_ioctl+0x82/0xa0 [ 50.826412] sock_do_ioctl+0x64/0xb0 [ 50.826414] sock_ioctl+0x2a6/0x470 [ 50.826415] ? dlci_ioctl_set+0x40/0x40 [ 50.826417] do_vfs_ioctl+0x7ae/0x1060 [ 50.826418] ? selinux_file_mprotect+0x5d0/0x5d0 [ 50.826419] ? ioctl_preallocate+0x1c0/0x1c0 [ 50.826420] ? fd_install+0x4d/0x60 [ 50.826422] ? security_file_ioctl+0x7d/0xb0 [ 50.826423] ? security_file_ioctl+0x89/0xb0 [ 50.826424] SyS_ioctl+0x8f/0xc0 [ 50.826425] ? do_vfs_ioctl+0x1060/0x1060 [ 50.826426] do_syscall_64+0x1e8/0x640 [ 50.826428] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 50.826429] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 50.826430] RIP: 0033:0x4412b9 [ 50.826432] RSP: 002b:00007ffc238cb348 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 50.826435] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004412b9 [ 50.826437] RDX: 0000000020000100 RSI: 00000000400452c8 RDI: 0000000000000004 [ 50.826439] RBP: 000000000000c543 R08: 00000000004002c8 R09: 00000000004002c8 [ 50.826440] R10: 00000000004002c8 R11: 0000000000000246 R12: 00000000004020e0 [ 50.826442] R13: 0000000000402170 R14: 0000000000000000 R15: 0000000000000000 [ 50.827990] Kernel Offset: disabled [ 51.748240] Rebooting in 86400 seconds..