Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.45' (ECDSA) to the list of known hosts. 2020/06/19 07:26:54 fuzzer started 2020/06/19 07:26:55 connecting to host at 10.128.0.26:38959 2020/06/19 07:26:55 checking machine... 2020/06/19 07:26:55 checking revisions... 2020/06/19 07:26:55 testing simple program... syzkaller login: [ 67.811326][ T6822] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 07:26:55 building call list... [ 68.143061][ T83] tipc: TX() has been purged, node left! [ 68.675949][ T83] ================================================================== [ 68.684679][ T83] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 68.692668][ T83] Write of size 1 at addr ffff8880a6ee89e4 by task kworker/u4:3/83 [ 68.700828][ T83] [ 68.703166][ T83] CPU: 1 PID: 83 Comm: kworker/u4:3 Not tainted 5.8.0-rc1-syzkaller #0 [ 68.712180][ T83] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 68.722246][ T83] Workqueue: netns cleanup_net [ 68.727005][ T83] Call Trace: [ 68.730412][ T83] dump_stack+0x18f/0x20d [ 68.734760][ T83] ? afs_wake_up_async_call+0x6aa/0x770 [ 68.740303][ T83] ? afs_wake_up_async_call+0x6aa/0x770 [ 68.746974][ T83] ? afs_put_call+0xa40/0xa40 [ 68.751657][ T83] print_address_description.constprop.0.cold+0xd3/0x413 [ 68.758775][ T83] ? vprintk_func+0x97/0x1a6 [ 68.763387][ T83] ? afs_wake_up_async_call+0x6aa/0x770 [ 68.769020][ T83] kasan_report.cold+0x1f/0x37 [ 68.773820][ T83] ? rcu_read_lock_held_common+0x51/0xa0 [ 68.779491][ T83] ? afs_wake_up_async_call+0x6aa/0x770 [ 68.785049][ T83] afs_wake_up_async_call+0x6aa/0x770 [ 68.790453][ T83] ? afs_close_socket+0x320/0x320 [ 68.795519][ T83] ? afs_put_call+0xa40/0xa40 [ 68.800215][ T83] rxrpc_notify_socket+0x1db/0x5d0 [ 68.805343][ T83] ? afs_put_call+0xa40/0xa40 [ 68.810024][ T83] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 68.816465][ T83] rxrpc_call_completed+0xca/0xf0 [ 68.821499][ T83] rxrpc_discard_prealloc+0x781/0xab0 [ 68.826915][ T83] ? lock_sock_nested+0x94/0x110 [ 68.831889][ T83] rxrpc_listen+0x147/0x360 [ 68.836414][ T83] afs_close_socket+0x95/0x320 [ 68.841190][ T83] ? afs_purge_servers+0x16d/0x300 [ 68.846357][ T83] ? afs_rx_discard_new_call+0x50/0x50 [ 68.851832][ T83] ? init_wait_var_entry+0x200/0x200 [ 68.857648][ T83] ? rcu_read_lock_held_common+0xa0/0xa0 [ 68.863294][ T83] ? check_preemption_disabled+0x38/0x220 [ 68.869202][ T83] afs_net_exit+0x1bc/0x310 [ 68.873710][ T83] ? afs_net_init+0xe30/0xe30 [ 68.878386][ T83] ops_exit_list.isra.0+0xa8/0x150 [ 68.883525][ T83] cleanup_net+0x511/0xa50 [ 68.887963][ T83] ? unregister_pernet_device+0x70/0x70 [ 68.893521][ T83] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 68.899883][ T83] process_one_work+0x965/0x1690 [ 68.904836][ T83] ? lock_release+0x800/0x800 [ 68.909519][ T83] ? pwq_dec_nr_in_flight+0x310/0x310 [ 68.914896][ T83] ? rwlock_bug.part.0+0x90/0x90 [ 68.919868][ T83] worker_thread+0x96/0xe10 [ 68.925359][ T83] ? process_one_work+0x1690/0x1690 [ 68.930565][ T83] kthread+0x3b5/0x4a0 [ 68.934635][ T83] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 68.940350][ T83] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 68.946695][ T83] ret_from_fork+0x1f/0x30 [ 68.951125][ T83] [ 68.954145][ T83] Allocated by task 6822: [ 68.958505][ T83] save_stack+0x1b/0x40 [ 68.962676][ T83] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 68.968313][ T83] kmem_cache_alloc_trace+0x153/0x7d0 [ 68.973832][ T83] afs_alloc_call+0x55/0x630 [ 68.978426][ T83] afs_charge_preallocation+0xe9/0x2d0 [ 68.983900][ T83] afs_open_socket+0x292/0x360 [ 68.992855][ T83] afs_net_init+0xa6c/0xe30 [ 68.997363][ T83] ops_init+0xaf/0x420 [ 69.001451][ T83] setup_net+0x2de/0x860 [ 69.005700][ T83] copy_net_ns+0x293/0x590 [ 69.010117][ T83] create_new_namespaces+0x3fb/0xb30 [ 69.015426][ T83] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 69.021148][ T83] ksys_unshare+0x43d/0x8e0 [ 69.025766][ T83] __x64_sys_unshare+0x2d/0x40 [ 69.030566][ T83] do_syscall_64+0x60/0xe0 [ 69.035080][ T83] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 69.040965][ T83] [ 69.043329][ T83] Freed by task 83: [ 69.047138][ T83] save_stack+0x1b/0x40 [ 69.051411][ T83] __kasan_slab_free+0xf7/0x140 [ 69.056260][ T83] kfree+0x109/0x2b0 [ 69.060161][ T83] afs_put_call+0x585/0xa40 [ 69.064740][ T83] rxrpc_discard_prealloc+0x764/0xab0 [ 69.070161][ T83] rxrpc_listen+0x147/0x360 [ 69.074793][ T83] afs_close_socket+0x95/0x320 [ 69.079585][ T83] afs_net_exit+0x1bc/0x310 [ 69.084127][ T83] ops_exit_list.isra.0+0xa8/0x150 [ 69.089238][ T83] cleanup_net+0x511/0xa50 [ 69.093841][ T83] process_one_work+0x965/0x1690 [ 69.098778][ T83] worker_thread+0x96/0xe10 [ 69.104068][ T83] kthread+0x3b5/0x4a0 [ 69.108176][ T83] ret_from_fork+0x1f/0x30 [ 69.112612][ T83] [ 69.114970][ T83] The buggy address belongs to the object at ffff8880a6ee8800 [ 69.114970][ T83] which belongs to the cache kmalloc-1k of size 1024 [ 69.129040][ T83] The buggy address is located 484 bytes inside of [ 69.129040][ T83] 1024-byte region [ffff8880a6ee8800, ffff8880a6ee8c00) [ 69.142410][ T83] The buggy address belongs to the page: [ 69.148150][ T83] page:ffffea00029bba00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 69.157286][ T83] flags: 0xfffe0000000200(slab) [ 69.162174][ T83] raw: 00fffe0000000200 ffffea000280dc48 ffffea0002a4c508 ffff8880aa000c40 [ 69.170766][ T83] raw: 0000000000000000 ffff8880a6ee8000 0000000100000002 0000000000000000 [ 69.179356][ T83] page dumped because: kasan: bad access detected [ 69.185768][ T83] [ 69.188095][ T83] Memory state around the buggy address: [ 69.193734][ T83] ffff8880a6ee8880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 69.201796][ T83] ffff8880a6ee8900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 69.210664][ T83] >ffff8880a6ee8980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 69.218729][ T83] ^ [ 69.225924][ T83] ffff8880a6ee8a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 69.234093][ T83] ffff8880a6ee8a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 69.242257][ T83] ================================================================== [ 69.250318][ T83] Disabling lock debugging due to kernel taint [ 69.256514][ T83] Kernel panic - not syncing: panic_on_warn set ... [ 69.263128][ T83] CPU: 1 PID: 83 Comm: kworker/u4:3 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 69.272762][ T83] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 69.283263][ T83] Workqueue: netns cleanup_net [ 69.288023][ T83] Call Trace: [ 69.291323][ T83] dump_stack+0x18f/0x20d [ 69.295673][ T83] ? afs_wake_up_async_call+0x680/0x770 [ 69.301224][ T83] ? afs_put_call+0xa40/0xa40 [ 69.305905][ T83] panic+0x2e3/0x75c [ 69.309885][ T83] ? __warn_printk+0xf3/0xf3 [ 69.314487][ T83] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 69.321190][ T83] ? trace_hardirqs_on+0x55/0x220 [ 69.326234][ T83] ? afs_wake_up_async_call+0x6aa/0x770 [ 69.331789][ T83] ? afs_wake_up_async_call+0x6aa/0x770 [ 69.337432][ T83] ? afs_put_call+0xa40/0xa40 [ 69.342112][ T83] end_report+0x4d/0x53 [ 69.346403][ T83] kasan_report.cold+0xd/0x37 [ 69.351098][ T83] ? rcu_read_lock_held_common+0x51/0xa0 [ 69.356927][ T83] ? afs_wake_up_async_call+0x6aa/0x770 [ 69.362498][ T83] afs_wake_up_async_call+0x6aa/0x770 [ 69.367900][ T83] ? afs_close_socket+0x320/0x320 [ 69.372956][ T83] ? afs_put_call+0xa40/0xa40 [ 69.377725][ T83] rxrpc_notify_socket+0x1db/0x5d0 [ 69.382842][ T83] ? afs_put_call+0xa40/0xa40 [ 69.387535][ T83] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 69.393967][ T83] rxrpc_call_completed+0xca/0xf0 [ 69.399097][ T83] rxrpc_discard_prealloc+0x781/0xab0 [ 69.404515][ T83] ? lock_sock_nested+0x94/0x110 [ 69.409464][ T83] rxrpc_listen+0x147/0x360 [ 69.413973][ T83] afs_close_socket+0x95/0x320 [ 69.418739][ T83] ? afs_purge_servers+0x16d/0x300 [ 69.424043][ T83] ? afs_rx_discard_new_call+0x50/0x50 [ 69.430311][ T83] ? init_wait_var_entry+0x200/0x200 [ 69.435601][ T83] ? rcu_read_lock_held_common+0xa0/0xa0 [ 69.441314][ T83] ? check_preemption_disabled+0x38/0x220 [ 69.447137][ T83] afs_net_exit+0x1bc/0x310 [ 69.451651][ T83] ? afs_net_init+0xe30/0xe30 [ 69.456327][ T83] ops_exit_list.isra.0+0xa8/0x150 [ 69.461438][ T83] cleanup_net+0x511/0xa50 [ 69.466122][ T83] ? unregister_pernet_device+0x70/0x70 [ 69.471757][ T83] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 69.477742][ T83] process_one_work+0x965/0x1690 [ 69.482690][ T83] ? lock_release+0x800/0x800 [ 69.487370][ T83] ? pwq_dec_nr_in_flight+0x310/0x310 [ 69.492747][ T83] ? rwlock_bug.part.0+0x90/0x90 [ 69.497700][ T83] worker_thread+0x96/0xe10 [ 69.502217][ T83] ? process_one_work+0x1690/0x1690 [ 69.507418][ T83] kthread+0x3b5/0x4a0 [ 69.511496][ T83] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 69.517379][ T83] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 69.523189][ T83] ret_from_fork+0x1f/0x30 [ 69.529116][ T83] Kernel Offset: disabled [ 69.533456][ T83] Rebooting in 86400 seconds..