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.54' (ECDSA) to the list of known hosts. 2020/06/28 13:52:14 fuzzer started 2020/06/28 13:52:15 connecting to host at 10.128.0.26:45343 2020/06/28 13:52:15 checking machine... 2020/06/28 13:52:15 checking revisions... 2020/06/28 13:52:15 testing simple program... syzkaller login: [ 59.186324][ T6821] IPVS: ftp: loaded support on port[0] = 21 2020/06/28 13:52:15 building call list... [ 59.537178][ T7] tipc: TX() has been purged, node left! [ 60.059284][ T7] ================================================================== [ 60.067499][ T7] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x430/0x4a0 [ 60.075385][ T7] Write of size 1 at addr ffff88809713d9e4 by task kworker/u4:0/7 [ 60.083260][ T7] [ 60.085590][ T7] CPU: 0 PID: 7 Comm: kworker/u4:0 Not tainted 5.8.0-rc1-syzkaller #0 [ 60.093848][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.103915][ T7] Workqueue: netns cleanup_net [ 60.108670][ T7] Call Trace: [ 60.111962][ T7] dump_stack+0x18f/0x20d [ 60.116295][ T7] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.121835][ T7] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.127373][ T7] ? afs_put_call+0x440/0x440 [ 60.132048][ T7] print_address_description.constprop.0.cold+0xae/0x436 [ 60.139092][ T7] ? vprintk_func+0x97/0x1a6 [ 60.143690][ T7] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.149234][ T7] kasan_report.cold+0x1f/0x37 [ 60.154000][ T7] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.159550][ T7] afs_wake_up_async_call+0x430/0x4a0 [ 60.164916][ T7] ? afs_close_socket+0x320/0x320 [ 60.169948][ T7] rxrpc_notify_socket+0x1db/0x5d0 [ 60.175059][ T7] ? afs_put_call+0x440/0x440 [ 60.179732][ T7] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 60.186144][ T7] rxrpc_call_completed+0xd0/0xf0 [ 60.191168][ T7] rxrpc_discard_prealloc+0x777/0xab0 [ 60.196580][ T7] ? lock_sock_nested+0x94/0x110 [ 60.201518][ T7] rxrpc_listen+0x11c/0x330 [ 60.206028][ T7] afs_close_socket+0x95/0x320 [ 60.210788][ T7] ? afs_purge_servers+0x16d/0x300 [ 60.215905][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 60.221363][ T7] ? init_wait_var_entry+0x200/0x200 [ 60.226662][ T7] ? check_preemption_disabled+0x38/0x220 [ 60.232382][ T7] afs_net_exit+0x1bc/0x310 [ 60.236878][ T7] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 60.242509][ T7] ops_exit_list+0xb0/0x160 [ 60.247017][ T7] cleanup_net+0x4ea/0xa00 [ 60.251428][ T7] ? __schedule+0x887/0x1eb0 [ 60.256019][ T7] ? ops_free_list.part.0+0x3d0/0x3d0 [ 60.261391][ T7] ? check_preemption_disabled+0x38/0x220 [ 60.267115][ T7] process_one_work+0x94c/0x1670 [ 60.272062][ T7] ? lock_release+0x8d0/0x8d0 [ 60.276736][ T7] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 60.282115][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 60.287061][ T7] worker_thread+0x64c/0x1120 [ 60.291750][ T7] ? process_one_work+0x1670/0x1670 [ 60.297556][ T7] kthread+0x3b5/0x4a0 [ 60.301617][ T7] ? __kthread_bind_mask+0xc0/0xc0 [ 60.306725][ T7] ? __kthread_bind_mask+0xc0/0xc0 [ 60.311835][ T7] ret_from_fork+0x1f/0x30 [ 60.316258][ T7] [ 60.318581][ T7] Allocated by task 6821: [ 60.322905][ T7] save_stack+0x1b/0x40 [ 60.327056][ T7] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 60.332688][ T7] kmem_cache_alloc_trace+0x14f/0x2d0 [ 60.338055][ T7] afs_alloc_call+0x4f/0x360 [ 60.342638][ T7] afs_charge_preallocation+0xe9/0x2d0 [ 60.348089][ T7] afs_open_socket+0x294/0x360 [ 60.352845][ T7] afs_net_init+0xa6c/0xe30 [ 60.357344][ T7] ops_init+0xaf/0x470 [ 60.361403][ T7] setup_net+0x2d8/0x850 [ 60.365637][ T7] copy_net_ns+0x2cf/0x5e0 [ 60.370049][ T7] create_new_namespaces+0x3f6/0xb10 [ 60.375330][ T7] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 60.380955][ T7] ksys_unshare+0x36c/0x9a0 [ 60.385449][ T7] __x64_sys_unshare+0x2d/0x40 [ 60.390206][ T7] do_syscall_64+0x60/0xe0 [ 60.394618][ T7] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 60.400492][ T7] [ 60.402816][ T7] Freed by task 7: [ 60.406536][ T7] save_stack+0x1b/0x40 [ 60.410696][ T7] __kasan_slab_free+0xf5/0x140 [ 60.415552][ T7] kfree+0x103/0x2c0 [ 60.419456][ T7] afs_put_call+0x345/0x440 [ 60.423968][ T7] rxrpc_discard_prealloc+0x75a/0xab0 [ 60.429358][ T7] rxrpc_listen+0x11c/0x330 [ 60.433873][ T7] afs_close_socket+0x95/0x320 [ 60.438636][ T7] afs_net_exit+0x1bc/0x310 [ 60.443142][ T7] ops_exit_list+0xb0/0x160 [ 60.447634][ T7] cleanup_net+0x4ea/0xa00 [ 60.452045][ T7] process_one_work+0x94c/0x1670 [ 60.457097][ T7] worker_thread+0x64c/0x1120 [ 60.461757][ T7] kthread+0x3b5/0x4a0 [ 60.465871][ T7] ret_from_fork+0x1f/0x30 [ 60.470280][ T7] [ 60.472603][ T7] The buggy address belongs to the object at ffff88809713d800 [ 60.472603][ T7] which belongs to the cache kmalloc-1k of size 1024 [ 60.486734][ T7] The buggy address is located 484 bytes inside of [ 60.486734][ T7] 1024-byte region [ffff88809713d800, ffff88809713dc00) [ 60.500064][ T7] The buggy address belongs to the page: [ 60.505690][ T7] page:ffffea00025c4f40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 60.514788][ T7] flags: 0xfffe0000000200(slab) [ 60.519636][ T7] raw: 00fffe0000000200 ffffea0002913a08 ffffea000287b608 ffff8880aa000c40 [ 60.528218][ T7] raw: 0000000000000000 ffff88809713d000 0000000100000002 0000000000000000 [ 60.536879][ T7] page dumped because: kasan: bad access detected [ 60.543279][ T7] [ 60.545590][ T7] Memory state around the buggy address: [ 60.551202][ T7] ffff88809713d880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.559242][ T7] ffff88809713d900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.567296][ T7] >ffff88809713d980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.575341][ T7] ^ [ 60.582532][ T7] ffff88809713da00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.590576][ T7] ffff88809713da80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.598620][ T7] ================================================================== [ 60.606666][ T7] Disabling lock debugging due to kernel taint [ 60.612853][ T7] Kernel panic - not syncing: panic_on_warn set ... [ 60.619464][ T7] CPU: 0 PID: 7 Comm: kworker/u4:0 Tainted: G B 5.8.0-rc1-syzkaller #0 [ 60.629002][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.639063][ T7] Workqueue: netns cleanup_net [ 60.643816][ T7] Call Trace: [ 60.647105][ T7] dump_stack+0x18f/0x20d [ 60.651434][ T7] ? afs_wake_up_async_call+0x400/0x4a0 [ 60.656960][ T7] ? afs_put_call+0x440/0x440 [ 60.661621][ T7] panic+0x2e3/0x75c [ 60.665494][ T7] ? __warn_printk+0xf3/0xf3 [ 60.670409][ T7] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.675955][ T7] ? trace_hardirqs_on+0x55/0x220 [ 60.680964][ T7] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.686617][ T7] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.692146][ T7] ? afs_put_call+0x440/0x440 [ 60.696807][ T7] end_report+0x4d/0x53 [ 60.701089][ T7] kasan_report.cold+0xd/0x37 [ 60.705750][ T7] ? afs_wake_up_async_call+0x430/0x4a0 [ 60.711277][ T7] afs_wake_up_async_call+0x430/0x4a0 [ 60.716632][ T7] ? afs_close_socket+0x320/0x320 [ 60.721641][ T7] rxrpc_notify_socket+0x1db/0x5d0 [ 60.726730][ T7] ? afs_put_call+0x440/0x440 [ 60.731388][ T7] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 60.737787][ T7] rxrpc_call_completed+0xd0/0xf0 [ 60.742802][ T7] rxrpc_discard_prealloc+0x777/0xab0 [ 60.748154][ T7] ? lock_sock_nested+0x94/0x110 [ 60.753111][ T7] rxrpc_listen+0x11c/0x330 [ 60.757612][ T7] afs_close_socket+0x95/0x320 [ 60.762365][ T7] ? afs_purge_servers+0x16d/0x300 [ 60.767468][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 60.772917][ T7] ? init_wait_var_entry+0x200/0x200 [ 60.778185][ T7] ? check_preemption_disabled+0x38/0x220 [ 60.783881][ T7] afs_net_exit+0x1bc/0x310 [ 60.788376][ T7] ? __bpf_trace_afs_cb_miss+0x100/0x100 [ 60.793993][ T7] ops_exit_list+0xb0/0x160 [ 60.798520][ T7] cleanup_net+0x4ea/0xa00 [ 60.802915][ T7] ? __schedule+0x887/0x1eb0 [ 60.807486][ T7] ? ops_free_list.part.0+0x3d0/0x3d0 [ 60.812843][ T7] ? check_preemption_disabled+0x38/0x220 [ 60.818546][ T7] process_one_work+0x94c/0x1670 [ 60.823478][ T7] ? lock_release+0x8d0/0x8d0 [ 60.828141][ T7] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 60.833502][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 60.838420][ T7] worker_thread+0x64c/0x1120 [ 60.843095][ T7] ? process_one_work+0x1670/0x1670 [ 60.848276][ T7] kthread+0x3b5/0x4a0 [ 60.852323][ T7] ? __kthread_bind_mask+0xc0/0xc0 [ 60.857548][ T7] ? __kthread_bind_mask+0xc0/0xc0 [ 60.862652][ T7] ret_from_fork+0x1f/0x30 [ 60.868661][ T7] Kernel Offset: disabled [ 60.873175][ T7] Rebooting in 86400 seconds..