Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.200' (ECDSA) to the list of known hosts. 2020/06/19 00:40:10 fuzzer started 2020/06/19 00:40:10 connecting to host at 10.128.0.26:35761 2020/06/19 00:40:10 checking machine... 2020/06/19 00:40:10 checking revisions... 2020/06/19 00:40:10 testing simple program... syzkaller login: [ 61.342616][ T6815] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 00:40:10 building call list... [ 61.686142][ T311] tipc: TX() has been purged, node left! [ 62.188278][ T311] ================================================================== [ 62.196564][ T311] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 62.204462][ T311] Write of size 1 at addr ffff8880a8bd29e4 by task kworker/u4:5/311 [ 62.212529][ T311] [ 62.214861][ T311] CPU: 1 PID: 311 Comm: kworker/u4:5 Not tainted 5.8.0-rc1-syzkaller #0 [ 62.223178][ T311] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.233414][ T311] Workqueue: netns cleanup_net [ 62.238168][ T311] Call Trace: [ 62.241549][ T311] dump_stack+0x18f/0x20d [ 62.245981][ T311] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.251616][ T311] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.257162][ T311] ? afs_put_call+0xa40/0xa40 [ 62.261904][ T311] print_address_description.constprop.0.cold+0xd3/0x413 [ 62.269019][ T311] ? vprintk_func+0x97/0x1a6 [ 62.273710][ T311] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.279253][ T311] kasan_report.cold+0x1f/0x37 [ 62.284023][ T311] ? rcu_read_lock_held_common+0x51/0xa0 [ 62.289653][ T311] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.295206][ T311] afs_wake_up_async_call+0x6aa/0x770 [ 62.300579][ T311] ? afs_close_socket+0x320/0x320 [ 62.305601][ T311] ? afs_put_call+0xa40/0xa40 [ 62.310277][ T311] rxrpc_notify_socket+0x1db/0x5d0 [ 62.315394][ T311] ? afs_put_call+0xa40/0xa40 [ 62.320073][ T311] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.326487][ T311] rxrpc_call_completed+0xca/0xf0 [ 62.332300][ T311] rxrpc_discard_prealloc+0x781/0xab0 [ 62.337676][ T311] ? lock_sock_nested+0x94/0x110 [ 62.342616][ T311] rxrpc_listen+0x147/0x360 [ 62.347121][ T311] afs_close_socket+0x95/0x320 [ 62.351882][ T311] ? afs_purge_servers+0x16d/0x300 [ 62.357077][ T311] ? afs_rx_discard_new_call+0x50/0x50 [ 62.362537][ T311] ? init_wait_var_entry+0x200/0x200 [ 62.368727][ T311] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.374364][ T311] ? check_preemption_disabled+0x38/0x220 [ 62.380087][ T311] afs_net_exit+0x1bc/0x310 [ 62.384584][ T311] ? afs_net_init+0xe30/0xe30 [ 62.389268][ T311] ops_exit_list.isra.0+0xa8/0x150 [ 62.394835][ T311] cleanup_net+0x511/0xa50 [ 62.399254][ T311] ? unregister_pernet_device+0x70/0x70 [ 62.405169][ T311] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.411160][ T311] process_one_work+0x965/0x1690 [ 62.416106][ T311] ? lock_release+0x800/0x800 [ 62.420781][ T311] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.426157][ T311] ? rwlock_bug.part.0+0x90/0x90 [ 62.431134][ T311] worker_thread+0x96/0xe10 [ 62.435650][ T311] ? process_one_work+0x1690/0x1690 [ 62.440880][ T311] kthread+0x3b5/0x4a0 [ 62.444943][ T311] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.450657][ T311] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.456383][ T311] ret_from_fork+0x1f/0x30 [ 62.460833][ T311] [ 62.464551][ T311] Allocated by task 6815: [ 62.468879][ T311] save_stack+0x1b/0x40 [ 62.473047][ T311] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 62.478674][ T311] kmem_cache_alloc_trace+0x153/0x7d0 [ 62.484123][ T311] afs_alloc_call+0x55/0x630 [ 62.488710][ T311] afs_charge_preallocation+0xe9/0x2d0 [ 62.494176][ T311] afs_open_socket+0x292/0x360 [ 62.498931][ T311] afs_net_init+0xa6c/0xe30 [ 62.503600][ T311] ops_init+0xaf/0x420 [ 62.507669][ T311] setup_net+0x2de/0x860 [ 62.511904][ T311] copy_net_ns+0x293/0x590 [ 62.516512][ T311] create_new_namespaces+0x3fb/0xb30 [ 62.521920][ T311] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 62.527645][ T311] ksys_unshare+0x43d/0x8e0 [ 62.532149][ T311] __x64_sys_unshare+0x2d/0x40 [ 62.536908][ T311] do_syscall_64+0x60/0xe0 [ 62.541322][ T311] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 62.547199][ T311] [ 62.549531][ T311] Freed by task 311: [ 62.553423][ T311] save_stack+0x1b/0x40 [ 62.557584][ T311] __kasan_slab_free+0xf7/0x140 [ 62.562448][ T311] kfree+0x109/0x2b0 [ 62.566363][ T311] afs_put_call+0x585/0xa40 [ 62.570884][ T311] rxrpc_discard_prealloc+0x764/0xab0 [ 62.576261][ T311] rxrpc_listen+0x147/0x360 [ 62.580846][ T311] afs_close_socket+0x95/0x320 [ 62.585600][ T311] afs_net_exit+0x1bc/0x310 [ 62.590099][ T311] ops_exit_list.isra.0+0xa8/0x150 [ 62.595353][ T311] cleanup_net+0x511/0xa50 [ 62.599768][ T311] process_one_work+0x965/0x1690 [ 62.604705][ T311] worker_thread+0x96/0xe10 [ 62.609204][ T311] kthread+0x3b5/0x4a0 [ 62.613268][ T311] ret_from_fork+0x1f/0x30 [ 62.617832][ T311] [ 62.620251][ T311] The buggy address belongs to the object at ffff8880a8bd2800 [ 62.620251][ T311] which belongs to the cache kmalloc-1k of size 1024 [ 62.634492][ T311] The buggy address is located 484 bytes inside of [ 62.634492][ T311] 1024-byte region [ffff8880a8bd2800, ffff8880a8bd2c00) [ 62.648103][ T311] The buggy address belongs to the page: [ 62.653824][ T311] page:ffffea0002a2f480 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 62.662928][ T311] flags: 0xfffe0000000200(slab) [ 62.668305][ T311] raw: 00fffe0000000200 ffffea00025e2248 ffffea0002680d48 ffff8880aa000c40 [ 62.677081][ T311] raw: 0000000000000000 ffff8880a8bd2000 0000000100000002 0000000000000000 [ 62.685901][ T311] page dumped because: kasan: bad access detected [ 62.692323][ T311] [ 62.694652][ T311] Memory state around the buggy address: [ 62.700367][ T311] ffff8880a8bd2880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.708437][ T311] ffff8880a8bd2900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.716500][ T311] >ffff8880a8bd2980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.725337][ T311] ^ [ 62.732587][ T311] ffff8880a8bd2a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.740927][ T311] ffff8880a8bd2a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.749078][ T311] ================================================================== [ 62.757248][ T311] Disabling lock debugging due to kernel taint [ 62.763465][ T311] Kernel panic - not syncing: panic_on_warn set ... [ 62.770499][ T311] CPU: 1 PID: 311 Comm: kworker/u4:5 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 62.780209][ T311] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.790706][ T311] Workqueue: netns cleanup_net [ 62.795503][ T311] Call Trace: [ 62.798801][ T311] dump_stack+0x18f/0x20d [ 62.803754][ T311] ? afs_wake_up_async_call+0x680/0x770 [ 62.810056][ T311] ? afs_put_call+0xa40/0xa40 [ 62.814993][ T311] panic+0x2e3/0x75c [ 62.819102][ T311] ? __warn_printk+0xf3/0xf3 [ 62.823874][ T311] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 62.831774][ T311] ? trace_hardirqs_on+0x55/0x220 [ 62.836884][ T311] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.842446][ T311] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.847981][ T311] ? afs_put_call+0xa40/0xa40 [ 62.852654][ T311] end_report+0x4d/0x53 [ 62.856808][ T311] kasan_report.cold+0xd/0x37 [ 62.861482][ T311] ? rcu_read_lock_held_common+0x51/0xa0 [ 62.867128][ T311] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.872673][ T311] afs_wake_up_async_call+0x6aa/0x770 [ 62.878043][ T311] ? afs_close_socket+0x320/0x320 [ 62.883081][ T311] ? afs_put_call+0xa40/0xa40 [ 62.888011][ T311] rxrpc_notify_socket+0x1db/0x5d0 [ 62.893116][ T311] ? afs_put_call+0xa40/0xa40 [ 62.897880][ T311] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.904307][ T311] rxrpc_call_completed+0xca/0xf0 [ 62.909420][ T311] rxrpc_discard_prealloc+0x781/0xab0 [ 62.914872][ T311] ? lock_sock_nested+0x94/0x110 [ 62.919803][ T311] rxrpc_listen+0x147/0x360 [ 62.924386][ T311] afs_close_socket+0x95/0x320 [ 62.929158][ T311] ? afs_purge_servers+0x16d/0x300 [ 62.934287][ T311] ? afs_rx_discard_new_call+0x50/0x50 [ 62.939916][ T311] ? init_wait_var_entry+0x200/0x200 [ 62.945195][ T311] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.950820][ T311] ? check_preemption_disabled+0x38/0x220 [ 62.956552][ T311] afs_net_exit+0x1bc/0x310 [ 62.961139][ T311] ? afs_net_init+0xe30/0xe30 [ 62.965830][ T311] ops_exit_list.isra.0+0xa8/0x150 [ 62.970939][ T311] cleanup_net+0x511/0xa50 [ 62.975346][ T311] ? unregister_pernet_device+0x70/0x70 [ 62.981144][ T311] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.987134][ T311] process_one_work+0x965/0x1690 [ 62.992246][ T311] ? lock_release+0x800/0x800 [ 62.996916][ T311] ? pwq_dec_nr_in_flight+0x310/0x310 [ 63.002281][ T311] ? rwlock_bug.part.0+0x90/0x90 [ 63.007213][ T311] worker_thread+0x96/0xe10 [ 63.011714][ T311] ? process_one_work+0x1690/0x1690 [ 63.016901][ T311] kthread+0x3b5/0x4a0 [ 63.020958][ T311] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 63.026667][ T311] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 63.032380][ T311] ret_from_fork+0x1f/0x30 [ 63.038462][ T311] Kernel Offset: disabled [ 63.042776][ T311] Rebooting in 86400 seconds..