Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.56' (ECDSA) to the list of known hosts. 2020/06/25 20:14:53 fuzzer started 2020/06/25 20:14:53 connecting to host at 10.128.0.26:46761 2020/06/25 20:14:53 checking machine... 2020/06/25 20:14:53 checking revisions... 2020/06/25 20:14:54 testing simple program... syzkaller login: [ 60.208516][ T6814] IPVS: ftp: loaded support on port[0] = 21 2020/06/25 20:14:54 building call list... [ 60.553349][ T323] tipc: TX() has been purged, node left! [ 61.065595][ T323] ================================================================== [ 61.073846][ T323] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x430/0x4a0 [ 61.081794][ T323] Write of size 1 at addr ffff888081e9b9e4 by task kworker/u4:5/323 [ 61.090082][ T323] [ 61.092517][ T323] CPU: 1 PID: 323 Comm: kworker/u4:5 Not tainted 5.8.0-rc1-syzkaller #0 [ 61.100959][ T323] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.111109][ T323] Workqueue: netns cleanup_net [ 61.115876][ T323] Call Trace: [ 61.119172][ T323] dump_stack+0x18f/0x20d [ 61.123590][ T323] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.129130][ T323] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.134671][ T323] ? afs_put_call+0x440/0x440 [ 61.139366][ T323] print_address_description.constprop.0.cold+0xae/0x436 [ 61.146399][ T323] ? vprintk_func+0x97/0x1a6 [ 61.150998][ T323] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.156541][ T323] kasan_report.cold+0x1f/0x37 [ 61.161307][ T323] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.166855][ T323] afs_wake_up_async_call+0x430/0x4a0 [ 61.172230][ T323] ? afs_close_socket+0x320/0x320 [ 61.177268][ T323] rxrpc_notify_socket+0x1db/0x5d0 [ 61.182382][ T323] ? afs_put_call+0x440/0x440 [ 61.187058][ T323] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.193475][ T323] rxrpc_call_completed+0xd0/0xf0 [ 61.198501][ T323] rxrpc_discard_prealloc+0x777/0xab0 [ 61.203871][ T323] ? lock_sock_nested+0x94/0x110 [ 61.208812][ T323] rxrpc_listen+0x11c/0x330 [ 61.213319][ T323] afs_close_socket+0x95/0x320 [ 61.218086][ T323] ? afs_purge_servers+0x16d/0x300 [ 61.223199][ T323] ? afs_rx_discard_new_call+0x50/0x50 [ 61.228658][ T323] ? init_wait_var_entry+0x200/0x200 [ 61.233963][ T323] ? check_preemption_disabled+0x38/0x220 [ 61.239697][ T323] afs_net_exit+0x1bc/0x310 [ 61.244294][ T323] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 61.249954][ T323] ops_exit_list+0xb0/0x160 [ 61.254473][ T323] cleanup_net+0x4ea/0xa00 [ 61.258902][ T323] ? __schedule+0x887/0x1eb0 [ 61.263504][ T323] ? ops_free_list.part.0+0x3d0/0x3d0 [ 61.268878][ T323] ? check_preemption_disabled+0x38/0x220 [ 61.274606][ T323] process_one_work+0x94c/0x1670 [ 61.279552][ T323] ? lock_release+0x8d0/0x8d0 [ 61.284227][ T323] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 61.289606][ T323] ? rwlock_bug.part.0+0x90/0x90 [ 61.294551][ T323] worker_thread+0x64c/0x1120 [ 61.299234][ T323] ? process_one_work+0x1670/0x1670 [ 61.304430][ T323] kthread+0x3b5/0x4a0 [ 61.308493][ T323] ? __kthread_bind_mask+0xc0/0xc0 [ 61.313601][ T323] ? __kthread_bind_mask+0xc0/0xc0 [ 61.318721][ T323] ret_from_fork+0x1f/0x30 [ 61.323234][ T323] [ 61.325558][ T323] Allocated by task 6814: [ 61.329884][ T323] save_stack+0x1b/0x40 [ 61.334034][ T323] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 61.339662][ T323] kmem_cache_alloc_trace+0x14f/0x2d0 [ 61.345029][ T323] afs_alloc_call+0x4f/0x360 [ 61.349612][ T323] afs_charge_preallocation+0xe9/0x2d0 [ 61.355073][ T323] afs_open_socket+0x294/0x360 [ 61.359830][ T323] afs_net_init+0xa6c/0xe30 [ 61.364423][ T323] ops_init+0xaf/0x470 [ 61.368485][ T323] setup_net+0x2d8/0x850 [ 61.372730][ T323] copy_net_ns+0x2cf/0x5e0 [ 61.377147][ T323] create_new_namespaces+0x3f6/0xb10 [ 61.382429][ T323] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 61.388054][ T323] ksys_unshare+0x36c/0x9a0 [ 61.392552][ T323] __x64_sys_unshare+0x2d/0x40 [ 61.398315][ T323] do_syscall_64+0x60/0xe0 [ 61.402727][ T323] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 61.408603][ T323] [ 61.410923][ T323] Freed by task 323: [ 61.414813][ T323] save_stack+0x1b/0x40 [ 61.418961][ T323] __kasan_slab_free+0xf5/0x140 [ 61.423807][ T323] kfree+0x103/0x2c0 [ 61.427700][ T323] afs_put_call+0x345/0x440 [ 61.432200][ T323] rxrpc_discard_prealloc+0x75a/0xab0 [ 61.437570][ T323] rxrpc_listen+0x11c/0x330 [ 61.442154][ T323] afs_close_socket+0x95/0x320 [ 61.448051][ T323] afs_net_exit+0x1bc/0x310 [ 61.452551][ T323] ops_exit_list+0xb0/0x160 [ 61.457052][ T323] cleanup_net+0x4ea/0xa00 [ 61.461464][ T323] process_one_work+0x94c/0x1670 [ 61.466394][ T323] worker_thread+0x64c/0x1120 [ 61.471063][ T323] kthread+0x3b5/0x4a0 [ 61.475135][ T323] ret_from_fork+0x1f/0x30 [ 61.479536][ T323] [ 61.481865][ T323] The buggy address belongs to the object at ffff888081e9b800 [ 61.481865][ T323] which belongs to the cache kmalloc-1k of size 1024 [ 61.495939][ T323] The buggy address is located 484 bytes inside of [ 61.495939][ T323] 1024-byte region [ffff888081e9b800, ffff888081e9bc00) [ 61.509307][ T323] The buggy address belongs to the page: [ 61.514938][ T323] page:ffffea000207a6c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 61.524125][ T323] flags: 0xfffe0000000200(slab) [ 61.528988][ T323] raw: 00fffe0000000200 ffffea000207a688 ffffea000207a708 ffff8880aa000c40 [ 61.537581][ T323] raw: 0000000000000000 ffff888081e9b000 0000000100000002 0000000000000000 [ 61.546189][ T323] page dumped because: kasan: bad access detected [ 61.552590][ T323] [ 61.554909][ T323] Memory state around the buggy address: [ 61.560535][ T323] ffff888081e9b880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.568598][ T323] ffff888081e9b900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.576753][ T323] >ffff888081e9b980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.584813][ T323] ^ [ 61.592001][ T323] ffff888081e9ba00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.600145][ T323] ffff888081e9ba80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.608256][ T323] ================================================================== [ 61.616307][ T323] Disabling lock debugging due to kernel taint [ 61.622507][ T323] Kernel panic - not syncing: panic_on_warn set ... [ 61.629096][ T323] CPU: 1 PID: 323 Comm: kworker/u4:5 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 61.638800][ T323] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.648854][ T323] Workqueue: netns cleanup_net [ 61.653602][ T323] Call Trace: [ 61.656902][ T323] dump_stack+0x18f/0x20d [ 61.661233][ T323] ? afs_wake_up_async_call+0x370/0x4a0 [ 61.667743][ T323] ? afs_put_call+0x440/0x440 [ 61.672410][ T323] panic+0x2e3/0x75c [ 61.676308][ T323] ? __warn_printk+0xf3/0xf3 [ 61.680910][ T323] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.686463][ T323] ? trace_hardirqs_on+0x55/0x220 [ 61.691481][ T323] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.697017][ T323] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.702552][ T323] ? afs_put_call+0x440/0x440 [ 61.707220][ T323] end_report+0x4d/0x53 [ 61.711371][ T323] kasan_report.cold+0xd/0x37 [ 61.716046][ T323] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.721583][ T323] afs_wake_up_async_call+0x430/0x4a0 [ 61.726945][ T323] ? afs_close_socket+0x320/0x320 [ 61.731963][ T323] rxrpc_notify_socket+0x1db/0x5d0 [ 61.737077][ T323] ? afs_put_call+0x440/0x440 [ 61.741746][ T323] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.748154][ T323] rxrpc_call_completed+0xd0/0xf0 [ 61.753169][ T323] rxrpc_discard_prealloc+0x777/0xab0 [ 61.758533][ T323] ? lock_sock_nested+0x94/0x110 [ 61.763464][ T323] rxrpc_listen+0x11c/0x330 [ 61.768049][ T323] afs_close_socket+0x95/0x320 [ 61.772807][ T323] ? afs_purge_servers+0x16d/0x300 [ 61.777911][ T323] ? afs_rx_discard_new_call+0x50/0x50 [ 61.783361][ T323] ? init_wait_var_entry+0x200/0x200 [ 61.788637][ T323] ? check_preemption_disabled+0x38/0x220 [ 61.794463][ T323] afs_net_exit+0x1bc/0x310 [ 61.798960][ T323] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 61.804600][ T323] ops_exit_list+0xb0/0x160 [ 61.809105][ T323] cleanup_net+0x4ea/0xa00 [ 61.813517][ T323] ? __schedule+0x887/0x1eb0 [ 61.818195][ T323] ? ops_free_list.part.0+0x3d0/0x3d0 [ 61.824080][ T323] ? check_preemption_disabled+0x38/0x220 [ 61.829793][ T323] process_one_work+0x94c/0x1670 [ 61.834732][ T323] ? lock_release+0x8d0/0x8d0 [ 61.839401][ T323] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 61.844769][ T323] ? rwlock_bug.part.0+0x90/0x90 [ 61.849714][ T323] worker_thread+0x64c/0x1120 [ 61.854387][ T323] ? process_one_work+0x1670/0x1670 [ 61.859605][ T323] kthread+0x3b5/0x4a0 [ 61.863663][ T323] ? __kthread_bind_mask+0xc0/0xc0 [ 61.868762][ T323] ? __kthread_bind_mask+0xc0/0xc0 [ 61.873866][ T323] ret_from_fork+0x1f/0x30 [ 61.880360][ T323] Kernel Offset: disabled [ 61.884765][ T323] Rebooting in 86400 seconds..