[....] Starting enhanced syslogd: rsyslogd[ 16.338557] audit: type=1400 audit(1520259795.143:5): avc: denied { syslog } for pid=3964 comm="rsyslogd" capability=34 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1 [?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 22.377324] audit: type=1400 audit(1520259801.181:6): avc: denied { map } for pid=4105 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.35' (ECDSA) to the list of known hosts. executing program [ 29.398589] audit: type=1400 audit(1520259808.203:7): avc: denied { map } for pid=4119 comm="syzkaller952529" path="/root/syzkaller952529491" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 29.426165] FAULT_INJECTION: forcing a failure. [ 29.426165] name failslab, interval 1, probability 0, space 0, times 1 [ 29.437453] CPU: 1 PID: 4119 Comm: syzkaller952529 Not tainted 4.16.0-rc4+ #341 [ 29.444877] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.454217] Call Trace: [ 29.456785] dump_stack+0x194/0x24d [ 29.460392] ? arch_local_irq_restore+0x53/0x53 [ 29.465038] ? trace_hardirqs_off+0x10/0x10 [ 29.469344] should_fail+0x8c0/0xa40 [ 29.473039] ? fault_create_debugfs_attr+0x1f0/0x1f0 [ 29.478116] ? trace_hardirqs_off+0x10/0x10 [ 29.482414] ? audit_filter+0x40d/0xbf0 [ 29.486365] ? lock_downgrade+0x980/0x980 [ 29.490491] ? lock_release+0xa40/0xa40 [ 29.494438] ? debug_object_activate+0x307/0x730 [ 29.499173] ? find_held_lock+0x35/0x1d0 [ 29.503217] ? auditd_test_task+0x1b7/0x2f0 [ 29.507518] ? lock_downgrade+0x980/0x980 [ 29.511645] ? lock_release+0xa40/0xa40 [ 29.515596] ? __lock_is_held+0xb6/0x140 [ 29.519646] should_failslab+0xec/0x120 [ 29.523595] kmem_cache_alloc+0x47/0x760 [ 29.527629] ? _raw_spin_unlock_irqrestore+0xa6/0xc0 [ 29.532706] ? debug_object_active_state+0x3a5/0x580 [ 29.537781] ? debug_object_activate+0x404/0x730 [ 29.542514] audit_log_start+0x4cb/0xa10 [ 29.546553] ? audit_log_task_context+0x260/0x260 [ 29.551380] ? trace_hardirqs_off+0xd/0x10 [ 29.555606] ? __call_rcu.constprop.67+0x52b/0xef0 [ 29.560515] ? rcu_process_callbacks+0x17f0/0x17f0 [ 29.565418] ? selinux_tun_dev_attach_queue+0xd4/0x100 [ 29.570669] ? security_tun_dev_attach_queue+0x6d/0xa0 [ 29.575921] ? __tun_chr_ioctl+0x3ed/0x40d0 [ 29.580216] ? tun_chr_ioctl+0x2a/0x40 [ 29.584076] ? do_vfs_ioctl+0x1b1/0x1520 [ 29.588108] ? SyS_ioctl+0x8f/0xc0 [ 29.591623] ? do_syscall_64+0x281/0x940 [ 29.595656] ? entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 29.600992] ? __lock_acquire+0x664/0x3e00 [ 29.605204] ? print_irqtrace_events+0x270/0x270 [ 29.609936] ? trace_hardirqs_off+0x10/0x10 [ 29.614237] ? avc_audit_post_callback+0x4a0/0x4a0 [ 29.619139] ? securityfs_remove+0x1b0/0x1b0 [ 29.623523] common_lsm_audit+0x121/0x2430 [ 29.627745] ? lock_acquire+0x1d5/0x580 [ 29.631696] ? rtnl_lock+0x17/0x20 [ 29.635213] ? ipv6_skb_to_auditdata+0xe50/0xe50 [ 29.639947] ? mark_held_locks+0xaf/0x100 [ 29.644068] ? retint_kernel+0x10/0x10 [ 29.647931] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 29.652923] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 29.657656] ? trace_hardirqs_off+0x10/0x10 [ 29.661953] ? retint_kernel+0x10/0x10 [ 29.665823] ? find_held_lock+0x35/0x1d0 [ 29.669865] slow_avc_audit+0x278/0x360 [ 29.673813] ? slow_avc_audit+0x278/0x360 [ 29.677935] ? avc_get_hash_stats+0x500/0x500 [ 29.682413] ? avc_denied+0x117/0x150 [ 29.686188] avc_has_perm+0x4fb/0x680 [ 29.689972] ? avc_has_perm_noaudit+0x520/0x520 [ 29.694619] ? __might_fault+0x110/0x1d0 [ 29.698656] ? lock_downgrade+0x980/0x980 [ 29.702773] ? find_held_lock+0x35/0x1d0 [ 29.706825] ? lock_release+0xa40/0xa40 [ 29.710776] ? __check_object_size+0x8b/0x530 [ 29.715241] ? avc_has_extended_perms+0x6e5/0x12c0 [ 29.720149] ? __might_sleep+0x95/0x190 [ 29.724101] selinux_tun_dev_attach_queue+0xd4/0x100 [ 29.729177] security_tun_dev_attach_queue+0x6d/0xa0 [ 29.734257] __tun_chr_ioctl+0x3ed/0x40d0 [ 29.738381] ? avc_has_extended_perms+0x7fa/0x12c0 [ 29.743291] ? tun_poll_controller+0x4c0/0x4c0 [ 29.747848] ? avc_ss_reset+0x110/0x110 [ 29.751797] ? pid_task+0xf7/0x1a0 [ 29.755317] ? __kasan_slab_free+0x11a/0x170 [ 29.759697] ? kasan_slab_free+0xe/0x10 [ 29.763640] ? kmem_cache_free+0x83/0x2a0 [ 29.767757] ? putname+0xee/0x130 [ 29.771185] ? get_pid_task+0xbc/0x140 [ 29.775049] ? proc_fail_nth_write+0x9b/0x1d0 [ 29.779536] ? rcu_note_context_switch+0x710/0x710 [ 29.784454] ? tun_chr_compat_ioctl+0x30/0x30 [ 29.788931] tun_chr_ioctl+0x2a/0x40 [ 29.792617] ? tun_chr_ioctl+0x2a/0x40 [ 29.796480] do_vfs_ioctl+0x1b1/0x1520 [ 29.800346] ? ioctl_preallocate+0x2b0/0x2b0 [ 29.804731] ? selinux_capable+0x40/0x40 [ 29.808772] ? __sb_end_write+0xa0/0xd0 [ 29.812729] ? security_file_ioctl+0x7d/0xb0 [ 29.817108] ? security_file_ioctl+0x89/0xb0 [ 29.821489] SyS_ioctl+0x8f/0xc0 [ 29.824830] ? do_vfs_ioctl+0x1520/0x1520 [ 29.828951] do_syscall_64+0x281/0x940 [ 29.832808] ? __do_page_fault+0xc90/0xc90 [ 29.837029] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 29.841762] ? syscall_return_slowpath+0x550/0x550 [ 29.846666] ? syscall_return_slowpath+0x2ac/0x550 [ 29.851571] ? prepare_exit_to_usermode+0x350/0x350 [ 29.856562] ? entry_SYSCALL_64_after_hwframe+0x52/0xb7 [ 29.861915] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.866738] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 29.871899] RIP: 0033:0x444229 [ 29.875062] RSP: 002b:00007ffd67c73e08 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 29.882745] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000444229 [ 29.889987] RDX: 0000000020000200 RSI: 00000000400454d9 RDI: 0000000000000003 executing program [ 29.897232] RBP: 00007ffd67c73e10 R08: 0000000000000001 R09: 00007ffd67c70032 [ 29.904472] R10: 0000000000000000 R11: 0000000000000246 R12: 74656e2f7665642f [ 29.911713] R13: ffffffffffffffff R14: 0000000000000005 R15: 0000000000000000 [ 29.919384] audit: audit_lost=1 audit_rate_limit=0 audit_backlog_limit=64 [ 29.926319] audit: out of memory in audit_log_start [ 29.934396] FAULT_INJECTION: forcing a failure. [ 29.934396] name failslab, interval 1, probability 0, space 0, times 0 [ 29.945628] CPU: 1 PID: 4119 Comm: syzkaller952529 Not tainted 4.16.0-rc4+ #341 [ 29.953048] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.962391] Call Trace: [ 29.964954] dump_stack+0x194/0x24d [ 29.968556] ? arch_local_irq_restore+0x53/0x53 [ 29.973213] should_fail+0x8c0/0xa40 [ 29.976905] ? fault_create_debugfs_attr+0x1f0/0x1f0 [ 29.981983] ? __lock_acquire+0x664/0x3e00 [ 29.986197] ? __free_insn_slot+0x5c0/0x5c0 [ 29.990501] ? find_held_lock+0x35/0x1d0 [ 29.994541] ? __lock_is_held+0xb6/0x140 [ 29.998586] ? check_same_owner+0x320/0x320 [ 30.002885] ? rcu_note_context_switch+0x710/0x710 [ 30.007795] should_failslab+0xec/0x120 [ 30.011749] __kmalloc_track_caller+0x5f/0x760 [ 30.016303] ? kobject_init_and_add+0xd0/0x150 [ 30.020857] ? netdev_queue_update_kobjects+0x148/0x480 [ 30.026197] ? netif_set_real_num_tx_queues+0x185/0x790 [ 30.031532] ? tun_attach+0x7bd/0x1220 [ 30.035391] ? __tun_chr_ioctl+0x8f5/0x40d0 [ 30.039684] ? tun_chr_ioctl+0x2a/0x40 [ 30.043543] ? do_vfs_ioctl+0x1b1/0x1520 [ 30.047575] ? SyS_ioctl+0x8f/0xc0 [ 30.051085] ? kstrdup_const+0x39/0x50 [ 30.054946] ? trace_hardirqs_off+0x10/0x10 [ 30.059243] kstrdup+0x39/0x70 [ 30.062409] kstrdup_const+0x39/0x50 [ 30.066096] __kernfs_new_node+0xa2/0x570 [ 30.070215] ? number+0x7e0/0xa50 [ 30.073643] ? kernfs_dop_revalidate+0x380/0x380 [ 30.078371] ? find_held_lock+0x35/0x1d0 [ 30.082413] ? kobject_add_internal+0x2f5/0xbc0 [ 30.087059] ? lock_downgrade+0x980/0x980 [ 30.091183] ? lock_release+0xa40/0xa40 [ 30.095133] kernfs_new_node+0x80/0xe0 [ 30.098996] kernfs_create_dir_ns+0x41/0x140 [ 30.103381] sysfs_create_dir_ns+0xbe/0x1d0 [ 30.107677] kobject_add_internal+0x335/0xbc0 [ 30.112150] ? kobj_ns_type_registered+0x50/0x50 [ 30.116890] ? kfree_const+0x31/0x40 [ 30.120577] ? rcu_read_lock_sched_held+0x108/0x120 [ 30.125581] ? kfree+0x1f6/0x260 [ 30.128936] ? kfree_const+0x36/0x40 [ 30.132632] kobject_init_and_add+0xf9/0x150 [ 30.137015] ? kset_create_and_add+0x170/0x170 [ 30.141574] ? find_held_lock+0x35/0x1d0 [ 30.145618] netdev_queue_update_kobjects+0x148/0x480 [ 30.150787] ? net_rx_queue_update_kobjects+0x590/0x590 [ 30.156122] ? rtnl_kfree_skbs+0x70/0x70 [ 30.160153] ? print_irqtrace_events+0x270/0x270 [ 30.164888] netif_set_real_num_tx_queues+0x185/0x790 [ 30.170063] tun_attach+0x7bd/0x1220 [ 30.173758] ? tun_show_owner+0x160/0x160 [ 30.177884] ? lock_release+0xa40/0xa40 [ 30.181838] ? __check_object_size+0x8b/0x530 [ 30.186312] ? avc_has_extended_perms+0x6e5/0x12c0 [ 30.191740] ? __might_sleep+0x95/0x190 [ 30.195693] ? selinux_tun_dev_attach_queue+0xd4/0x100 [ 30.200947] __tun_chr_ioctl+0x8f5/0x40d0 [ 30.205068] ? avc_has_extended_perms+0x7fa/0x12c0 [ 30.209976] ? tun_poll_controller+0x4c0/0x4c0 [ 30.214531] ? avc_ss_reset+0x110/0x110 [ 30.218479] ? pid_task+0xf7/0x1a0 [ 30.222002] ? __kasan_slab_free+0x11a/0x170 [ 30.226380] ? kasan_slab_free+0xe/0x10 [ 30.230325] ? kmem_cache_free+0x83/0x2a0 [ 30.234444] ? putname+0xee/0x130 [ 30.237873] ? get_pid_task+0xbc/0x140 [ 30.241733] ? proc_fail_nth_write+0x9b/0x1d0 [ 30.246220] ? rcu_note_context_switch+0x710/0x710 [ 30.251128] ? tun_chr_compat_ioctl+0x30/0x30 [ 30.255594] tun_chr_ioctl+0x2a/0x40 [ 30.259282] ? tun_chr_ioctl+0x2a/0x40 [ 30.263145] do_vfs_ioctl+0x1b1/0x1520 [ 30.267008] ? ioctl_preallocate+0x2b0/0x2b0 [ 30.271390] ? selinux_capable+0x40/0x40 [ 30.275429] ? __sb_end_write+0xa0/0xd0 [ 30.279386] ? security_file_ioctl+0x7d/0xb0 [ 30.283768] ? security_file_ioctl+0x89/0xb0 [ 30.288153] SyS_ioctl+0x8f/0xc0 [ 30.291493] ? do_vfs_ioctl+0x1520/0x1520 [ 30.295615] do_syscall_64+0x281/0x940 [ 30.299472] ? __do_page_fault+0xc90/0xc90 [ 30.303677] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 30.308405] ? syscall_return_slowpath+0x550/0x550 [ 30.313310] ? syscall_return_slowpath+0x2ac/0x550 [ 30.318213] ? prepare_exit_to_usermode+0x350/0x350 [ 30.323204] ? entry_SYSCALL_64_after_hwframe+0x52/0xb7 [ 30.328543] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.333363] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 30.338523] RIP: 0033:0x444229 [ 30.341684] RSP: 002b:00007ffd67c73e08 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 30.349362] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000444229 [ 30.356603] RDX: 0000000020000200 RSI: 00000000400454d9 RDI: 0000000000000006 [ 30.363844] RBP: 00007ffd67c73e10 R08: 0000000000000001 R09: 00007ffd67c70032 [ 30.371090] R10: 0000000000000000 R11: 0000000000000246 R12: 74656e2f7665642f [ 30.378335] R13: ffffffffffffffff R14: 0000000000000008 R15: 0000000000000000 [ 30.385675] ------------[ cut here ]------------ [ 30.390430] kobject_add_internal failed for tx-3 (error: -12 parent: queues) [ 30.397741] WARNING: CPU: 1 PID: 4119 at lib/kobject.c:242 kobject_add_internal+0x3f6/0xbc0 [ 30.406203] Kernel panic - not syncing: panic_on_warn set ... [ 30.406203] [ 30.413539] CPU: 1 PID: 4119 Comm: syzkaller952529 Not tainted 4.16.0-rc4+ #341 [ 30.420968] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.430294] Call Trace: [ 30.432858] dump_stack+0x194/0x24d [ 30.436461] ? arch_local_irq_restore+0x53/0x53 [ 30.441108] ? vsnprintf+0x1ed/0x1900 [ 30.444889] panic+0x1e4/0x41c [ 30.448054] ? refcount_error_report+0x214/0x214 [ 30.452779] ? show_regs_print_info+0x18/0x18 [ 30.457254] ? __warn+0x1c1/0x200 [ 30.460701] ? kobject_add_internal+0x3f6/0xbc0 [ 30.465340] __warn+0x1dc/0x200 [ 30.468592] ? kobject_add_internal+0x3f6/0xbc0 [ 30.473235] report_bug+0x211/0x2d0 [ 30.476841] fixup_bug.part.11+0x37/0x80 [ 30.480880] do_error_trap+0x2d7/0x3e0 [ 30.484742] ? vprintk_default+0x28/0x30 [ 30.488775] ? math_error+0x400/0x400 [ 30.492547] ? printk+0xaa/0xca [ 30.495798] ? show_regs_print_info+0x18/0x18 [ 30.500275] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.505096] do_invalid_op+0x1b/0x20 [ 30.508783] invalid_op+0x1b/0x40 [ 30.512217] RIP: 0010:kobject_add_internal+0x3f6/0xbc0 [ 30.517464] RSP: 0018:ffff8801d2d9f488 EFLAGS: 00010286 [ 30.522800] RAX: dffffc0000000008 RBX: ffff8801d1ec0618 RCX: ffffffff815abb7e [ 30.530041] RDX: 0000000000000000 RSI: 1ffff1003a5b3e41 RDI: 1ffff1003a5b3e16 [ 30.537283] RBP: ffff8801d2d9f580 R08: 1ffff1003a5b3dd8 R09: 0000000000000000 [ 30.544535] R10: ffff8801d2d9f248 R11: 0000000000000000 R12: 1ffff1003a5b3e97 [ 30.551777] R13: 00000000fffffff4 R14: ffff8801d0ce8d48 R15: ffffffff8684c720 [ 30.559041] ? vprintk_func+0x5e/0xc0 [ 30.562822] ? kobject_add_internal+0x3f6/0xbc0 [ 30.567468] ? kobj_ns_type_registered+0x50/0x50 [ 30.572211] ? kfree_const+0x31/0x40 [ 30.575901] ? rcu_read_lock_sched_held+0x108/0x120 [ 30.580892] ? kfree+0x1f6/0x260 [ 30.584234] ? kfree_const+0x36/0x40 [ 30.587927] kobject_init_and_add+0xf9/0x150 [ 30.592311] ? kset_create_and_add+0x170/0x170 [ 30.596874] ? find_held_lock+0x35/0x1d0 [ 30.600916] netdev_queue_update_kobjects+0x148/0x480 [ 30.606086] ? net_rx_queue_update_kobjects+0x590/0x590 [ 30.611423] ? rtnl_kfree_skbs+0x70/0x70 [ 30.615455] ? print_irqtrace_events+0x270/0x270 [ 30.620191] netif_set_real_num_tx_queues+0x185/0x790 [ 30.625367] tun_attach+0x7bd/0x1220 [ 30.629061] ? tun_show_owner+0x160/0x160 [ 30.633193] ? lock_release+0xa40/0xa40 [ 30.637141] ? __check_object_size+0x8b/0x530 [ 30.641607] ? avc_has_extended_perms+0x6e5/0x12c0 [ 30.646515] ? __might_sleep+0x95/0x190 [ 30.650466] ? selinux_tun_dev_attach_queue+0xd4/0x100 [ 30.655722] __tun_chr_ioctl+0x8f5/0x40d0 [ 30.659863] ? avc_has_extended_perms+0x7fa/0x12c0 [ 30.664782] ? tun_poll_controller+0x4c0/0x4c0 [ 30.669339] ? avc_ss_reset+0x110/0x110 [ 30.673284] ? pid_task+0xf7/0x1a0 [ 30.676801] ? __kasan_slab_free+0x11a/0x170 [ 30.681181] ? kasan_slab_free+0xe/0x10 [ 30.685125] ? kmem_cache_free+0x83/0x2a0 [ 30.689244] ? putname+0xee/0x130 [ 30.692673] ? get_pid_task+0xbc/0x140 [ 30.696533] ? proc_fail_nth_write+0x9b/0x1d0 [ 30.701108] ? rcu_note_context_switch+0x710/0x710 [ 30.706015] ? tun_chr_compat_ioctl+0x30/0x30 [ 30.710485] tun_chr_ioctl+0x2a/0x40 [ 30.714168] ? tun_chr_ioctl+0x2a/0x40 [ 30.718045] do_vfs_ioctl+0x1b1/0x1520 [ 30.721912] ? ioctl_preallocate+0x2b0/0x2b0 [ 30.726295] ? selinux_capable+0x40/0x40 [ 30.730332] ? __sb_end_write+0xa0/0xd0 [ 30.734289] ? security_file_ioctl+0x7d/0xb0 [ 30.738669] ? security_file_ioctl+0x89/0xb0 [ 30.743055] SyS_ioctl+0x8f/0xc0 [ 30.746393] ? do_vfs_ioctl+0x1520/0x1520 [ 30.750517] do_syscall_64+0x281/0x940 [ 30.754383] ? __do_page_fault+0xc90/0xc90 [ 30.758591] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 30.763320] ? syscall_return_slowpath+0x550/0x550 [ 30.768224] ? syscall_return_slowpath+0x2ac/0x550 [ 30.773127] ? prepare_exit_to_usermode+0x350/0x350 [ 30.778117] ? entry_SYSCALL_64_after_hwframe+0x52/0xb7 [ 30.783457] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.788276] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 30.793438] RIP: 0033:0x444229 [ 30.796601] RSP: 002b:00007ffd67c73e08 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 30.804280] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000444229 [ 30.811522] RDX: 0000000020000200 RSI: 00000000400454d9 RDI: 0000000000000006 [ 30.818764] RBP: 00007ffd67c73e10 R08: 0000000000000001 R09: 00007ffd67c70032 [ 30.826007] R10: 0000000000000000 R11: 0000000000000246 R12: 74656e2f7665642f [ 30.833252] R13: ffffffffffffffff R14: 0000000000000008 R15: 0000000000000000 [ 30.841088] Dumping ftrace buffer: [ 30.844712] (ftrace buffer empty) [ 30.848397] Kernel Offset: disabled [ 30.852012] Rebooting in 86400 seconds..