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.142' (ECDSA) to the list of known hosts. 2020/06/16 06:07:00 fuzzer started 2020/06/16 06:07:00 connecting to host at 10.128.0.26:46441 2020/06/16 06:07:00 checking machine... 2020/06/16 06:07:00 checking revisions... 2020/06/16 06:07:01 testing simple program... syzkaller login: [ 60.864913][ T6924] IPVS: ftp: loaded support on port[0] = 21 2020/06/16 06:07:01 building call list... [ 61.232191][ T118] tipc: TX() has been purged, node left! [ 61.744086][ T118] ================================================================== [ 61.752328][ T118] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x6aa/0x770 [ 61.760223][ T118] Write of size 1 at addr ffff88809edc09e4 by task kworker/u4:3/118 [ 61.768277][ T118] [ 61.770607][ T118] CPU: 0 PID: 118 Comm: kworker/u4:3 Not tainted 5.8.0-rc1-next-20200616-syzkaller #0 [ 61.780137][ T118] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.790195][ T118] Workqueue: netns cleanup_net [ 61.794950][ T118] Call Trace: [ 61.798256][ T118] dump_stack+0x18f/0x20d [ 61.802585][ T118] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.808124][ T118] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.813669][ T118] ? afs_put_call+0xa40/0xa40 [ 61.818342][ T118] print_address_description.constprop.0.cold+0xd3/0x413 [ 61.825368][ T118] ? vprintk_func+0x97/0x1a6 [ 61.829958][ T118] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.835502][ T118] kasan_report.cold+0x1f/0x37 [ 61.840616][ T118] ? rcu_read_lock_held_common+0x71/0xa0 [ 61.846241][ T118] ? afs_wake_up_async_call+0x6aa/0x770 [ 61.851787][ T118] afs_wake_up_async_call+0x6aa/0x770 [ 61.857157][ T118] ? afs_close_socket+0x320/0x320 [ 61.862185][ T118] ? afs_put_call+0xa40/0xa40 [ 61.866856][ T118] rxrpc_notify_socket+0x1db/0x5d0 [ 61.872316][ T118] ? afs_put_call+0xa40/0xa40 [ 61.876992][ T118] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 61.883406][ T118] rxrpc_call_completed+0xca/0xf0 [ 61.888434][ T118] rxrpc_discard_prealloc+0x781/0xab0 [ 61.893825][ T118] ? lock_sock_nested+0x94/0x110 [ 61.898773][ T118] rxrpc_listen+0x147/0x360 [ 61.903286][ T118] afs_close_socket+0x95/0x320 [ 61.908056][ T118] ? afs_purge_servers+0x16d/0x300 [ 61.913174][ T118] ? afs_rx_discard_new_call+0x50/0x50 [ 61.918634][ T118] ? init_wait_var_entry+0x200/0x200 [ 61.923924][ T118] ? rcu_read_lock_held_common+0xa0/0xa0 [ 61.929553][ T118] ? check_preemption_disabled+0x38/0x220 [ 61.935275][ T118] afs_net_exit+0x1bc/0x310 [ 61.939775][ T118] ? afs_net_init+0xe30/0xe30 [ 61.944453][ T118] ops_exit_list.isra.0+0xa8/0x150 [ 61.949565][ T118] cleanup_net+0x511/0xa50 [ 61.953984][ T118] ? unregister_pernet_device+0x70/0x70 [ 61.959543][ T118] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 61.965528][ T118] process_one_work+0x965/0x1690 [ 61.970473][ T118] ? lock_release+0x800/0x800 [ 61.975149][ T118] ? pwq_dec_nr_in_flight+0x310/0x310 [ 61.980615][ T118] ? rwlock_bug.part.0+0x90/0x90 [ 61.985562][ T118] worker_thread+0x96/0xe10 [ 61.990338][ T118] ? process_one_work+0x1690/0x1690 [ 61.995533][ T118] kthread+0x3b5/0x4a0 [ 61.999598][ T118] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.005311][ T118] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.011033][ T118] ret_from_fork+0x1f/0x30 [ 62.015456][ T118] [ 62.017785][ T118] Allocated by task 6924: [ 62.022115][ T118] save_stack+0x1b/0x40 [ 62.026266][ T118] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 62.031904][ T118] kmem_cache_alloc_trace+0x153/0x7d0 [ 62.037273][ T118] afs_alloc_call+0x55/0x630 [ 62.041860][ T118] afs_charge_preallocation+0xe9/0x2d0 [ 62.047400][ T118] afs_open_socket+0x292/0x360 [ 62.052166][ T118] afs_net_init+0xa6c/0xe30 [ 62.056666][ T118] ops_init+0xaf/0x420 [ 62.060740][ T118] setup_net+0x2de/0x860 [ 62.064986][ T118] copy_net_ns+0x293/0x590 [ 62.069403][ T118] create_new_namespaces+0x3fb/0xb30 [ 62.074686][ T118] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 62.080315][ T118] ksys_unshare+0x43d/0x8e0 [ 62.084835][ T118] __x64_sys_unshare+0x2d/0x40 [ 62.089593][ T118] do_syscall_64+0x60/0xe0 [ 62.094005][ T118] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 62.100229][ T118] [ 62.102550][ T118] Freed by task 118: [ 62.106441][ T118] save_stack+0x1b/0x40 [ 62.110593][ T118] __kasan_slab_free+0xf7/0x140 [ 62.115455][ T118] kfree+0x109/0x2b0 [ 62.119365][ T118] afs_put_call+0x585/0xa40 [ 62.123881][ T118] rxrpc_discard_prealloc+0x764/0xab0 [ 62.129276][ T118] rxrpc_listen+0x147/0x360 [ 62.133872][ T118] afs_close_socket+0x95/0x320 [ 62.138979][ T118] afs_net_exit+0x1bc/0x310 [ 62.143478][ T118] ops_exit_list.isra.0+0xa8/0x150 [ 62.148583][ T118] cleanup_net+0x511/0xa50 [ 62.152996][ T118] process_one_work+0x965/0x1690 [ 62.157929][ T118] worker_thread+0x96/0xe10 [ 62.162443][ T118] kthread+0x3b5/0x4a0 [ 62.166523][ T118] ret_from_fork+0x1f/0x30 [ 62.170925][ T118] [ 62.173251][ T118] The buggy address belongs to the object at ffff88809edc0800 [ 62.173251][ T118] which belongs to the cache kmalloc-1k of size 1024 [ 62.187322][ T118] The buggy address is located 484 bytes inside of [ 62.187322][ T118] 1024-byte region [ffff88809edc0800, ffff88809edc0c00) [ 62.200669][ T118] The buggy address belongs to the page: [ 62.206303][ T118] page:ffffea00027b7000 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 62.215414][ T118] flags: 0xfffe0000000200(slab) [ 62.220279][ T118] raw: 00fffe0000000200 ffffea000280e4c8 ffffea00025b0088 ffff8880aa000c40 [ 62.228863][ T118] raw: 0000000000000000 ffff88809edc0000 0000000100000002 0000000000000000 [ 62.237640][ T118] page dumped because: kasan: bad access detected [ 62.244039][ T118] [ 62.246359][ T118] Memory state around the buggy address: [ 62.251983][ T118] ffff88809edc0880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.260042][ T118] ffff88809edc0900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.268102][ T118] >ffff88809edc0980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.276155][ T118] ^ [ 62.283344][ T118] ffff88809edc0a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.291400][ T118] ffff88809edc0a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.299471][ T118] ================================================================== [ 62.307530][ T118] Disabling lock debugging due to kernel taint [ 62.313727][ T118] Kernel panic - not syncing: panic_on_warn set ... [ 62.320332][ T118] CPU: 0 PID: 118 Comm: kworker/u4:3 Tainted: G B 5.8.0-rc1-next-20200616-syzkaller #0 [ 62.331256][ T118] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.341317][ T118] Workqueue: netns cleanup_net [ 62.346070][ T118] Call Trace: [ 62.349354][ T118] dump_stack+0x18f/0x20d [ 62.353686][ T118] ? afs_wake_up_async_call+0x600/0x770 [ 62.359220][ T118] ? afs_put_call+0xa40/0xa40 [ 62.363885][ T118] panic+0x2e3/0x75c [ 62.367791][ T118] ? __warn_printk+0xf3/0xf3 [ 62.372372][ T118] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 62.378518][ T118] ? trace_hardirqs_on+0x55/0x220 [ 62.383538][ T118] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.389077][ T118] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.394610][ T118] ? afs_put_call+0xa40/0xa40 [ 62.399277][ T118] end_report+0x4d/0x53 [ 62.403428][ T118] kasan_report.cold+0xd/0x37 [ 62.408099][ T118] ? rcu_read_lock_held_common+0x71/0xa0 [ 62.413719][ T118] ? afs_wake_up_async_call+0x6aa/0x770 [ 62.419258][ T118] afs_wake_up_async_call+0x6aa/0x770 [ 62.424620][ T118] ? afs_close_socket+0x320/0x320 [ 62.429749][ T118] ? afs_put_call+0xa40/0xa40 [ 62.434418][ T118] rxrpc_notify_socket+0x1db/0x5d0 [ 62.439521][ T118] ? afs_put_call+0xa40/0xa40 [ 62.444193][ T118] __rxrpc_set_call_completion.part.0+0x172/0x410 [ 62.450595][ T118] rxrpc_call_completed+0xca/0xf0 [ 62.455612][ T118] rxrpc_discard_prealloc+0x781/0xab0 [ 62.460975][ T118] ? lock_sock_nested+0x94/0x110 [ 62.465903][ T118] rxrpc_listen+0x147/0x360 [ 62.470400][ T118] afs_close_socket+0x95/0x320 [ 62.475154][ T118] ? afs_purge_servers+0x16d/0x300 [ 62.480259][ T118] ? afs_rx_discard_new_call+0x50/0x50 [ 62.485711][ T118] ? init_wait_var_entry+0x200/0x200 [ 62.490987][ T118] ? rcu_read_lock_held_common+0xa0/0xa0 [ 62.496609][ T118] ? check_preemption_disabled+0x38/0x220 [ 62.502341][ T118] afs_net_exit+0x1bc/0x310 [ 62.506835][ T118] ? afs_net_init+0xe30/0xe30 [ 62.511504][ T118] ops_exit_list.isra.0+0xa8/0x150 [ 62.516609][ T118] cleanup_net+0x511/0xa50 [ 62.521021][ T118] ? unregister_pernet_device+0x70/0x70 [ 62.526905][ T118] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 62.532878][ T118] process_one_work+0x965/0x1690 [ 62.537809][ T118] ? lock_release+0x800/0x800 [ 62.542478][ T118] ? pwq_dec_nr_in_flight+0x310/0x310 [ 62.547843][ T118] ? rwlock_bug.part.0+0x90/0x90 [ 62.552783][ T118] worker_thread+0x96/0xe10 [ 62.557291][ T118] ? process_one_work+0x1690/0x1690 [ 62.562482][ T118] kthread+0x3b5/0x4a0 [ 62.566549][ T118] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.572257][ T118] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 62.577971][ T118] ret_from_fork+0x1f/0x30 [ 62.583998][ T118] Kernel Offset: disabled [ 62.588311][ T118] Rebooting in 86400 seconds..