Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.140' (ECDSA) to the list of known hosts. 2020/06/27 04:03:48 fuzzer started 2020/06/27 04:03:48 connecting to host at 10.128.0.26:38803 2020/06/27 04:03:48 checking machine... 2020/06/27 04:03:48 checking revisions... 2020/06/27 04:03:48 testing simple program... syzkaller login: [ 59.648216][ T6814] IPVS: ftp: loaded support on port[0] = 21 2020/06/27 04:03:49 building call list... [ 59.960275][ T26] tipc: TX() has been purged, node left! [ 60.492302][ T26] ================================================================== [ 60.500550][ T26] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x430/0x4a0 [ 60.508441][ T26] Write of size 1 at addr ffff8880a42a79e4 by task kworker/u4:2/26 [ 60.516575][ T26] [ 60.518907][ T26] CPU: 1 PID: 26 Comm: kworker/u4:2 Not tainted 5.8.0-rc1-syzkaller #0 [ 60.527571][ T26] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.541284][ T26] Workqueue: netns cleanup_net [ 60.548417][ T26] Call Trace: [ 60.552172][ T26] dump_stack+0x18f/0x20d [ 60.558186][ T26] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.563745][ T26] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.569286][ T26] ? afs_put_call+0x440/0x440 [ 60.573962][ T26] print_address_description.constprop.0.cold+0xae/0x436 [ 60.580991][ T26] ? vprintk_func+0x97/0x1a6 [ 60.585583][ T26] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.591129][ T26] kasan_report.cold+0x1f/0x37 [ 60.595901][ T26] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.601449][ T26] afs_wake_up_async_call+0x430/0x4a0 [ 60.606818][ T26] ? afs_close_socket+0x320/0x320 [ 60.611852][ T26] rxrpc_notify_socket+0x1db/0x5d0 [ 60.616966][ T26] ? afs_put_call+0x440/0x440 [ 60.621639][ T26] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 60.628054][ T26] rxrpc_call_completed+0xd0/0xf0 [ 60.633082][ T26] rxrpc_discard_prealloc+0x777/0xab0 [ 60.638717][ T26] ? lock_sock_nested+0x94/0x110 [ 60.643663][ T26] rxrpc_listen+0x11c/0x330 [ 60.648168][ T26] afs_close_socket+0x95/0x320 [ 60.652928][ T26] ? afs_purge_servers+0x16d/0x300 [ 60.658044][ T26] ? afs_rx_discard_new_call+0x50/0x50 [ 60.663503][ T26] ? init_wait_var_entry+0x200/0x200 [ 60.668791][ T26] ? check_preemption_disabled+0x38/0x220 [ 60.674512][ T26] afs_net_exit+0x1bc/0x310 [ 60.679010][ T26] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 60.684726][ T26] ops_exit_list+0xb0/0x160 [ 60.689401][ T26] cleanup_net+0x4ea/0xa00 [ 60.693823][ T26] ? __schedule+0x887/0x1eb0 [ 60.698420][ T26] ? ops_free_list.part.0+0x3d0/0x3d0 [ 60.703799][ T26] ? check_preemption_disabled+0x38/0x220 [ 60.709535][ T26] process_one_work+0x94c/0x1670 [ 60.714483][ T26] ? lock_release+0x8d0/0x8d0 [ 60.719159][ T26] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 60.724638][ T26] ? rwlock_bug.part.0+0x90/0x90 [ 60.729592][ T26] worker_thread+0x64c/0x1120 [ 60.734284][ T26] ? __kthread_parkme+0x13f/0x1e0 [ 60.739303][ T26] ? process_one_work+0x1670/0x1670 [ 60.744498][ T26] kthread+0x3b5/0x4a0 [ 60.748565][ T26] ? __kthread_bind_mask+0xc0/0xc0 [ 60.753771][ T26] ? __kthread_bind_mask+0xc0/0xc0 [ 60.758894][ T26] ret_from_fork+0x1f/0x30 [ 60.763323][ T26] [ 60.765650][ T26] Allocated by task 6814: [ 60.770411][ T26] save_stack+0x1b/0x40 [ 60.774564][ T26] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 60.780196][ T26] kmem_cache_alloc_trace+0x14f/0x2d0 [ 60.785568][ T26] afs_alloc_call+0x4f/0x360 [ 60.790155][ T26] afs_charge_preallocation+0xe9/0x2d0 [ 60.795630][ T26] afs_open_socket+0x294/0x360 [ 60.800438][ T26] afs_net_init+0xa6c/0xe30 [ 60.805203][ T26] ops_init+0xaf/0x470 [ 60.809264][ T26] setup_net+0x2d8/0x850 [ 60.813591][ T26] copy_net_ns+0x2cf/0x5e0 [ 60.818266][ T26] create_new_namespaces+0x3f6/0xb10 [ 60.823552][ T26] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 60.829353][ T26] ksys_unshare+0x36c/0x9a0 [ 60.833849][ T26] __x64_sys_unshare+0x2d/0x40 [ 60.838605][ T26] do_syscall_64+0x60/0xe0 [ 60.843027][ T26] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 60.848903][ T26] [ 60.851229][ T26] Freed by task 26: [ 60.855038][ T26] save_stack+0x1b/0x40 [ 60.859192][ T26] __kasan_slab_free+0xf5/0x140 [ 60.864036][ T26] kfree+0x103/0x2c0 [ 60.867924][ T26] afs_put_call+0x345/0x440 [ 60.872422][ T26] rxrpc_discard_prealloc+0x75a/0xab0 [ 60.877791][ T26] rxrpc_listen+0x11c/0x330 [ 60.882295][ T26] afs_close_socket+0x95/0x320 [ 60.887053][ T26] afs_net_exit+0x1bc/0x310 [ 60.891547][ T26] ops_exit_list+0xb0/0x160 [ 60.896042][ T26] cleanup_net+0x4ea/0xa00 [ 60.900462][ T26] process_one_work+0x94c/0x1670 [ 60.905400][ T26] worker_thread+0x64c/0x1120 [ 60.910071][ T26] kthread+0x3b5/0x4a0 [ 60.914137][ T26] ret_from_fork+0x1f/0x30 [ 60.918538][ T26] [ 60.920866][ T26] The buggy address belongs to the object at ffff8880a42a7800 [ 60.920866][ T26] which belongs to the cache kmalloc-1k of size 1024 [ 60.934928][ T26] The buggy address is located 484 bytes inside of [ 60.934928][ T26] 1024-byte region [ffff8880a42a7800, ffff8880a42a7c00) [ 60.948284][ T26] The buggy address belongs to the page: [ 60.953913][ T26] page:ffffea000290a9c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 60.963004][ T26] flags: 0xfffe0000000200(slab) [ 60.967844][ T26] raw: 00fffe0000000200 ffffea0002548d08 ffffea00026830c8 ffff8880aa000c40 [ 60.976410][ T26] raw: 0000000000000000 ffff8880a42a7000 0000000100000002 0000000000000000 [ 60.984975][ T26] page dumped because: kasan: bad access detected [ 60.991366][ T26] [ 60.993768][ T26] Memory state around the buggy address: [ 60.999388][ T26] ffff8880a42a7880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.007443][ T26] ffff8880a42a7900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.015506][ T26] >ffff8880a42a7980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.023565][ T26] ^ [ 61.030759][ T26] ffff8880a42a7a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.038819][ T26] ffff8880a42a7a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.046885][ T26] ================================================================== [ 61.054941][ T26] Disabling lock debugging due to kernel taint [ 61.061213][ T26] Kernel panic - not syncing: panic_on_warn set ... [ 61.067812][ T26] CPU: 1 PID: 26 Comm: kworker/u4:2 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 61.077431][ T26] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.087554][ T26] Workqueue: netns cleanup_net [ 61.092494][ T26] Call Trace: [ 61.095778][ T26] dump_stack+0x18f/0x20d [ 61.100109][ T26] ? afs_wake_up_async_call+0x400/0x4a0 [ 61.105644][ T26] ? afs_put_call+0x440/0x440 [ 61.110312][ T26] panic+0x2e3/0x75c [ 61.114295][ T26] ? __warn_printk+0xf3/0xf3 [ 61.118886][ T26] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.124433][ T26] ? trace_hardirqs_on+0x55/0x220 [ 61.129651][ T26] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.135186][ T26] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.140746][ T26] ? afs_put_call+0x440/0x440 [ 61.145416][ T26] end_report+0x4d/0x53 [ 61.149568][ T26] kasan_report.cold+0xd/0x37 [ 61.154236][ T26] ? afs_wake_up_async_call+0x430/0x4a0 [ 61.159949][ T26] afs_wake_up_async_call+0x430/0x4a0 [ 61.165317][ T26] ? afs_close_socket+0x320/0x320 [ 61.170337][ T26] rxrpc_notify_socket+0x1db/0x5d0 [ 61.175449][ T26] ? afs_put_call+0x440/0x440 [ 61.180117][ T26] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.186522][ T26] rxrpc_call_completed+0xd0/0xf0 [ 61.191538][ T26] rxrpc_discard_prealloc+0x777/0xab0 [ 61.196898][ T26] ? lock_sock_nested+0x94/0x110 [ 61.201829][ T26] rxrpc_listen+0x11c/0x330 [ 61.206377][ T26] afs_close_socket+0x95/0x320 [ 61.211129][ T26] ? afs_purge_servers+0x16d/0x300 [ 61.216493][ T26] ? afs_rx_discard_new_call+0x50/0x50 [ 61.221953][ T26] ? init_wait_var_entry+0x200/0x200 [ 61.227273][ T26] ? check_preemption_disabled+0x38/0x220 [ 61.232998][ T26] afs_net_exit+0x1bc/0x310 [ 61.237580][ T26] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 61.243202][ T26] ops_exit_list+0xb0/0x160 [ 61.247700][ T26] cleanup_net+0x4ea/0xa00 [ 61.252107][ T26] ? __schedule+0x887/0x1eb0 [ 61.256685][ T26] ? ops_free_list.part.0+0x3d0/0x3d0 [ 61.262055][ T26] ? check_preemption_disabled+0x38/0x220 [ 61.267767][ T26] process_one_work+0x94c/0x1670 [ 61.272700][ T26] ? lock_release+0x8d0/0x8d0 [ 61.277367][ T26] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 61.282741][ T26] ? rwlock_bug.part.0+0x90/0x90 [ 61.287668][ T26] worker_thread+0x64c/0x1120 [ 61.292338][ T26] ? __kthread_parkme+0x13f/0x1e0 [ 61.297350][ T26] ? process_one_work+0x1670/0x1670 [ 61.302537][ T26] kthread+0x3b5/0x4a0 [ 61.306604][ T26] ? __kthread_bind_mask+0xc0/0xc0 [ 61.311709][ T26] ? __kthread_bind_mask+0xc0/0xc0 [ 61.317700][ T26] ret_from_fork+0x1f/0x30 [ 61.323655][ T26] Kernel Offset: disabled [ 61.328076][ T26] Rebooting in 86400 seconds..