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.26' (ECDSA) to the list of known hosts. 2020/06/19 18:22:00 fuzzer started 2020/06/19 18:22:00 connecting to host at 10.128.0.26:46061 2020/06/19 18:22:00 checking machine... 2020/06/19 18:22:00 checking revisions... 2020/06/19 18:22:00 testing simple program... syzkaller login: [ 61.290310][ T6871] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 18:22:00 building call list... [ 61.681158][ T21] tipc: TX() has been purged, node left! [ 62.183607][ T21] ================================================================== [ 62.191869][ T21] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 62.199853][ T21] Write of size 1 at addr ffff8880955899e4 by task kworker/u4:1/21 [ 62.208099][ T21] [ 62.210432][ T21] CPU: 1 PID: 21 Comm: kworker/u4:1 Not tainted 5.8.0-rc1-syzkaller #0 [ 62.218832][ T21] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.229495][ T21] Workqueue: netns cleanup_net [ 62.235209][ T21] Call Trace: [ 62.238518][ T21] dump_stack+0x18f/0x20d [ 62.242858][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.248759][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.254395][ T21] ? afs_put_call+0xa40/0xa40 [ 62.259109][ T21] print_address_description.constprop.0.cold+0xd3/0x413 [ 62.266574][ T21] ? vprintk_func+0x97/0x1a6 [ 62.271178][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.276997][ T21] kasan_report.cold+0x1f/0x37 [ 62.281792][ T21] ? rcu_read_lock_held_common+0x51/0xa0 [ 62.287519][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.293070][ T21] afs_wake_up_async_call+0x6aa/0x770 [ 62.298444][ T21] ? afs_close_socket+0x320/0x320 [ 62.303475][ T21] ? afs_put_call+0xa40/0xa40 [ 62.308154][ T21] rxrpc_notify_socket+0x1db/0x5d0 [ 62.313289][ T21] ? afs_put_call+0xa40/0xa40 [ 62.317967][ T21] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.324385][ T21] rxrpc_call_completed+0xca/0xf0 [ 62.329455][ T21] rxrpc_discard_prealloc+0x781/0xab0 [ 62.334946][ T21] ? lock_sock_nested+0x94/0x110 [ 62.339898][ T21] rxrpc_listen+0x147/0x360 [ 62.344427][ T21] afs_close_socket+0x95/0x320 [ 62.349192][ T21] ? afs_purge_servers+0x16d/0x300 [ 62.354311][ T21] ? afs_rx_discard_new_call+0x50/0x50 [ 62.359774][ T21] ? init_wait_var_entry+0x200/0x200 [ 62.365064][ T21] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.370785][ T21] ? check_preemption_disabled+0x38/0x220 [ 62.376519][ T21] afs_net_exit+0x1bc/0x310 [ 62.381195][ T21] ? afs_net_init+0xe30/0xe30 [ 62.385872][ T21] ops_exit_list.isra.0+0xa8/0x150 [ 62.391023][ T21] cleanup_net+0x511/0xa50 [ 62.395445][ T21] ? unregister_pernet_device+0x70/0x70 [ 62.400996][ T21] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.406996][ T21] process_one_work+0x965/0x1690 [ 62.411946][ T21] ? lock_release+0x800/0x800 [ 62.416627][ T21] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.422104][ T21] ? rwlock_bug.part.0+0x90/0x90 [ 62.427055][ T21] worker_thread+0x96/0xe10 [ 62.431666][ T21] ? process_one_work+0x1690/0x1690 [ 62.436868][ T21] kthread+0x3b5/0x4a0 [ 62.441051][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.446774][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.453117][ T21] ret_from_fork+0x1f/0x30 [ 62.457571][ T21] [ 62.459902][ T21] Allocated by task 6871: [ 62.464232][ T21] save_stack+0x1b/0x40 [ 62.468844][ T21] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 62.474475][ T21] kmem_cache_alloc_trace+0x153/0x7d0 [ 62.479845][ T21] afs_alloc_call+0x55/0x630 [ 62.484440][ T21] afs_charge_preallocation+0xe9/0x2d0 [ 62.489896][ T21] afs_open_socket+0x292/0x360 [ 62.494661][ T21] afs_net_init+0xa6c/0xe30 [ 62.499247][ T21] ops_init+0xaf/0x420 [ 62.503312][ T21] setup_net+0x2de/0x860 [ 62.507651][ T21] copy_net_ns+0x293/0x590 [ 62.512100][ T21] create_new_namespaces+0x3fb/0xb30 [ 62.517404][ T21] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 62.523108][ T21] ksys_unshare+0x43d/0x8e0 [ 62.527641][ T21] __x64_sys_unshare+0x2d/0x40 [ 62.532439][ T21] do_syscall_64+0x60/0xe0 [ 62.537074][ T21] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 62.542959][ T21] [ 62.545285][ T21] Freed by task 21: [ 62.549093][ T21] save_stack+0x1b/0x40 [ 62.553337][ T21] __kasan_slab_free+0xf7/0x140 [ 62.558185][ T21] kfree+0x109/0x2b0 [ 62.562176][ T21] afs_put_call+0x585/0xa40 [ 62.567905][ T21] rxrpc_discard_prealloc+0x764/0xab0 [ 62.573286][ T21] rxrpc_listen+0x147/0x360 [ 62.577787][ T21] afs_close_socket+0x95/0x320 [ 62.582548][ T21] afs_net_exit+0x1bc/0x310 [ 62.587057][ T21] ops_exit_list.isra.0+0xa8/0x150 [ 62.592431][ T21] cleanup_net+0x511/0xa50 [ 62.596858][ T21] process_one_work+0x965/0x1690 [ 62.601795][ T21] worker_thread+0x96/0xe10 [ 62.606471][ T21] kthread+0x3b5/0x4a0 [ 62.610540][ T21] ret_from_fork+0x1f/0x30 [ 62.615034][ T21] [ 62.617372][ T21] The buggy address belongs to the object at ffff888095589800 [ 62.617372][ T21] which belongs to the cache kmalloc-1k of size 1024 [ 62.631425][ T21] The buggy address is located 484 bytes inside of [ 62.631425][ T21] 1024-byte region [ffff888095589800, ffff888095589c00) [ 62.644886][ T21] The buggy address belongs to the page: [ 62.650710][ T21] page:ffffea0002556240 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 62.660803][ T21] flags: 0xfffe0000000200(slab) [ 62.665754][ T21] raw: 00fffe0000000200 ffffea0002537088 ffffea0002847248 ffff8880aa000c40 [ 62.674362][ T21] raw: 0000000000000000 ffff888095589000 0000000100000002 0000000000000000 [ 62.683282][ T21] page dumped because: kasan: bad access detected [ 62.690380][ T21] [ 62.692698][ T21] Memory state around the buggy address: [ 62.698327][ T21] ffff888095589880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.708213][ T21] ffff888095589900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.716811][ T21] >ffff888095589980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.724869][ T21] ^ [ 62.732087][ T21] ffff888095589a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.740167][ T21] ffff888095589a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.748230][ T21] ================================================================== [ 62.756295][ T21] Disabling lock debugging due to kernel taint [ 62.762969][ T21] Kernel panic - not syncing: panic_on_warn set ... [ 62.769577][ T21] CPU: 1 PID: 21 Comm: kworker/u4:1 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 62.779579][ T21] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.789649][ T21] Workqueue: netns cleanup_net [ 62.794420][ T21] Call Trace: [ 62.797719][ T21] dump_stack+0x18f/0x20d [ 62.802060][ T21] ? afs_wake_up_async_call+0x670/0x770 [ 62.807618][ T21] ? afs_put_call+0xa40/0xa40 [ 62.812308][ T21] panic+0x2e3/0x75c [ 62.816211][ T21] ? __warn_printk+0xf3/0xf3 [ 62.820817][ T21] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 62.826982][ T21] ? trace_hardirqs_on+0x55/0x220 [ 62.832047][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.837587][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.843125][ T21] ? afs_put_call+0xa40/0xa40 [ 62.847806][ T21] end_report+0x4d/0x53 [ 62.851972][ T21] kasan_report.cold+0xd/0x37 [ 62.856674][ T21] ? rcu_read_lock_held_common+0x51/0xa0 [ 62.862314][ T21] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.867862][ T21] afs_wake_up_async_call+0x6aa/0x770 [ 62.873404][ T21] ? afs_close_socket+0x320/0x320 [ 62.878429][ T21] ? afs_put_call+0xa40/0xa40 [ 62.883116][ T21] rxrpc_notify_socket+0x1db/0x5d0 [ 62.888242][ T21] ? afs_put_call+0xa40/0xa40 [ 62.892920][ T21] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.899336][ T21] rxrpc_call_completed+0xca/0xf0 [ 62.904534][ T21] rxrpc_discard_prealloc+0x781/0xab0 [ 62.909901][ T21] ? lock_sock_nested+0x94/0x110 [ 62.914946][ T21] rxrpc_listen+0x147/0x360 [ 62.919562][ T21] afs_close_socket+0x95/0x320 [ 62.925276][ T21] ? afs_purge_servers+0x16d/0x300 [ 62.930553][ T21] ? afs_rx_discard_new_call+0x50/0x50 [ 62.936129][ T21] ? init_wait_var_entry+0x200/0x200 [ 62.941411][ T21] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.947039][ T21] ? check_preemption_disabled+0x38/0x220 [ 62.952764][ T21] afs_net_exit+0x1bc/0x310 [ 62.957916][ T21] ? afs_net_init+0xe30/0xe30 [ 62.962749][ T21] ops_exit_list.isra.0+0xa8/0x150 [ 62.968296][ T21] cleanup_net+0x511/0xa50 [ 62.972803][ T21] ? unregister_pernet_device+0x70/0x70 [ 62.978345][ T21] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.984610][ T21] process_one_work+0x965/0x1690 [ 62.989544][ T21] ? lock_release+0x800/0x800 [ 62.994226][ T21] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.999599][ T21] ? rwlock_bug.part.0+0x90/0x90 [ 63.004560][ T21] worker_thread+0x96/0xe10 [ 63.009936][ T21] ? process_one_work+0x1690/0x1690 [ 63.015127][ T21] kthread+0x3b5/0x4a0 [ 63.019196][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 63.024909][ T21] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 63.030717][ T21] ret_from_fork+0x1f/0x30 [ 63.036731][ T21] Kernel Offset: disabled [ 63.041206][ T21] Rebooting in 86400 seconds..