[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0[ 36.729537] audit: type=1800 audit(1569102230.096:33): pid=7238 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 c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok [39;[ 36.758791] audit: type=1800 audit(1569102230.096:34): pid=7238 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 49m8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 42.469230] audit: type=1400 audit(1569102235.836:35): avc: denied { map } for pid=7412 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.1.7' (ECDSA) to the list of known hosts. [ 48.860690] audit: type=1400 audit(1569102242.236:36): avc: denied { map } for pid=7424 comm="syz-executor808" path="/root/syz-executor808378641" 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 [ 48.882167] IPVS: ftp: loaded support on port[0] = 21 [ 48.936665] chnl_net:caif_netlink_parms(): no params data found [ 48.968447] bridge0: port 1(bridge_slave_0) entered blocking state [ 48.975289] bridge0: port 1(bridge_slave_0) entered disabled state [ 48.982472] device bridge_slave_0 entered promiscuous mode [ 48.989518] bridge0: port 2(bridge_slave_1) entered blocking state [ 48.995957] bridge0: port 2(bridge_slave_1) entered disabled state [ 49.002910] device bridge_slave_1 entered promiscuous mode [ 49.018151] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 49.027325] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 49.043857] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 49.051367] team0: Port device team_slave_0 added [ 49.056734] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 49.064050] team0: Port device team_slave_1 added [ 49.069201] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 49.076569] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 49.131797] device hsr_slave_0 entered promiscuous mode [ 49.200536] device hsr_slave_1 entered promiscuous mode [ 49.250423] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 49.257315] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 49.271366] bridge0: port 2(bridge_slave_1) entered blocking state [ 49.277780] bridge0: port 2(bridge_slave_1) entered forwarding state [ 49.284714] bridge0: port 1(bridge_slave_0) entered blocking state [ 49.291208] bridge0: port 1(bridge_slave_0) entered forwarding state [ 49.319904] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 49.326123] 8021q: adding VLAN 0 to HW filter on device bond0 [ 49.335063] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 49.343847] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 49.362184] bridge0: port 1(bridge_slave_0) entered disabled state [ 49.369320] bridge0: port 2(bridge_slave_1) entered disabled state [ 49.376584] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 49.386542] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 49.392969] 8021q: adding VLAN 0 to HW filter on device team0 [ 49.402690] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 49.410462] bridge0: port 1(bridge_slave_0) entered blocking state [ 49.416786] bridge0: port 1(bridge_slave_0) entered forwarding state [ 49.431182] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 49.438769] bridge0: port 2(bridge_slave_1) entered blocking state [ 49.445155] bridge0: port 2(bridge_slave_1) entered forwarding state [ 49.453200] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 49.461382] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 49.470362] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 49.482487] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 49.492383] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 49.503159] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 49.509560] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready executing program [ 49.517440] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 49.524987] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 49.537590] IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready [ 49.547658] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 49.631773] ================================================================== [ 49.639221] BUG: KASAN: use-after-free in pids_release+0x228/0x250 [ 49.645525] Read of size 8 at addr ffff888091ad9448 by task syz-executor808/7424 [ 49.653035] [ 49.654656] CPU: 0 PID: 7424 Comm: syz-executor808 Not tainted 4.19.75 #0 [ 49.661559] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 49.671021] Call Trace: [ 49.673600] dump_stack+0x172/0x1f0 [ 49.677213] ? pids_release+0x228/0x250 [ 49.681174] print_address_description.cold+0x7c/0x20d [ 49.686448] ? pids_release+0x228/0x250 [ 49.690418] kasan_report.cold+0x8c/0x2ba [ 49.694567] __asan_report_load8_noabort+0x14/0x20 [ 49.699487] pids_release+0x228/0x250 [ 49.703270] cgroup_release+0x101/0x4a0 [ 49.707325] ? proc_tid_base_readdir+0x30/0x30 [ 49.711899] ? cgroup_exit+0x520/0x520 [ 49.715771] ? kasan_check_read+0x11/0x20 [ 49.719904] release_task+0x194/0x1630 [ 49.723790] ? _raw_spin_unlock_irq+0x28/0x90 [ 49.728266] ? lockdep_hardirqs_on+0x415/0x5d0 [ 49.732829] ? trace_hardirqs_on+0x67/0x220 [ 49.737135] wait_consider_task+0x2c95/0x3910 [ 49.741622] ? release_task+0x1630/0x1630 [ 49.745749] ? lock_acquire+0x16f/0x3f0 [ 49.749792] ? do_wait+0x3aa/0x9d0 [ 49.753316] ? kasan_check_write+0x14/0x20 [ 49.757535] do_wait+0x439/0x9d0 [ 49.760891] ? wait_consider_task+0x3910/0x3910 [ 49.765548] kernel_wait4+0x171/0x290 [ 49.769332] ? __ia32_sys_waitid+0x140/0x140 [ 49.773733] ? task_stopped_code+0x180/0x180 [ 49.778123] ? find_held_lock+0x35/0x130 [ 49.782165] ? __do_page_fault+0x676/0xe90 [ 49.786382] __do_sys_wait4+0x147/0x160 [ 49.790337] ? kernel_wait4+0x290/0x290 [ 49.794294] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 49.799815] ? up_read+0x1a/0x110 [ 49.803249] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 49.808773] ? __do_page_fault+0x484/0xe90 [ 49.813011] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 49.817752] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 49.822494] ? do_syscall_64+0x26/0x620 [ 49.826455] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 49.831802] ? do_syscall_64+0x26/0x620 [ 49.835764] __x64_sys_wait4+0x97/0xf0 [ 49.839666] do_syscall_64+0xfd/0x620 [ 49.843457] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 49.848630] RIP: 0033:0x4021ea [ 49.851807] Code: c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 8b 05 6e 89 2d 00 85 c0 75 36 45 31 d2 48 63 d2 48 63 ff b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 d0 ff ff ff f7 [ 49.870861] RSP: 002b:00007ffc943499e8 EFLAGS: 00000246 ORIG_RAX: 000000000000003d [ 49.878552] RAX: ffffffffffffffda RBX: 0000000000001d01 RCX: 00000000004021ea [ 49.885807] RDX: 0000000040000000 RSI: 00007ffc943499f4 RDI: ffffffffffffffff [ 49.893071] RBP: 00000000006d3018 R08: 0000000000000000 R09: 0000555555f1e880 [ 49.900323] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004031a0 [ 49.908269] R13: 0000000000403230 R14: 0000000000000000 R15: 0000000000000000 [ 49.915526] [ 49.917164] Allocated by task 7424: [ 49.920775] save_stack+0x45/0xd0 [ 49.924210] kasan_kmalloc+0xce/0xf0 [ 49.927935] kasan_slab_alloc+0xf/0x20 [ 49.931803] kmem_cache_alloc_node+0x144/0x710 [ 49.936366] copy_process.part.0+0x1ce0/0x7a30 [ 49.940927] _do_fork+0x257/0xfd0 [ 49.944360] __x64_sys_clone+0xbf/0x150 [ 49.948314] do_syscall_64+0xfd/0x620 [ 49.952106] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 49.957271] [ 49.958877] Freed by task 0: [ 49.961877] save_stack+0x45/0xd0 [ 49.965312] __kasan_slab_free+0x102/0x150 [ 49.969528] kasan_slab_free+0xe/0x10 [ 49.973320] kmem_cache_free+0x86/0x260 [ 49.977295] free_task+0xdd/0x120 [ 49.980733] __put_task_struct+0x20f/0x4c0 [ 49.984951] finish_task_switch+0x52b/0x780 [ 49.989253] __schedule+0x86e/0x1dc0 [ 49.992949] schedule_idle+0x58/0x80 [ 49.996659] do_idle+0x192/0x560 [ 50.000008] cpu_startup_entry+0xc8/0xe0 [ 50.004053] start_secondary+0x3e8/0x5b0 [ 50.008141] secondary_startup_64+0xa4/0xb0 [ 50.012581] [ 50.014189] The buggy address belongs to the object at ffff888091ad8380 [ 50.014189] which belongs to the cache task_struct of size 6080 [ 50.026915] The buggy address is located 4296 bytes inside of [ 50.026915] 6080-byte region [ffff888091ad8380, ffff888091ad9b40) [ 50.038944] The buggy address belongs to the page: [ 50.043855] page:ffffea000246b600 count:1 mapcount:0 mapping:ffff88812c26d800 index:0x0 compound_mapcount: 0 [ 50.053804] flags: 0x1fffc0000008100(slab|head) [ 50.058460] raw: 01fffc0000008100 ffffea0002642308 ffff88812c272348 ffff88812c26d800 [ 50.066321] raw: 0000000000000000 ffff888091ad8380 0000000100000001 0000000000000000 [ 50.074178] page dumped because: kasan: bad access detected [ 50.079865] [ 50.081471] Memory state around the buggy address: [ 50.086382] ffff888091ad9300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.093723] ffff888091ad9380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.101072] >ffff888091ad9400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.108416] ^ [ 50.114104] ffff888091ad9480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.121441] ffff888091ad9500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.128779] ================================================================== [ 50.136112] Disabling lock debugging due to kernel taint [ 50.144345] Kernel panic - not syncing: panic_on_warn set ... [ 50.144345] [ 50.151735] CPU: 0 PID: 7424 Comm: syz-executor808 Tainted: G B 4.19.75 #0 [ 50.160036] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 50.169454] Call Trace: [ 50.172026] dump_stack+0x172/0x1f0 [ 50.175635] ? pids_release+0x228/0x250 [ 50.179593] panic+0x263/0x507 [ 50.182779] ? __warn_printk+0xf3/0xf3 [ 50.186644] ? pids_release+0x228/0x250 [ 50.190597] ? preempt_schedule+0x4b/0x60 [ 50.194911] ? ___preempt_schedule+0x16/0x18 [ 50.199308] ? trace_hardirqs_on+0x5e/0x220 [ 50.203614] ? pids_release+0x228/0x250 [ 50.207573] kasan_end_report+0x47/0x4f [ 50.211527] kasan_report.cold+0xa9/0x2ba [ 50.215668] __asan_report_load8_noabort+0x14/0x20 [ 50.220587] pids_release+0x228/0x250 [ 50.224386] cgroup_release+0x101/0x4a0 [ 50.228339] ? proc_tid_base_readdir+0x30/0x30 [ 50.232912] ? cgroup_exit+0x520/0x520 [ 50.236778] ? kasan_check_read+0x11/0x20 [ 50.240905] release_task+0x194/0x1630 [ 50.244770] ? _raw_spin_unlock_irq+0x28/0x90 [ 50.249242] ? lockdep_hardirqs_on+0x415/0x5d0 [ 50.253815] ? trace_hardirqs_on+0x67/0x220 [ 50.258114] wait_consider_task+0x2c95/0x3910 [ 50.262854] ? release_task+0x1630/0x1630 [ 50.266980] ? lock_acquire+0x16f/0x3f0 [ 50.270936] ? do_wait+0x3aa/0x9d0 [ 50.274457] ? kasan_check_write+0x14/0x20 [ 50.278681] do_wait+0x439/0x9d0 [ 50.282027] ? wait_consider_task+0x3910/0x3910 [ 50.286695] kernel_wait4+0x171/0x290 [ 50.290477] ? __ia32_sys_waitid+0x140/0x140 [ 50.294864] ? task_stopped_code+0x180/0x180 [ 50.299253] ? find_held_lock+0x35/0x130 [ 50.303306] ? __do_page_fault+0x676/0xe90 [ 50.307524] __do_sys_wait4+0x147/0x160 [ 50.311479] ? kernel_wait4+0x290/0x290 [ 50.315433] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 50.320951] ? up_read+0x1a/0x110 [ 50.324383] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 50.329907] ? __do_page_fault+0x484/0xe90 [ 50.334137] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 50.338878] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 50.343611] ? do_syscall_64+0x26/0x620 [ 50.347565] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.352907] ? do_syscall_64+0x26/0x620 [ 50.356862] __x64_sys_wait4+0x97/0xf0 [ 50.360740] do_syscall_64+0xfd/0x620 [ 50.364520] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.369698] RIP: 0033:0x4021ea [ 50.372879] Code: c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 8b 05 6e 89 2d 00 85 c0 75 36 45 31 d2 48 63 d2 48 63 ff b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 d0 ff ff ff f7 [ 50.391759] RSP: 002b:00007ffc943499e8 EFLAGS: 00000246 ORIG_RAX: 000000000000003d [ 50.399457] RAX: ffffffffffffffda RBX: 0000000000001d01 RCX: 00000000004021ea [ 50.406727] RDX: 0000000040000000 RSI: 00007ffc943499f4 RDI: ffffffffffffffff [ 50.413975] RBP: 00000000006d3018 R08: 0000000000000000 R09: 0000555555f1e880 [ 50.421221] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004031a0 [ 50.428573] R13: 0000000000403230 R14: 0000000000000000 R15: 0000000000000000 [ 50.437126] Kernel Offset: disabled [ 50.440746] Rebooting in 86400 seconds..