[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.50' (ECDSA) to the list of known hosts. 2020/06/19 05:10:37 fuzzer started 2020/06/19 05:10:37 connecting to host at 10.128.0.26:40821 2020/06/19 05:10:37 checking machine... 2020/06/19 05:10:37 checking revisions... 2020/06/19 05:10:37 testing simple program... syzkaller login: [ 70.775136][ T6805] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 05:10:38 building call list... [ 71.140646][ T97] tipc: TX() has been purged, node left! [ 71.703396][ T97] ================================================================== [ 71.711691][ T97] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 71.719585][ T97] Write of size 1 at addr ffff88809f5b99e4 by task kworker/u4:3/97 [ 71.727491][ T97] [ 71.729830][ T97] CPU: 0 PID: 97 Comm: kworker/u4:3 Not tainted 5.8.0-rc1-syzkaller #0 [ 71.738241][ T97] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 71.748318][ T97] Workqueue: netns cleanup_net [ 71.753080][ T97] Call Trace: [ 71.756481][ T97] dump_stack+0x18f/0x20d [ 71.760816][ T97] ? afs_wake_up_async_call+0x6aa/0x770 [ 71.766377][ T97] ? afs_wake_up_async_call+0x6aa/0x770 [ 71.771922][ T97] ? afs_put_call+0xa40/0xa40 [ 71.776604][ T97] print_address_description.constprop.0.cold+0xd3/0x413 [ 71.783633][ T97] ? vprintk_func+0x97/0x1a6 [ 71.788254][ T97] ? afs_wake_up_async_call+0x6aa/0x770 [ 71.793809][ T97] kasan_report.cold+0x1f/0x37 [ 71.798580][ T97] ? rcu_read_lock_held_common+0x51/0xa0 [ 71.804303][ T97] ? afs_wake_up_async_call+0x6aa/0x770 [ 71.810584][ T97] afs_wake_up_async_call+0x6aa/0x770 [ 71.815985][ T97] ? afs_close_socket+0x320/0x320 [ 71.821019][ T97] ? afs_put_call+0xa40/0xa40 [ 71.825873][ T97] rxrpc_notify_socket+0x1db/0x5d0 [ 71.831017][ T97] ? afs_put_call+0xa40/0xa40 [ 71.835725][ T97] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 71.842285][ T97] rxrpc_call_completed+0xca/0xf0 [ 71.847330][ T97] rxrpc_discard_prealloc+0x781/0xab0 [ 71.852728][ T97] ? lock_sock_nested+0x94/0x110 [ 71.858142][ T97] rxrpc_listen+0x147/0x360 [ 71.862664][ T97] afs_close_socket+0x95/0x320 [ 71.867429][ T97] ? afs_purge_servers+0x16d/0x300 [ 71.872992][ T97] ? afs_rx_discard_new_call+0x50/0x50 [ 71.878484][ T97] ? init_wait_var_entry+0x200/0x200 [ 71.883778][ T97] ? rcu_read_lock_held_common+0xa0/0xa0 [ 71.889457][ T97] ? check_preemption_disabled+0x38/0x220 [ 71.895373][ T97] afs_net_exit+0x1bc/0x310 [ 71.899882][ T97] ? afs_net_init+0xe30/0xe30 [ 71.904565][ T97] ops_exit_list.isra.0+0xa8/0x150 [ 71.909682][ T97] cleanup_net+0x511/0xa50 [ 71.914128][ T97] ? unregister_pernet_device+0x70/0x70 [ 71.919792][ T97] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 71.926109][ T97] process_one_work+0x965/0x1690 [ 71.931118][ T97] ? lock_release+0x800/0x800 [ 71.936011][ T97] ? pwq_dec_nr_in_flight+0x310/0x310 [ 71.941507][ T97] ? rwlock_bug.part.0+0x90/0x90 [ 71.946528][ T97] worker_thread+0x96/0xe10 [ 71.951158][ T97] ? process_one_work+0x1690/0x1690 [ 71.956360][ T97] kthread+0x3b5/0x4a0 [ 71.960447][ T97] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 71.966166][ T97] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 71.971889][ T97] ret_from_fork+0x1f/0x30 [ 71.976320][ T97] [ 71.978641][ T97] Allocated by task 6805: [ 71.983085][ T97] save_stack+0x1b/0x40 [ 71.987253][ T97] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 71.992900][ T97] kmem_cache_alloc_trace+0x153/0x7d0 [ 71.998302][ T97] afs_alloc_call+0x55/0x630 [ 72.002901][ T97] afs_charge_preallocation+0xe9/0x2d0 [ 72.008363][ T97] afs_open_socket+0x292/0x360 [ 72.013302][ T97] afs_net_init+0xa6c/0xe30 [ 72.017802][ T97] ops_init+0xaf/0x420 [ 72.021884][ T97] setup_net+0x2de/0x860 [ 72.026217][ T97] copy_net_ns+0x293/0x590 [ 72.031264][ T97] create_new_namespaces+0x3fb/0xb30 [ 72.036916][ T97] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 72.042644][ T97] ksys_unshare+0x43d/0x8e0 [ 72.047169][ T97] __x64_sys_unshare+0x2d/0x40 [ 72.051951][ T97] do_syscall_64+0x60/0xe0 [ 72.056370][ T97] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 72.062261][ T97] [ 72.064717][ T97] Freed by task 97: [ 72.068885][ T97] save_stack+0x1b/0x40 [ 72.073230][ T97] __kasan_slab_free+0xf7/0x140 [ 72.078173][ T97] kfree+0x109/0x2b0 [ 72.082107][ T97] afs_put_call+0x585/0xa40 [ 72.086758][ T97] rxrpc_discard_prealloc+0x764/0xab0 [ 72.092511][ T97] rxrpc_listen+0x147/0x360 [ 72.097028][ T97] afs_close_socket+0x95/0x320 [ 72.102311][ T97] afs_net_exit+0x1bc/0x310 [ 72.106814][ T97] ops_exit_list.isra.0+0xa8/0x150 [ 72.111929][ T97] cleanup_net+0x511/0xa50 [ 72.116465][ T97] process_one_work+0x965/0x1690 [ 72.121680][ T97] worker_thread+0x96/0xe10 [ 72.126202][ T97] kthread+0x3b5/0x4a0 [ 72.130275][ T97] ret_from_fork+0x1f/0x30 [ 72.134686][ T97] [ 72.137020][ T97] The buggy address belongs to the object at ffff88809f5b9800 [ 72.137020][ T97] which belongs to the cache kmalloc-1k of size 1024 [ 72.151071][ T97] The buggy address is located 484 bytes inside of [ 72.151071][ T97] 1024-byte region [ffff88809f5b9800, ffff88809f5b9c00) [ 72.164503][ T97] The buggy address belongs to the page: [ 72.170136][ T97] page:ffffea00027d6e40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 72.179258][ T97] flags: 0xfffe0000000200(slab) [ 72.184116][ T97] raw: 00fffe0000000200 ffffea0002805148 ffffea00027cadc8 ffff8880aa000c40 [ 72.192703][ T97] raw: 0000000000000000 ffff88809f5b9000 0000000100000002 0000000000000000 [ 72.201284][ T97] page dumped because: kasan: bad access detected [ 72.208312][ T97] [ 72.210634][ T97] Memory state around the buggy address: [ 72.216276][ T97] ffff88809f5b9880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 72.224352][ T97] ffff88809f5b9900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 72.232471][ T97] >ffff88809f5b9980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 72.240556][ T97] ^ [ 72.248289][ T97] ffff88809f5b9a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 72.256379][ T97] ffff88809f5b9a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 72.264481][ T97] ================================================================== [ 72.272576][ T97] Disabling lock debugging due to kernel taint [ 72.278846][ T97] Kernel panic - not syncing: panic_on_warn set ... [ 72.285527][ T97] CPU: 0 PID: 97 Comm: kworker/u4:3 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 72.295163][ T97] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 72.305233][ T97] Workqueue: netns cleanup_net [ 72.310006][ T97] Call Trace: [ 72.313528][ T97] dump_stack+0x18f/0x20d [ 72.317965][ T97] ? afs_wake_up_async_call+0x670/0x770 [ 72.323845][ T97] ? afs_put_call+0xa40/0xa40 [ 72.328710][ T97] panic+0x2e3/0x75c [ 72.332620][ T97] ? __warn_printk+0xf3/0xf3 [ 72.337402][ T97] ? asm_common_interrupt+0x1e/0x40 [ 72.342697][ T97] ? trace_hardirqs_on+0x55/0x220 [ 72.348549][ T97] ? afs_wake_up_async_call+0x6aa/0x770 [ 72.354391][ T97] ? afs_wake_up_async_call+0x6aa/0x770 [ 72.360245][ T97] ? afs_put_call+0xa40/0xa40 [ 72.365193][ T97] end_report+0x4d/0x53 [ 72.369369][ T97] kasan_report.cold+0xd/0x37 [ 72.374046][ T97] ? rcu_read_lock_held_common+0x51/0xa0 [ 72.379687][ T97] ? afs_wake_up_async_call+0x6aa/0x770 [ 72.385364][ T97] afs_wake_up_async_call+0x6aa/0x770 [ 72.390752][ T97] ? afs_close_socket+0x320/0x320 [ 72.395788][ T97] ? afs_put_call+0xa40/0xa40 [ 72.400621][ T97] rxrpc_notify_socket+0x1db/0x5d0 [ 72.405720][ T97] ? afs_put_call+0xa40/0xa40 [ 72.410427][ T97] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 72.416846][ T97] rxrpc_call_completed+0xca/0xf0 [ 72.422236][ T97] rxrpc_discard_prealloc+0x781/0xab0 [ 72.427827][ T97] ? lock_sock_nested+0x94/0x110 [ 72.432978][ T97] rxrpc_listen+0x147/0x360 [ 72.437493][ T97] afs_close_socket+0x95/0x320 [ 72.442375][ T97] ? afs_purge_servers+0x16d/0x300 [ 72.447700][ T97] ? afs_rx_discard_new_call+0x50/0x50 [ 72.453171][ T97] ? init_wait_var_entry+0x200/0x200 [ 72.459730][ T97] ? rcu_read_lock_held_common+0xa0/0xa0 [ 72.466246][ T97] ? check_preemption_disabled+0x38/0x220 [ 72.471979][ T97] afs_net_exit+0x1bc/0x310 [ 72.476489][ T97] ? afs_net_init+0xe30/0xe30 [ 72.481329][ T97] ops_exit_list.isra.0+0xa8/0x150 [ 72.486453][ T97] cleanup_net+0x511/0xa50 [ 72.491115][ T97] ? unregister_pernet_device+0x70/0x70 [ 72.496678][ T97] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 72.503641][ T97] process_one_work+0x965/0x1690 [ 72.508773][ T97] ? lock_release+0x800/0x800 [ 72.513460][ T97] ? pwq_dec_nr_in_flight+0x310/0x310 [ 72.518913][ T97] ? rwlock_bug.part.0+0x90/0x90 [ 72.523961][ T97] worker_thread+0x96/0xe10 [ 72.528617][ T97] ? process_one_work+0x1690/0x1690 [ 72.533854][ T97] kthread+0x3b5/0x4a0 [ 72.538060][ T97] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 72.543779][ T97] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 72.549637][ T97] ret_from_fork+0x1f/0x30 [ 72.555593][ T97] Kernel Offset: disabled [ 72.560344][ T97] Rebooting in 86400 seconds..