Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.176' (ECDSA) to the list of known hosts. 2020/06/19 02:20:20 fuzzer started 2020/06/19 02:20:20 connecting to host at 10.128.0.26:36945 2020/06/19 02:20:20 checking machine... 2020/06/19 02:20:20 checking revisions... 2020/06/19 02:20:20 testing simple program... syzkaller login: [ 63.258606][ T6835] IPVS: ftp: loaded support on port[0] = 21 2020/06/19 02:20:20 building call list... [ 63.632222][ T7] tipc: TX() has been purged, node left! [ 64.154461][ T7] ================================================================== [ 64.162708][ T7] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 64.170866][ T7] Write of size 1 at addr ffff88809e8559e4 by task kworker/u4:0/7 [ 64.178765][ T7] [ 64.182064][ T7] CPU: 1 PID: 7 Comm: kworker/u4:0 Not tainted 5.8.0-rc1-syzkaller #0 [ 64.190217][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 64.200741][ T7] Workqueue: netns cleanup_net [ 64.205498][ T7] Call Trace: [ 64.208842][ T7] dump_stack+0x18f/0x20d [ 64.213265][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.218808][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.224348][ T7] ? afs_put_call+0xa40/0xa40 [ 64.229028][ T7] print_address_description.constprop.0.cold+0xd3/0x413 [ 64.236341][ T7] ? vprintk_func+0x97/0x1a6 [ 64.240936][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.246483][ T7] kasan_report.cold+0x1f/0x37 [ 64.252056][ T7] ? rcu_read_lock_held_common+0x51/0xa0 [ 64.257789][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.263527][ T7] afs_wake_up_async_call+0x6aa/0x770 [ 64.268964][ T7] ? afs_close_socket+0x320/0x320 [ 64.274000][ T7] ? afs_put_call+0xa40/0xa40 [ 64.278712][ T7] rxrpc_notify_socket+0x1db/0x5d0 [ 64.286874][ T7] ? afs_put_call+0xa40/0xa40 [ 64.291557][ T7] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 64.298213][ T7] rxrpc_call_completed+0xca/0xf0 [ 64.303251][ T7] rxrpc_discard_prealloc+0x781/0xab0 [ 64.308654][ T7] ? lock_sock_nested+0x94/0x110 [ 64.313871][ T7] rxrpc_listen+0x147/0x360 [ 64.318389][ T7] afs_close_socket+0x95/0x320 [ 64.323166][ T7] ? afs_purge_servers+0x16d/0x300 [ 64.328287][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 64.333757][ T7] ? init_wait_var_entry+0x200/0x200 [ 64.339154][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 64.344884][ T7] ? check_preemption_disabled+0x38/0x220 [ 64.350709][ T7] afs_net_exit+0x1bc/0x310 [ 64.355218][ T7] ? afs_net_init+0xe30/0xe30 [ 64.360248][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 64.365377][ T7] cleanup_net+0x511/0xa50 [ 64.370266][ T7] ? unregister_pernet_device+0x70/0x70 [ 64.375844][ T7] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 64.381842][ T7] process_one_work+0x965/0x1690 [ 64.387150][ T7] ? lock_release+0x800/0x800 [ 64.392020][ T7] ? pwq_dec_nr_in_flight+0x310/0x310 [ 64.397403][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 64.402366][ T7] worker_thread+0x96/0xe10 [ 64.406939][ T7] ? process_one_work+0x1690/0x1690 [ 64.412238][ T7] kthread+0x3b5/0x4a0 [ 64.416318][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 64.422133][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 64.427874][ T7] ret_from_fork+0x1f/0x30 [ 64.432397][ T7] [ 64.434725][ T7] Allocated by task 6835: [ 64.439071][ T7] save_stack+0x1b/0x40 [ 64.443846][ T7] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 64.449486][ T7] kmem_cache_alloc_trace+0x153/0x7d0 [ 64.454947][ T7] afs_alloc_call+0x55/0x630 [ 64.459630][ T7] afs_charge_preallocation+0xe9/0x2d0 [ 64.465828][ T7] afs_open_socket+0x292/0x360 [ 64.470778][ T7] afs_net_init+0xa6c/0xe30 [ 64.475630][ T7] ops_init+0xaf/0x420 [ 64.479699][ T7] setup_net+0x2de/0x860 [ 64.483940][ T7] copy_net_ns+0x293/0x590 [ 64.488360][ T7] create_new_namespaces+0x3fb/0xb30 [ 64.493645][ T7] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 64.499280][ T7] ksys_unshare+0x43d/0x8e0 [ 64.503786][ T7] __x64_sys_unshare+0x2d/0x40 [ 64.508642][ T7] do_syscall_64+0x60/0xe0 [ 64.513066][ T7] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 64.518950][ T7] [ 64.521282][ T7] Freed by task 7: [ 64.525004][ T7] save_stack+0x1b/0x40 [ 64.529169][ T7] __kasan_slab_free+0xf7/0x140 [ 64.534026][ T7] kfree+0x109/0x2b0 [ 64.538458][ T7] afs_put_call+0x585/0xa40 [ 64.542984][ T7] rxrpc_discard_prealloc+0x764/0xab0 [ 64.549359][ T7] rxrpc_listen+0x147/0x360 [ 64.553888][ T7] afs_close_socket+0x95/0x320 [ 64.558660][ T7] afs_net_exit+0x1bc/0x310 [ 64.563164][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 64.568275][ T7] cleanup_net+0x511/0xa50 [ 64.572694][ T7] process_one_work+0x965/0x1690 [ 64.577637][ T7] worker_thread+0x96/0xe10 [ 64.582323][ T7] kthread+0x3b5/0x4a0 [ 64.586543][ T7] ret_from_fork+0x1f/0x30 [ 64.591297][ T7] [ 64.593713][ T7] The buggy address belongs to the object at ffff88809e855800 [ 64.593713][ T7] which belongs to the cache kmalloc-1k of size 1024 [ 64.607855][ T7] The buggy address is located 484 bytes inside of [ 64.607855][ T7] 1024-byte region [ffff88809e855800, ffff88809e855c00) [ 64.621201][ T7] The buggy address belongs to the page: [ 64.626925][ T7] page:ffffea00027a1540 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 64.636077][ T7] flags: 0xfffe0000000200(slab) [ 64.641017][ T7] raw: 00fffe0000000200 ffffea00025c4648 ffffea0002892bc8 ffff8880aa000c40 [ 64.649603][ T7] raw: 0000000000000000 ffff88809e855000 0000000100000002 0000000000000000 [ 64.658179][ T7] page dumped because: kasan: bad access detected [ 64.664678][ T7] [ 64.666997][ T7] Memory state around the buggy address: [ 64.672623][ T7] ffff88809e855880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.680681][ T7] ffff88809e855900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.688826][ T7] >ffff88809e855980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.697222][ T7] ^ [ 64.704421][ T7] ffff88809e855a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.712572][ T7] ffff88809e855a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 64.720654][ T7] ================================================================== [ 64.728708][ T7] Disabling lock debugging due to kernel taint [ 64.734941][ T7] Kernel panic - not syncing: panic_on_warn set ... [ 64.741537][ T7] CPU: 1 PID: 7 Comm: kworker/u4:0 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 64.751079][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 64.761323][ T7] Workqueue: netns cleanup_net [ 64.766176][ T7] Call Trace: [ 64.769739][ T7] dump_stack+0x18f/0x20d [ 64.774170][ T7] ? afs_wake_up_async_call+0x680/0x770 [ 64.779718][ T7] ? afs_put_call+0xa40/0xa40 [ 64.784396][ T7] panic+0x2e3/0x75c [ 64.788306][ T7] ? __warn_printk+0xf3/0xf3 [ 64.792899][ T7] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 64.799489][ T7] ? trace_hardirqs_on+0x55/0x220 [ 64.804544][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.810088][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.815620][ T7] ? afs_put_call+0xa40/0xa40 [ 64.820483][ T7] end_report+0x4d/0x53 [ 64.825365][ T7] kasan_report.cold+0xd/0x37 [ 64.830036][ T7] ? rcu_read_lock_held_common+0x51/0xa0 [ 64.835741][ T7] ? afs_wake_up_async_call+0x6aa/0x770 [ 64.841286][ T7] afs_wake_up_async_call+0x6aa/0x770 [ 64.846674][ T7] ? afs_close_socket+0x320/0x320 [ 64.851702][ T7] ? afs_put_call+0xa40/0xa40 [ 64.856465][ T7] rxrpc_notify_socket+0x1db/0x5d0 [ 64.861575][ T7] ? afs_put_call+0xa40/0xa40 [ 64.866368][ T7] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 64.873829][ T7] rxrpc_call_completed+0xca/0xf0 [ 64.879034][ T7] rxrpc_discard_prealloc+0x781/0xab0 [ 64.884578][ T7] ? lock_sock_nested+0x94/0x110 [ 64.889515][ T7] rxrpc_listen+0x147/0x360 [ 64.894009][ T7] afs_close_socket+0x95/0x320 [ 64.898773][ T7] ? afs_purge_servers+0x16d/0x300 [ 64.905543][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 64.913160][ T7] ? init_wait_var_entry+0x200/0x200 [ 64.919624][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 64.926412][ T7] ? check_preemption_disabled+0x38/0x220 [ 64.932540][ T7] afs_net_exit+0x1bc/0x310 [ 64.937132][ T7] ? afs_net_init+0xe30/0xe30 [ 64.942597][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 64.948321][ T7] cleanup_net+0x511/0xa50 [ 64.952932][ T7] ? unregister_pernet_device+0x70/0x70 [ 64.958500][ T7] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 64.964508][ T7] process_one_work+0x965/0x1690 [ 64.969552][ T7] ? lock_release+0x800/0x800 [ 64.974224][ T7] ? pwq_dec_nr_in_flight+0x310/0x310 [ 64.979613][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 64.984754][ T7] worker_thread+0x96/0xe10 [ 64.989659][ T7] ? process_one_work+0x1690/0x1690 [ 64.994855][ T7] kthread+0x3b5/0x4a0 [ 64.998979][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.005766][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 65.011985][ T7] ret_from_fork+0x1f/0x30 [ 65.019123][ T7] Kernel Offset: disabled [ 65.023618][ T7] Rebooting in 86400 seconds..