[....] Starting enhanced syslogd: rsyslogd[ 12.458987] audit: type=1400 audit(1515188290.148:5): avc: denied { syslog } for pid=3340 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: [ 19.292756] audit: type=1400 audit(1515188296.982:6): avc: denied { map } for pid=3477 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.32' (ECDSA) to the list of known hosts. net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 executing program [ 64.156676] audit: type=1400 audit(1515188341.846:7): avc: denied { map } for pid=3494 comm="syzkaller425998" path="/root/syzkaller425998376" 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 [ 64.241666] FAULT_INJECTION: forcing a failure. [ 64.241666] name failslab, interval 1, probability 0, space 0, times 1 [ 64.252997] CPU: 1 PID: 3494 Comm: syzkaller425998 Not tainted 4.15.0-rc6+ #249 [ 64.260418] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 64.269750] Call Trace: [ 64.272313] dump_stack+0x194/0x257 [ 64.275921] ? arch_local_irq_restore+0x53/0x53 [ 64.280573] should_fail+0x8c0/0xa40 [ 64.284260] ? kstrdup+0x39/0x70 [ 64.287597] ? fault_create_debugfs_attr+0x1f0/0x1f0 [ 64.292672] ? netdev_register_kobject+0x183/0x360 [ 64.297572] ? register_netdevice+0xb2b/0x1010 [ 64.302142] ? __tun_chr_ioctl+0x1d89/0x3dd0 [ 64.306520] ? tun_chr_ioctl+0x2a/0x40 [ 64.310380] ? do_vfs_ioctl+0x1b1/0x1520 [ 64.314411] ? SyS_ioctl+0x8f/0xc0 [ 64.317922] ? entry_SYSCALL_64_fastpath+0x23/0x9a [ 64.322832] ? check_noncircular+0x20/0x20 [ 64.327042] ? find_held_lock+0x35/0x1d0 [ 64.331080] ? __lock_is_held+0xb6/0x140 [ 64.335130] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 64.340993] ? rcu_note_context_switch+0x710/0x710 [ 64.345900] ? rcu_read_lock_sched_held+0x108/0x120 [ 64.350894] should_failslab+0xec/0x120 [ 64.354844] kmem_cache_alloc+0x47/0x760 [ 64.358872] ? memcpy+0x45/0x50 [ 64.362125] ? kstrdup+0x59/0x70 [ 64.365479] __kernfs_new_node+0xe2/0x570 [ 64.369600] ? kernfs_dop_revalidate+0x380/0x380 [ 64.374324] ? find_held_lock+0x35/0x1d0 [ 64.378368] ? kobject_add_internal+0x2f5/0xbc0 [ 64.383007] ? lock_downgrade+0x980/0x980 [ 64.387134] ? lock_release+0xa40/0xa40 [ 64.391083] kernfs_new_node+0x80/0xe0 [ 64.394944] kernfs_create_dir_ns+0x41/0x140 [ 64.399335] sysfs_create_dir_ns+0xbe/0x1d0 [ 64.403639] kobject_add_internal+0x335/0xbc0 [ 64.408113] ? __mutex_unlock_slowpath+0xe9/0xac0 [ 64.412930] ? kobj_ns_type_registered+0x50/0x50 [ 64.417659] ? get_device_parent.isra.25+0x423/0x590 [ 64.422745] ? lock_downgrade+0x980/0x980 [ 64.426873] ? lock_release+0xa40/0xa40 [ 64.430835] kobject_add+0x132/0x1f0 [ 64.434527] ? kobject_add_internal+0xbc0/0xbc0 [ 64.439174] ? mutex_unlock+0xd/0x10 [ 64.442855] ? device_add+0x350/0x1650 [ 64.446721] device_add+0x35d/0x1650 [ 64.450402] ? dev_set_name+0xb4/0xf0 [ 64.454173] ? device_initialize+0x5b0/0x5b0 [ 64.458552] ? device_private_init+0x230/0x230 [ 64.463103] ? rtnl_is_locked+0x54/0xb0 [ 64.467060] netdev_register_kobject+0x183/0x360 [ 64.471883] register_netdevice+0xb2b/0x1010 [ 64.476267] ? netdev_change_features+0x100/0x100 [ 64.481088] ? round_jiffies_up+0xce/0x100 [ 64.485293] ? __round_jiffies_up_relative+0x150/0x150 [ 64.490538] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 64.495434] ? selinux_tun_dev_alloc_security+0x124/0x170 [ 64.500956] __tun_chr_ioctl+0x1d89/0x3dd0 [ 64.505172] ? tun_chr_read_iter+0x1e0/0x1e0 [ 64.509563] ? putname+0xee/0x130 [ 64.513000] ? check_noncircular+0x20/0x20 [ 64.517205] ? get_pid_task+0xbc/0x140 [ 64.521066] ? map_files_get_link+0x3a0/0x3a0 [ 64.525559] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 64.531419] ? tun_chr_compat_ioctl+0x30/0x30 [ 64.535889] tun_chr_ioctl+0x2a/0x40 [ 64.539573] ? tun_chr_ioctl+0x2a/0x40 [ 64.543435] do_vfs_ioctl+0x1b1/0x1520 [ 64.547291] ? _cond_resched+0x14/0x30 [ 64.551151] ? ioctl_preallocate+0x2b0/0x2b0 [ 64.555534] ? selinux_capable+0x40/0x40 [ 64.559574] ? __sb_end_write+0xa0/0xd0 [ 64.563524] ? vfs_write+0x16b/0x510 [ 64.567218] ? security_file_ioctl+0x89/0xb0 [ 64.571609] SyS_ioctl+0x8f/0xc0 [ 64.574951] entry_SYSCALL_64_fastpath+0x23/0x9a [ 64.579676] RIP: 0033:0x444fc9 [ 64.582841] RSP: 002b:00007fff53389dc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 64.590524] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000444fc9 [ 64.597782] RDX: 0000000020533000 RSI: 00000000400454ca RDI: 0000000000000004 [ 64.605027] RBP: 0000000000000005 R08: 0000000000000002 R09: 0000006f00003131 [ 64.612272] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402500 [ 64.619518] R13: 0000000000402590 R14: 0000000000000000 R15: 0000000000000000 [ 64.627029] ------------[ cut here ]------------ [ 64.632199] kobject_add_internal failed for  (error: -12 parent: net) [ 64.639069] WARNING: CPU: 1 PID: 3494 at lib/kobject.c:244 kobject_add_internal+0x3f6/0xbc0 [ 64.647722] Kernel panic - not syncing: panic_on_warn set ... [ 64.647722] [ 64.655056] CPU: 1 PID: 3494 Comm: syzkaller425998 Not tainted 4.15.0-rc6+ #249 [ 64.662469] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 64.671798] Call Trace: [ 64.674485] dump_stack+0x194/0x257 [ 64.678173] ? arch_local_irq_restore+0x53/0x53 [ 64.682824] ? vsnprintf+0x1ed/0x1900 [ 64.686609] panic+0x1e4/0x41c [ 64.689779] ? refcount_error_report+0x214/0x214 [ 64.694505] ? show_regs_print_info+0x18/0x18 [ 64.698977] ? __warn+0x1c1/0x200 [ 64.702417] ? kobject_add_internal+0x3f6/0xbc0 [ 64.707055] __warn+0x1dc/0x200 [ 64.710304] ? kobject_add_internal+0x3f6/0xbc0 [ 64.714946] report_bug+0x211/0x2d0 [ 64.718555] fixup_bug.part.11+0x37/0x80 [ 64.722585] do_error_trap+0x2d7/0x3e0 [ 64.726454] ? math_error+0x400/0x400 [ 64.730231] ? vprintk_emit+0x3ea/0x590 [ 64.734187] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 64.739003] do_invalid_op+0x1b/0x20 [ 64.742686] invalid_op+0x22/0x40 [ 64.746121] RIP: 0010:kobject_add_internal+0x3f6/0xbc0 [ 64.751363] RSP: 0018:ffff8801c53c76f0 EFLAGS: 00010286 [ 64.756693] RAX: dffffc0000000008 RBX: ffff8801bf5a88d8 RCX: ffffffff8159da9e [ 64.763936] RDX: 0000000000000000 RSI: 1ffff10038a78e99 RDI: ffff8801c53c73f8 [ 64.771198] RBP: ffff8801c53c77e8 R08: 1ffff10038a78e5b R09: 0000000000000000 [ 64.778443] R10: ffff8801c53c74b0 R11: 0000000000000000 R12: 1ffff10038a78ee4 [ 64.785686] R13: 00000000fffffff4 R14: ffff8801d8359a80 R15: ffffffff86201980 [ 64.792941] ? vprintk_func+0x5e/0xc0 [ 64.796717] ? __mutex_unlock_slowpath+0xe9/0xac0 [ 64.801532] ? kobj_ns_type_registered+0x50/0x50 [ 64.806269] ? get_device_parent.isra.25+0x423/0x590 [ 64.811344] ? lock_downgrade+0x980/0x980 [ 64.815464] ? lock_release+0xa40/0xa40 [ 64.819413] kobject_add+0x132/0x1f0 [ 64.823105] ? kobject_add_internal+0xbc0/0xbc0 [ 64.827759] ? mutex_unlock+0xd/0x10 [ 64.831441] ? device_add+0x350/0x1650 [ 64.835308] device_add+0x35d/0x1650 [ 64.838988] ? dev_set_name+0xb4/0xf0 [ 64.842765] ? device_initialize+0x5b0/0x5b0 [ 64.847146] ? device_private_init+0x230/0x230 [ 64.851701] ? rtnl_is_locked+0x54/0xb0 [ 64.855653] netdev_register_kobject+0x183/0x360 [ 64.860382] register_netdevice+0xb2b/0x1010 [ 64.864762] ? netdev_change_features+0x100/0x100 [ 64.869587] ? round_jiffies_up+0xce/0x100 [ 64.873789] ? __round_jiffies_up_relative+0x150/0x150 [ 64.879034] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 64.883937] ? selinux_tun_dev_alloc_security+0x124/0x170 [ 64.889449] __tun_chr_ioctl+0x1d89/0x3dd0 [ 64.893674] ? tun_chr_read_iter+0x1e0/0x1e0 [ 64.898058] ? putname+0xee/0x130 [ 64.901480] ? check_noncircular+0x20/0x20 [ 64.905695] ? get_pid_task+0xbc/0x140 [ 64.909561] ? map_files_get_link+0x3a0/0x3a0 [ 64.914058] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 64.919927] ? tun_chr_compat_ioctl+0x30/0x30 [ 64.924396] tun_chr_ioctl+0x2a/0x40 [ 64.928087] ? tun_chr_ioctl+0x2a/0x40 [ 64.931944] do_vfs_ioctl+0x1b1/0x1520 [ 64.935808] ? _cond_resched+0x14/0x30 [ 64.939677] ? ioctl_preallocate+0x2b0/0x2b0 [ 64.944056] ? selinux_capable+0x40/0x40 [ 64.948088] ? __sb_end_write+0xa0/0xd0 [ 64.952048] ? vfs_write+0x16b/0x510 [ 64.955744] ? security_file_ioctl+0x89/0xb0 [ 64.960122] SyS_ioctl+0x8f/0xc0 [ 64.963461] entry_SYSCALL_64_fastpath+0x23/0x9a [ 64.968183] RIP: 0033:0x444fc9 [ 64.971348] RSP: 002b:00007fff53389dc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 64.979023] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000444fc9 [ 64.986260] RDX: 0000000020533000 RSI: 00000000400454ca RDI: 0000000000000004 [ 64.993516] RBP: 0000000000000005 R08: 0000000000000002 R09: 0000006f00003131 [ 65.000755] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402500 [ 65.007992] R13: 0000000000402590 R14: 0000000000000000 R15: 0000000000000000 [ 65.015456] Dumping ftrace buffer: [ 65.019056] (ftrace buffer empty) [ 65.022735] Kernel Offset: disabled [ 65.026332] Rebooting in 86400 seconds..