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.0.110' (ECDSA) to the list of known hosts. 2020/06/13 07:01:01 fuzzer started 2020/06/13 07:01:02 connecting to host at 10.128.0.26:45045 2020/06/13 07:01:02 checking machine... 2020/06/13 07:01:02 checking revisions... 2020/06/13 07:01:02 testing simple program... syzkaller login: [ 56.434261][ T6836] IPVS: ftp: loaded support on port[0] = 21 2020/06/13 07:01:02 building call list... [ 56.785597][ T6779] tipc: TX() has been purged, node left! [ 57.337471][ T6779] ================================================================== [ 57.345694][ T6779] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 57.353580][ T6779] Write of size 1 at addr ffff8880940ca9e4 by task kworker/u4:7/6779 [ 57.361663][ T6779] [ 57.363991][ T6779] CPU: 0 PID: 6779 Comm: kworker/u4:7 Not tainted 5.7.0-next-20200613-syzkaller #0 [ 57.373258][ T6779] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.383318][ T6779] Workqueue: netns cleanup_net [ 57.388071][ T6779] Call Trace: [ 57.391360][ T6779] dump_stack+0x18f/0x20d [ 57.395689][ T6779] ? afs_wake_up_async_call+0x6aa/0x770 [ 57.401231][ T6779] ? afs_wake_up_async_call+0x6aa/0x770 [ 57.406769][ T6779] ? afs_put_call+0xa40/0xa40 [ 57.411457][ T6779] print_address_description.constprop.0.cold+0xd3/0x413 [ 57.418481][ T6779] ? vprintk_func+0x97/0x1a6 [ 57.423074][ T6779] ? afs_wake_up_async_call+0x6aa/0x770 [ 57.428615][ T6779] kasan_report.cold+0x1f/0x37 [ 57.433380][ T6779] ? rcu_read_lock_held_common+0x41/0xa0 [ 57.439007][ T6779] ? afs_wake_up_async_call+0x6aa/0x770 [ 57.444555][ T6779] afs_wake_up_async_call+0x6aa/0x770 [ 57.449924][ T6779] ? afs_close_socket+0x320/0x320 [ 57.454947][ T6779] ? afs_put_call+0xa40/0xa40 [ 57.459656][ T6779] rxrpc_notify_socket+0x1db/0x5d0 [ 57.464776][ T6779] ? afs_put_call+0xa40/0xa40 [ 57.469451][ T6779] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 57.475864][ T6779] rxrpc_call_completed+0xca/0xf0 [ 57.480889][ T6779] rxrpc_discard_prealloc+0x781/0xab0 [ 57.486280][ T6779] ? lock_sock_nested+0x94/0x110 [ 57.491241][ T6779] rxrpc_listen+0x147/0x360 [ 57.495836][ T6779] afs_close_socket+0x95/0x320 [ 57.500597][ T6779] ? afs_purge_servers+0x16d/0x300 [ 57.505712][ T6779] ? afs_rx_discard_new_call+0x50/0x50 [ 57.511173][ T6779] ? init_wait_var_entry+0x200/0x200 [ 57.516467][ T6779] ? rcu_read_lock_held_common+0xa0/0xa0 [ 57.522099][ T6779] ? check_preemption_disabled+0x38/0x220 [ 57.527821][ T6779] afs_net_exit+0x1bc/0x310 [ 57.532319][ T6779] ? afs_net_init+0xe30/0xe30 [ 57.536991][ T6779] ops_exit_list.isra.0+0xa8/0x150 [ 57.542103][ T6779] cleanup_net+0x511/0xa50 [ 57.546529][ T6779] ? unregister_pernet_device+0x70/0x70 [ 57.552096][ T6779] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 57.558102][ T6779] process_one_work+0x965/0x1690 [ 57.563070][ T6779] ? lock_release+0x800/0x800 [ 57.567770][ T6779] ? pwq_dec_nr_in_flight+0x310/0x310 [ 57.573153][ T6779] ? rwlock_bug.part.0+0x90/0x90 [ 57.578103][ T6779] worker_thread+0x96/0xe10 [ 57.582683][ T6779] ? process_one_work+0x1690/0x1690 [ 57.587898][ T6779] kthread+0x3b5/0x4a0 [ 57.592047][ T6779] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 57.597820][ T6779] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 57.603721][ T6779] ret_from_fork+0x1f/0x30 [ 57.608161][ T6779] [ 57.610506][ T6779] Allocated by task 6836: [ 57.614839][ T6779] save_stack+0x1b/0x40 [ 57.618992][ T6779] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 57.624625][ T6779] kmem_cache_alloc_trace+0x153/0x7d0 [ 57.629996][ T6779] afs_alloc_call+0x55/0x630 [ 57.634587][ T6779] afs_charge_preallocation+0xe9/0x2d0 [ 57.640043][ T6779] afs_open_socket+0x292/0x360 [ 57.644803][ T6779] afs_net_init+0xa6c/0xe30 [ 57.649300][ T6779] ops_init+0xaf/0x420 [ 57.653364][ T6779] setup_net+0x2de/0x860 [ 57.657604][ T6779] copy_net_ns+0x293/0x590 [ 57.662303][ T6779] create_new_namespaces+0x3fb/0xb30 [ 57.667587][ T6779] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 57.673214][ T6779] ksys_unshare+0x43d/0x8e0 [ 57.677717][ T6779] __x64_sys_unshare+0x2d/0x40 [ 57.682477][ T6779] do_syscall_64+0x60/0xe0 [ 57.686973][ T6779] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 57.692851][ T6779] [ 57.695171][ T6779] Freed by task 6779: [ 57.699150][ T6779] save_stack+0x1b/0x40 [ 57.703301][ T6779] __kasan_slab_free+0xf7/0x140 [ 57.708172][ T6779] kfree+0x109/0x2b0 [ 57.712063][ T6779] afs_put_call+0x585/0xa40 [ 57.716561][ T6779] rxrpc_discard_prealloc+0x764/0xab0 [ 57.721926][ T6779] rxrpc_listen+0x147/0x360 [ 57.726430][ T6779] afs_close_socket+0x95/0x320 [ 57.731188][ T6779] afs_net_exit+0x1bc/0x310 [ 57.735688][ T6779] ops_exit_list.isra.0+0xa8/0x150 [ 57.740820][ T6779] cleanup_net+0x511/0xa50 [ 57.745240][ T6779] process_one_work+0x965/0x1690 [ 57.750175][ T6779] worker_thread+0x96/0xe10 [ 57.754672][ T6779] kthread+0x3b5/0x4a0 [ 57.758739][ T6779] ret_from_fork+0x1f/0x30 [ 57.763140][ T6779] [ 57.765464][ T6779] The buggy address belongs to the object at ffff8880940ca800 [ 57.765464][ T6779] which belongs to the cache kmalloc-1k of size 1024 [ 57.779512][ T6779] The buggy address is located 484 bytes inside of [ 57.779512][ T6779] 1024-byte region [ffff8880940ca800, ffff8880940cac00) [ 57.792869][ T6779] The buggy address belongs to the page: [ 57.798533][ T6779] page:ffffea0002503280 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 57.807636][ T6779] flags: 0xfffe0000000200(slab) [ 57.812537][ T6779] raw: 00fffe0000000200 ffffea0002507e08 ffffea00029a7988 ffff8880aa000c40 [ 57.821150][ T6779] raw: 0000000000000000 ffff8880940ca000 0000000100000002 0000000000000000 [ 57.829725][ T6779] page dumped because: kasan: bad access detected [ 57.836124][ T6779] [ 57.838444][ T6779] Memory state around the buggy address: [ 57.844071][ T6779] ffff8880940ca880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.852130][ T6779] ffff8880940ca900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.860188][ T6779] >ffff8880940ca980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.868254][ T6779] ^ [ 57.875445][ T6779] ffff8880940caa00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.883511][ T6779] ffff8880940caa80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.891563][ T6779] ================================================================== [ 57.899612][ T6779] Disabling lock debugging due to kernel taint [ 57.905797][ T6779] Kernel panic - not syncing: panic_on_warn set ... [ 57.912389][ T6779] CPU: 0 PID: 6779 Comm: kworker/u4:7 Tainted: G B 5.7.0-next-20200613-syzkaller #0 [ 57.923043][ T6779] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.933098][ T6779] Workqueue: netns cleanup_net [ 57.937846][ T6779] Call Trace: [ 57.941133][ T6779] dump_stack+0x18f/0x20d [ 57.945458][ T6779] ? afs_wake_up_async_call+0x6a0/0x770 [ 57.951086][ T6779] ? afs_put_call+0xa40/0xa40 [ 57.955752][ T6779] panic+0x2e3/0x75c [ 57.959641][ T6779] ? __warn_printk+0xf3/0xf3 [ 57.964223][ T6779] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 57.970372][ T6779] ? trace_hardirqs_on+0x55/0x220 [ 57.975391][ T6779] ? afs_wake_up_async_call+0x6aa/0x770 [ 57.980926][ T6779] ? afs_wake_up_async_call+0x6aa/0x770 [ 57.986460][ T6779] ? afs_put_call+0xa40/0xa40 [ 57.991161][ T6779] end_report+0x4d/0x53 [ 57.995312][ T6779] kasan_report.cold+0xd/0x37 [ 57.999982][ T6779] ? rcu_read_lock_held_common+0x41/0xa0 [ 58.005603][ T6779] ? afs_wake_up_async_call+0x6aa/0x770 [ 58.011149][ T6779] afs_wake_up_async_call+0x6aa/0x770 [ 58.016527][ T6779] ? afs_close_socket+0x320/0x320 [ 58.021549][ T6779] ? afs_put_call+0xa40/0xa40 [ 58.026225][ T6779] rxrpc_notify_socket+0x1db/0x5d0 [ 58.031332][ T6779] ? afs_put_call+0xa40/0xa40 [ 58.036001][ T6779] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 58.042409][ T6779] rxrpc_call_completed+0xca/0xf0 [ 58.047434][ T6779] rxrpc_discard_prealloc+0x781/0xab0 [ 58.052803][ T6779] ? lock_sock_nested+0x94/0x110 [ 58.057730][ T6779] rxrpc_listen+0x147/0x360 [ 58.062231][ T6779] afs_close_socket+0x95/0x320 [ 58.066985][ T6779] ? afs_purge_servers+0x16d/0x300 [ 58.072093][ T6779] ? afs_rx_discard_new_call+0x50/0x50 [ 58.077546][ T6779] ? init_wait_var_entry+0x200/0x200 [ 58.082824][ T6779] ? rcu_read_lock_held_common+0xa0/0xa0 [ 58.088456][ T6779] ? check_preemption_disabled+0x38/0x220 [ 58.094176][ T6779] afs_net_exit+0x1bc/0x310 [ 58.098676][ T6779] ? afs_net_init+0xe30/0xe30 [ 58.103347][ T6779] ops_exit_list.isra.0+0xa8/0x150 [ 58.108454][ T6779] cleanup_net+0x511/0xa50 [ 58.112870][ T6779] ? unregister_pernet_device+0x70/0x70 [ 58.118416][ T6779] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 58.124399][ T6779] process_one_work+0x965/0x1690 [ 58.129430][ T6779] ? lock_release+0x800/0x800 [ 58.134112][ T6779] ? pwq_dec_nr_in_flight+0x310/0x310 [ 58.139495][ T6779] ? rwlock_bug.part.0+0x90/0x90 [ 58.144444][ T6779] worker_thread+0x96/0xe10 [ 58.148958][ T6779] ? process_one_work+0x1690/0x1690 [ 58.154170][ T6779] kthread+0x3b5/0x4a0 [ 58.158244][ T6779] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 58.164255][ T6779] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 58.169974][ T6779] ret_from_fork+0x1f/0x30 [ 58.176060][ T6779] Kernel Offset: disabled [ 58.180430][ T6779] Rebooting in 86400 seconds..