Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [ 37.208650] audit: type=1800 audit(1569341955.757:33): pid=7299 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2465 res=0 [ 37.230178] audit: type=1800 audit(1569341955.777:34): pid=7299 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2456 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 45.499315] audit: type=1400 audit(1569341964.047:35): avc: denied { map } for pid=7476 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Warning: Permanently added '10.128.0.53' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 51.980254] audit: type=1400 audit(1569341970.527:36): avc: denied { map } for pid=7488 comm="syz-executor642" path="/root/syz-executor642009569" 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 52.488171] ------------[ cut here ]------------ [ 52.493900] ODEBUG: free active (active state 1) object type: rcu_head hint: (null) [ 52.502757] WARNING: CPU: 0 PID: 0 at lib/debugobjects.c:325 debug_print_object+0x168/0x250 [ 52.511229] Kernel panic - not syncing: panic_on_warn set ... [ 52.511229] [ 52.518617] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.19.75 #0 [ 52.524740] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.534074] Call Trace: [ 52.536647] dump_stack+0x172/0x1f0 [ 52.540257] panic+0x263/0x507 [ 52.543430] ? __warn_printk+0xf3/0xf3 [ 52.547317] ? debug_print_object+0x168/0x250 [ 52.551793] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 52.557316] ? __warn.cold+0x5/0x4a [ 52.560923] ? __warn+0xe8/0x1d0 [ 52.564274] ? debug_print_object+0x168/0x250 [ 52.568748] __warn.cold+0x20/0x4a [ 52.572273] ? trace_hardirqs_off+0x62/0x220 [ 52.576663] ? debug_print_object+0x168/0x250 [ 52.581143] report_bug+0x263/0x2b0 [ 52.584754] do_error_trap+0x204/0x360 [ 52.588623] ? math_error+0x340/0x340 [ 52.592405] ? wake_up_klogd+0x99/0xd0 [ 52.596283] ? vprintk_emit+0x1ab/0x690 [ 52.600247] ? error_entry+0x7c/0xe0 [ 52.603943] ? trace_hardirqs_off_caller+0x65/0x220 [ 52.608956] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 52.613784] do_invalid_op+0x1b/0x20 [ 52.617480] invalid_op+0x14/0x20 [ 52.620920] RIP: 0010:debug_print_object+0x168/0x250 [ 52.626012] Code: dd 20 56 82 87 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 b5 00 00 00 48 8b 14 dd 20 56 82 87 48 c7 c7 60 4b 82 87 e8 d6 04 19 fe <0f> 0b 83 05 cb 83 17 06 01 48 83 c4 20 5b 41 5c 41 5d 41 5e 5d c3 [ 52.644904] RSP: 0018:ffffffff88607a58 EFLAGS: 00010082 [ 52.650262] RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000 [ 52.657514] RDX: 0000000000000000 RSI: ffffffff8155dbd6 RDI: fffffbfff10c0f3d [ 52.664768] RBP: ffffffff88607a98 R08: ffffffff88679ec0 R09: ffffed1015d03ee3 [ 52.672020] R10: ffffed1015d03ee2 R11: ffff8880ae81f717 R12: 0000000000000001 [ 52.679273] R13: ffffffff8879f200 R14: 0000000000000000 R15: ffff88807a9078a0 [ 52.686601] ? vprintk_func+0x86/0x189 [ 52.690540] ? debug_print_object+0x168/0x250 [ 52.695022] debug_check_no_obj_freed+0x29f/0x464 [ 52.699851] kmem_cache_free+0x18f/0x260 [ 52.703893] free_task+0xdd/0x120 [ 52.707328] __put_task_struct+0x20f/0x4c0 [ 52.711552] finish_task_switch+0x52b/0x780 [ 52.715869] __schedule+0x86e/0x1dc0 [ 52.719610] ? pci_mmcfg_check_reserved+0x170/0x170 [ 52.724621] ? sched_set_stop_task+0x250/0x250 [ 52.729188] schedule_idle+0x58/0x80 [ 52.732885] do_idle+0x192/0x560 [ 52.736234] ? arch_cpu_idle_exit+0x80/0x80 [ 52.740536] ? check_preemption_disabled+0x48/0x290 [ 52.745534] cpu_startup_entry+0xc8/0xe0 [ 52.749581] ? cpu_in_idle+0x20/0x20 [ 52.753285] rest_init+0x219/0x222 [ 52.756810] start_kernel+0x88c/0x8c5 [ 52.760609] ? mem_encrypt_init+0xb/0xb [ 52.764565] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 52.770093] ? x86_family+0x41/0x50 [ 52.773705] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 52.779226] x86_64_start_reservations+0x29/0x2b [ 52.783985] x86_64_start_kernel+0x77/0x7b [ 52.788201] secondary_startup_64+0xa4/0xb0 [ 52.792519] [ 52.792522] ====================================================== [ 52.792526] WARNING: possible circular locking dependency detected [ 52.792528] 4.19.75 #0 Not tainted [ 52.792531] ------------------------------------------------------ [ 52.792534] swapper/0/0 is trying to acquire lock: [ 52.792536] 000000000162780b ((console_sem).lock){-...}, at: down_trylock+0x13/0x70 [ 52.792545] [ 52.792547] but task is already holding lock: [ 52.792549] 00000000737f38cf (&obj_hash[i].lock){-.-.}, at: debug_check_no_obj_freed+0xbe/0x464 [ 52.792557] [ 52.792560] which lock already depends on the new lock. [ 52.792561] [ 52.792563] [ 52.792566] the existing dependency chain (in reverse order) is: [ 52.792567] [ 52.792568] -> #3 (&obj_hash[i].lock){-.-.}: [ 52.792577] _raw_spin_lock_irqsave+0x95/0xcd [ 52.792579] __debug_object_init+0xc6/0xc30 [ 52.792582] debug_object_init+0x16/0x20 [ 52.792584] hrtimer_init+0x2a/0x300 [ 52.792586] init_dl_task_timer+0x1b/0x50 [ 52.792589] __sched_fork+0x22a/0x4b0 [ 52.792591] init_idle+0x75/0x800 [ 52.792593] sched_init+0x952/0x9f0 [ 52.792595] start_kernel+0x402/0x8c5 [ 52.792598] x86_64_start_reservations+0x29/0x2b [ 52.792600] x86_64_start_kernel+0x77/0x7b [ 52.792603] secondary_startup_64+0xa4/0xb0 [ 52.792604] [ 52.792605] -> #2 (&rq->lock){-.-.}: [ 52.792613] _raw_spin_lock+0x2f/0x40 [ 52.792615] task_fork_fair+0x6a/0x520 [ 52.792617] sched_fork+0x3af/0x900 [ 52.792620] copy_process.part.0+0x1859/0x7a30 [ 52.792622] _do_fork+0x257/0xfd0 [ 52.792624] kernel_thread+0x34/0x40 [ 52.792627] rest_init+0x24/0x222 [ 52.792629] start_kernel+0x88c/0x8c5 [ 52.792631] x86_64_start_reservations+0x29/0x2b [ 52.792634] x86_64_start_kernel+0x77/0x7b [ 52.792636] secondary_startup_64+0xa4/0xb0 [ 52.792637] [ 52.792639] -> #1 (&p->pi_lock){-.-.}: [ 52.792647] _raw_spin_lock_irqsave+0x95/0xcd [ 52.792649] try_to_wake_up+0x94/0xf50 [ 52.792652] wake_up_process+0x10/0x20 [ 52.792654] __up.isra.0+0x136/0x1a0 [ 52.792656] up+0x9c/0xe0 [ 52.792658] __up_console_sem+0xb7/0x1c0 [ 52.792660] console_unlock+0x6c7/0x10b0 [ 52.792662] con_install+0x348/0x410 [ 52.792664] tty_init_dev+0xf7/0x460 [ 52.792667] tty_open+0x494/0xa90 [ 52.792669] chrdev_open+0x245/0x6b0 [ 52.792671] do_dentry_open+0x4c3/0x1210 [ 52.792673] vfs_open+0xa0/0xd0 [ 52.792675] path_openat+0x10d7/0x45e0 [ 52.792677] do_filp_open+0x1a1/0x280 [ 52.792680] do_sys_open+0x3fe/0x550 [ 52.792682] __x64_sys_open+0x7e/0xc0 [ 52.792684] do_syscall_64+0xfd/0x620 [ 52.792687] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 52.792688] [ 52.792689] -> #0 ((console_sem).lock){-...}: [ 52.792697] lock_acquire+0x16f/0x3f0 [ 52.792700] _raw_spin_lock_irqsave+0x95/0xcd [ 52.792702] down_trylock+0x13/0x70 [ 52.792704] __down_trylock_console_sem+0xa8/0x210 [ 52.792707] console_trylock+0x15/0xa0 [ 52.792709] vprintk_emit+0x21d/0x690 [ 52.792711] vprintk_default+0x28/0x30 [ 52.792713] vprintk_func+0x7e/0x189 [ 52.792715] printk+0xba/0xed [ 52.792717] __warn_printk+0x9b/0xf3 [ 52.792720] debug_print_object+0x168/0x250 [ 52.792722] debug_check_no_obj_freed+0x29f/0x464 [ 52.792725] kmem_cache_free+0x18f/0x260 [ 52.792727] free_task+0xdd/0x120 [ 52.792729] __put_task_struct+0x20f/0x4c0 [ 52.792732] finish_task_switch+0x52b/0x780 [ 52.792734] __schedule+0x86e/0x1dc0 [ 52.792736] schedule_idle+0x58/0x80 [ 52.792738] do_idle+0x192/0x560 [ 52.792741] cpu_startup_entry+0xc8/0xe0 [ 52.792743] rest_init+0x219/0x222 [ 52.792745] start_kernel+0x88c/0x8c5 [ 52.792747] x86_64_start_reservations+0x29/0x2b [ 52.792750] x86_64_start_kernel+0x77/0x7b [ 52.792752] secondary_startup_64+0xa4/0xb0 [ 52.792753] [ 52.792756] other info that might help us debug this: [ 52.792757] [ 52.792759] Chain exists of: [ 52.792760] (console_sem).lock --> &rq->lock --> &obj_hash[i].lock [ 52.792770] [ 52.792773] Possible unsafe locking scenario: [ 52.792774] [ 52.792776] CPU0 CPU1 [ 52.792778] ---- ---- [ 52.792780] lock(&obj_hash[i].lock); [ 52.792785] lock(&rq->lock); [ 52.792790] lock(&obj_hash[i].lock); [ 52.792795] lock((console_sem).lock); [ 52.792799] [ 52.792801] *** DEADLOCK *** [ 52.792802] [ 52.792804] 1 lock held by swapper/0/0: [ 52.792805] #0: 00000000737f38cf (&obj_hash[i].lock){-.-.}, at: debug_check_no_obj_freed+0xbe/0x464 [ 52.792815] [ 52.792817] stack backtrace: [ 52.792820] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.19.75 #0 [ 52.792825] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.792826] Call Trace: [ 52.792828] dump_stack+0x172/0x1f0 [ 52.792831] print_circular_bug.isra.0.cold+0x1cc/0x28f [ 52.792833] __lock_acquire+0x2e19/0x49c0 [ 52.792836] ? mark_held_locks+0x100/0x100 [ 52.792838] ? kvm_clock_read+0x18/0x30 [ 52.792840] ? kvm_sched_clock_read+0x9/0x20 [ 52.792842] lock_acquire+0x16f/0x3f0 [ 52.792844] ? down_trylock+0x13/0x70 [ 52.792847] _raw_spin_lock_irqsave+0x95/0xcd [ 52.792849] ? down_trylock+0x13/0x70 [ 52.792851] ? vprintk_emit+0x21d/0x690 [ 52.792853] down_trylock+0x13/0x70 [ 52.792855] ? vprintk_emit+0x21d/0x690 [ 52.792858] __down_trylock_console_sem+0xa8/0x210 [ 52.792860] console_trylock+0x15/0xa0 [ 52.792862] vprintk_emit+0x21d/0x690 [ 52.792865] vprintk_default+0x28/0x30 [ 52.792867] vprintk_func+0x7e/0x189 [ 52.792869] printk+0xba/0xed [ 52.792871] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 52.792873] ? __warn_printk+0x8f/0xf3 [ 52.792875] __warn_printk+0x9b/0xf3 [ 52.792878] ? add_taint.cold+0x16/0x16 [ 52.792880] debug_print_object+0x168/0x250 [ 52.792882] debug_check_no_obj_freed+0x29f/0x464 [ 52.792885] kmem_cache_free+0x18f/0x260 [ 52.792887] free_task+0xdd/0x120 [ 52.792889] __put_task_struct+0x20f/0x4c0 [ 52.792891] finish_task_switch+0x52b/0x780 [ 52.792893] __schedule+0x86e/0x1dc0 [ 52.792896] ? pci_mmcfg_check_reserved+0x170/0x170 [ 52.792898] ? sched_set_stop_task+0x250/0x250 [ 52.792901] schedule_idle+0x58/0x80 [ 52.792903] do_idle+0x192/0x560 [ 52.792905] ? arch_cpu_idle_exit+0x80/0x80 [ 52.792907] ? check_preemption_disabled+0x48/0x290 [ 52.792910] cpu_startup_entry+0xc8/0xe0 [ 52.792912] ? cpu_in_idle+0x20/0x20 [ 52.792914] rest_init+0x219/0x222 [ 52.792916] start_kernel+0x88c/0x8c5 [ 52.792918] ? mem_encrypt_init+0xb/0xb [ 52.792921] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 52.792924] ? x86_family+0x41/0x50 [ 52.792926] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 52.792929] x86_64_start_reservations+0x29/0x2b [ 52.792931] x86_64_start_kernel+0x77/0x7b [ 52.792933] secondary_startup_64+0xa4/0xb0 [ 52.794143] Kernel Offset: disabled [ 53.477020] Rebooting in 86400 seconds..