[ OK ] Started Getty on tty4. [ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started Getty on tty1. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.28' (ECDSA) to the list of known hosts. 2020/06/25 15:06:39 fuzzer started 2020/06/25 15:06:39 connecting to host at 10.128.0.26:37479 2020/06/25 15:06:39 checking machine... 2020/06/25 15:06:39 checking revisions... 2020/06/25 15:06:39 testing simple program... syzkaller login: [ 58.825398][ T6842] IPVS: ftp: loaded support on port[0] = 21 2020/06/25 15:06:40 building call list... [ 59.176603][ T231] tipc: TX() has been purged, node left! [ 59.728629][ T231] ================================================================== [ 59.736892][ T231] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x430/0x4a0 [ 59.744777][ T231] Write of size 1 at addr ffff88809f9131e4 by task kworker/u4:5/231 [ 59.752733][ T231] [ 59.755060][ T231] CPU: 1 PID: 231 Comm: kworker/u4:5 Not tainted 5.8.0-rc1-syzkaller #0 [ 59.763372][ T231] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 59.773422][ T231] Workqueue: netns cleanup_net [ 59.778178][ T231] Call Trace: [ 59.781467][ T231] dump_stack+0x18f/0x20d [ 59.785796][ T231] ? afs_wake_up_async_call+0x430/0x4a0 [ 59.791337][ T231] ? afs_wake_up_async_call+0x430/0x4a0 [ 59.796874][ T231] ? afs_put_call+0x440/0x440 [ 59.801548][ T231] print_address_description.constprop.0.cold+0xae/0x436 [ 59.808585][ T231] ? vprintk_func+0x97/0x1a6 [ 59.813175][ T231] ? afs_wake_up_async_call+0x430/0x4a0 [ 59.818714][ T231] kasan_report.cold+0x1f/0x37 [ 59.823478][ T231] ? afs_wake_up_async_call+0x430/0x4a0 [ 59.829197][ T231] afs_wake_up_async_call+0x430/0x4a0 [ 59.834564][ T231] ? afs_close_socket+0x320/0x320 [ 59.839606][ T231] rxrpc_notify_socket+0x1db/0x5d0 [ 59.844716][ T231] ? afs_put_call+0x440/0x440 [ 59.849388][ T231] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 59.855800][ T231] rxrpc_call_completed+0xd0/0xf0 [ 59.860822][ T231] rxrpc_discard_prealloc+0x777/0xab0 [ 59.866189][ T231] ? lock_sock_nested+0x94/0x110 [ 59.871127][ T231] rxrpc_listen+0x11c/0x330 [ 59.875976][ T231] afs_close_socket+0x95/0x320 [ 59.880731][ T231] ? afs_purge_servers+0x16d/0x300 [ 59.886101][ T231] ? afs_rx_discard_new_call+0x50/0x50 [ 59.891563][ T231] ? init_wait_var_entry+0x200/0x200 [ 59.896848][ T231] ? check_preemption_disabled+0x38/0x220 [ 59.902568][ T231] afs_net_exit+0x1bc/0x310 [ 59.907065][ T231] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 59.912689][ T231] ops_exit_list+0xb0/0x160 [ 59.917191][ T231] cleanup_net+0x4ea/0xa00 [ 59.921604][ T231] ? __schedule+0x887/0x1eb0 [ 59.926192][ T231] ? ops_free_list.part.0+0x3d0/0x3d0 [ 59.931564][ T231] ? check_preemption_disabled+0x38/0x220 [ 59.937286][ T231] process_one_work+0x94c/0x1670 [ 59.942321][ T231] ? lock_release+0x8d0/0x8d0 [ 59.946993][ T231] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 59.952369][ T231] ? rwlock_bug.part.0+0x90/0x90 [ 59.957323][ T231] worker_thread+0x64c/0x1120 [ 59.962013][ T231] ? process_one_work+0x1670/0x1670 [ 59.967209][ T231] kthread+0x3b5/0x4a0 [ 59.971280][ T231] ? __kthread_bind_mask+0xc0/0xc0 [ 59.976385][ T231] ? __kthread_bind_mask+0xc0/0xc0 [ 59.981866][ T231] ret_from_fork+0x1f/0x30 [ 59.986306][ T231] [ 59.988638][ T231] Allocated by task 6842: [ 59.992970][ T231] save_stack+0x1b/0x40 [ 59.997122][ T231] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 60.002747][ T231] kmem_cache_alloc_trace+0x14f/0x2d0 [ 60.008113][ T231] afs_alloc_call+0x4f/0x360 [ 60.012711][ T231] afs_charge_preallocation+0xe9/0x2d0 [ 60.018186][ T231] afs_open_socket+0x294/0x360 [ 60.022948][ T231] afs_net_init+0xa6c/0xe30 [ 60.027451][ T231] ops_init+0xaf/0x470 [ 60.031514][ T231] setup_net+0x2d8/0x850 [ 60.035751][ T231] copy_net_ns+0x2cf/0x5e0 [ 60.040166][ T231] create_new_namespaces+0x3f6/0xb10 [ 60.045445][ T231] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 60.051075][ T231] ksys_unshare+0x36c/0x9a0 [ 60.055586][ T231] __x64_sys_unshare+0x2d/0x40 [ 60.060347][ T231] do_syscall_64+0x60/0xe0 [ 60.064758][ T231] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 60.070634][ T231] [ 60.072955][ T231] Freed by task 231: [ 60.076847][ T231] save_stack+0x1b/0x40 [ 60.080994][ T231] __kasan_slab_free+0xf5/0x140 [ 60.085835][ T231] kfree+0x103/0x2c0 [ 60.089732][ T231] afs_put_call+0x345/0x440 [ 60.094227][ T231] rxrpc_discard_prealloc+0x75a/0xab0 [ 60.099595][ T231] rxrpc_listen+0x11c/0x330 [ 60.104089][ T231] afs_close_socket+0x95/0x320 [ 60.108845][ T231] afs_net_exit+0x1bc/0x310 [ 60.113341][ T231] ops_exit_list+0xb0/0x160 [ 60.117837][ T231] cleanup_net+0x4ea/0xa00 [ 60.122248][ T231] process_one_work+0x94c/0x1670 [ 60.127180][ T231] worker_thread+0x64c/0x1120 [ 60.131847][ T231] kthread+0x3b5/0x4a0 [ 60.135910][ T231] ret_from_fork+0x1f/0x30 [ 60.140307][ T231] [ 60.142629][ T231] The buggy address belongs to the object at ffff88809f913000 [ 60.142629][ T231] which belongs to the cache kmalloc-1k of size 1024 [ 60.156686][ T231] The buggy address is located 484 bytes inside of [ 60.156686][ T231] 1024-byte region [ffff88809f913000, ffff88809f913400) [ 60.170032][ T231] The buggy address belongs to the page: [ 60.175662][ T231] page:ffffea00027e44c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 60.184933][ T231] flags: 0xfffe0000000200(slab) [ 60.189786][ T231] raw: 00fffe0000000200 ffffea0002809588 ffffea00027b7108 ffff8880aa000c40 [ 60.198372][ T231] raw: 0000000000000000 ffff88809f913000 0000000100000002 0000000000000000 [ 60.206946][ T231] page dumped because: kasan: bad access detected [ 60.213341][ T231] [ 60.215656][ T231] Memory state around the buggy address: [ 60.221283][ T231] ffff88809f913080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.229337][ T231] ffff88809f913100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.237391][ T231] >ffff88809f913180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.245439][ T231] ^ [ 60.252640][ T231] ffff88809f913200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.260802][ T231] ffff88809f913280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.268850][ T231] ================================================================== [ 60.276896][ T231] Disabling lock debugging due to kernel taint [ 60.283107][ T231] Kernel panic - not syncing: panic_on_warn set ... [ 60.289689][ T231] CPU: 1 PID: 231 Comm: kworker/u4:5 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 60.299393][ T231] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.309451][ T231] Workqueue: netns cleanup_net [ 60.314202][ T231] Call Trace: [ 60.317487][ T231] dump_stack+0x18f/0x20d [ 60.321813][ T231] ? afs_wake_up_async_call+0x3d0/0x4a0 [ 60.327350][ T231] ? afs_put_call+0x440/0x440 [ 60.332046][ T231] panic+0x2e3/0x75c [ 60.335932][ T231] ? __warn_printk+0xf3/0xf3 [ 60.340515][ T231] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.346064][ T231] ? trace_hardirqs_on+0x55/0x220 [ 60.351082][ T231] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.356617][ T231] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.362151][ T231] ? afs_put_call+0x440/0x440 [ 60.366819][ T231] end_report+0x4d/0x53 [ 60.370980][ T231] kasan_report.cold+0xd/0x37 [ 60.375647][ T231] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.381181][ T231] afs_wake_up_async_call+0x430/0x4a0 [ 60.386540][ T231] ? afs_close_socket+0x320/0x320 [ 60.391555][ T231] rxrpc_notify_socket+0x1db/0x5d0 [ 60.396656][ T231] ? afs_put_call+0x440/0x440 [ 60.401325][ T231] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 60.407730][ T231] rxrpc_call_completed+0xd0/0xf0 [ 60.412748][ T231] rxrpc_discard_prealloc+0x777/0xab0 [ 60.418114][ T231] ? lock_sock_nested+0x94/0x110 [ 60.423053][ T231] rxrpc_listen+0x11c/0x330 [ 60.427545][ T231] afs_close_socket+0x95/0x320 [ 60.432295][ T231] ? afs_purge_servers+0x16d/0x300 [ 60.437398][ T231] ? afs_rx_discard_new_call+0x50/0x50 [ 60.442846][ T231] ? init_wait_var_entry+0x200/0x200 [ 60.448127][ T231] ? check_preemption_disabled+0x38/0x220 [ 60.453835][ T231] afs_net_exit+0x1bc/0x310 [ 60.458329][ T231] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 60.463949][ T231] ops_exit_list+0xb0/0x160 [ 60.468443][ T231] cleanup_net+0x4ea/0xa00 [ 60.472858][ T231] ? __schedule+0x887/0x1eb0 [ 60.477462][ T231] ? ops_free_list.part.0+0x3d0/0x3d0 [ 60.482828][ T231] ? check_preemption_disabled+0x38/0x220 [ 60.488541][ T231] process_one_work+0x94c/0x1670 [ 60.493476][ T231] ? lock_release+0x8d0/0x8d0 [ 60.498305][ T231] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 60.503674][ T231] ? rwlock_bug.part.0+0x90/0x90 [ 60.508613][ T231] worker_thread+0x64c/0x1120 [ 60.513292][ T231] ? process_one_work+0x1670/0x1670 [ 60.518486][ T231] kthread+0x3b5/0x4a0 [ 60.522549][ T231] ? __kthread_bind_mask+0xc0/0xc0 [ 60.528610][ T231] ? __kthread_bind_mask+0xc0/0xc0 [ 60.533722][ T231] ret_from_fork+0x1f/0x30 [ 60.539609][ T231] Kernel Offset: disabled [ 60.543930][ T231] Rebooting in 86400 seconds..