Warning: Permanently added '10.128.0.200' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 57.648975][ T6926] ================================================================== [ 57.657244][ T6926] BUG: KASAN: use-after-free in sock_def_write_space+0x609/0x630 [ 57.664967][ T6926] Read of size 8 at addr ffff88808730c080 by task syz-executor607/6926 [ 57.673199][ T6926] [ 57.675515][ T6926] CPU: 0 PID: 6926 Comm: syz-executor607 Not tainted 5.8.0-rc5-syzkaller #0 [ 57.684175][ T6926] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.694231][ T6926] Call Trace: [ 57.697539][ T6926] dump_stack+0x18f/0x20d [ 57.701883][ T6926] ? sock_def_write_space+0x609/0x630 [ 57.707260][ T6926] ? sock_def_write_space+0x609/0x630 [ 57.712654][ T6926] print_address_description.constprop.0.cold+0xae/0x436 [ 57.719702][ T6926] ? lockdep_hardirqs_off+0x66/0xa0 [ 57.724916][ T6926] ? vprintk_func+0x97/0x1a6 [ 57.729521][ T6926] ? sock_def_write_space+0x609/0x630 [ 57.734904][ T6926] kasan_report.cold+0x1f/0x37 [ 57.739661][ T6926] ? sock_def_write_space+0x609/0x630 [ 57.745044][ T6926] sock_def_write_space+0x609/0x630 [ 57.750252][ T6926] ? kfree_skb+0x7d/0x100 [ 57.754581][ T6926] ? qrtr_tun_poll+0xf0/0xf0 [ 57.759173][ T6926] sock_wfree+0x1cc/0x240 [ 57.763522][ T6926] ? __sk_receive_skb+0x830/0x830 [ 57.768548][ T6926] skb_release_head_state+0x9f/0x250 [ 57.773818][ T6926] kfree_skb.part.0+0x89/0x350 [ 57.778594][ T6926] kfree_skb+0x7d/0x100 [ 57.782777][ T6926] skb_queue_purge+0x14/0x30 [ 57.787355][ T6926] qrtr_tun_release+0x40/0x60 [ 57.792034][ T6926] __fput+0x33c/0x880 [ 57.796011][ T6926] task_work_run+0xdd/0x190 [ 57.800500][ T6926] do_exit+0xb72/0x2a40 [ 57.804645][ T6926] ? lock_acquire+0x1f1/0xad0 [ 57.809312][ T6926] ? find_held_lock+0x2d/0x110 [ 57.814071][ T6926] ? mm_update_next_owner+0x7a0/0x7a0 [ 57.819458][ T6926] ? get_signal+0x332/0x1ee0 [ 57.824040][ T6926] ? lock_downgrade+0x820/0x820 [ 57.828892][ T6926] ? lock_is_held_type+0xb0/0xe0 [ 57.833822][ T6926] do_group_exit+0x125/0x310 [ 57.838413][ T6926] get_signal+0x40b/0x1ee0 [ 57.842827][ T6926] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 57.848837][ T6926] ? lockdep_hardirqs_on+0x6a/0xe0 [ 57.853942][ T6926] do_signal+0x82/0x2520 [ 57.858174][ T6926] ? qrtr_sendmsg+0x8a0/0x8a0 [ 57.862850][ T6926] ? fput_many+0x2f/0x1a0 [ 57.867176][ T6926] ? __sys_connect+0x109/0x190 [ 57.871928][ T6926] ? copy_siginfo_to_user32+0xa0/0xa0 [ 57.877307][ T6926] ? __ia32_sys_futex_time32+0x302/0x455 [ 57.882936][ T6926] ? __ia32_sys_futex_time32+0x30b/0x455 [ 57.888555][ T6926] ? lock_is_held_type+0xb0/0xe0 [ 57.893484][ T6926] ? __x64_sys_futex_time32+0x480/0x480 [ 57.899078][ T6926] ? __prepare_exit_to_usermode+0xcc/0x1f0 [ 57.904919][ T6926] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 57.910933][ T6926] __prepare_exit_to_usermode+0x156/0x1f0 [ 57.916679][ T6926] do_fast_syscall_32+0x7f/0x120 [ 57.921619][ T6926] entry_SYSENTER_compat_after_hwframe+0x4d/0x5c [ 57.927939][ T6926] RIP: 0023:0xf7fdf569 [ 57.931992][ T6926] Code: Bad RIP value. [ 57.936038][ T6926] RSP: 002b:00000000f7fda1dc EFLAGS: 00000246 ORIG_RAX: 00000000000000f0 [ 57.944465][ T6926] RAX: 0000000000000001 RBX: 00000000080fc00c RCX: 0000000000000081 [ 57.952422][ T6926] RDX: 00000000000f4240 RSI: 000000000000016a RDI: 0000000000000005 [ 57.960402][ T6926] RBP: 0000000020000040 R08: 0000000000000000 R09: 0000000000000000 [ 57.968367][ T6926] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 57.976341][ T6926] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 57.984322][ T6926] [ 57.986634][ T6926] Allocated by task 6928: [ 57.990965][ T6926] save_stack+0x1b/0x40 [ 57.995109][ T6926] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 58.000731][ T6926] kmem_cache_alloc+0x12c/0x3b0 [ 58.005592][ T6926] sock_alloc_inode+0x18/0x1c0 [ 58.010356][ T6926] alloc_inode+0x61/0x230 [ 58.014673][ T6926] new_inode_pseudo+0x14/0xe0 [ 58.019341][ T6926] sock_alloc+0x3c/0x260 [ 58.023574][ T6926] __sock_create+0xb9/0x740 [ 58.028084][ T6926] __sys_socket+0xef/0x200 [ 58.033462][ T6926] __ia32_sys_socket+0x6f/0xb0 [ 58.038236][ T6926] do_syscall_32_irqs_on+0x3f/0x60 [ 58.043337][ T6926] do_fast_syscall_32+0x7f/0x120 [ 58.048295][ T6926] entry_SYSENTER_compat_after_hwframe+0x4d/0x5c [ 58.054603][ T6926] [ 58.056914][ T6926] Freed by task 9: [ 58.060623][ T6926] save_stack+0x1b/0x40 [ 58.064784][ T6926] __kasan_slab_free+0xf5/0x140 [ 58.069641][ T6926] kmem_cache_free+0x7f/0x310 [ 58.074320][ T6926] i_callback+0x3f/0x70 [ 58.078471][ T6926] rcu_core+0x5c7/0x1160 [ 58.082726][ T6926] __do_softirq+0x34c/0xa60 [ 58.087204][ T6926] [ 58.089532][ T6926] The buggy address belongs to the object at ffff88808730c000 [ 58.089532][ T6926] which belongs to the cache sock_inode_cache of size 1216 [ 58.104108][ T6926] The buggy address is located 128 bytes inside of [ 58.104108][ T6926] 1216-byte region [ffff88808730c000, ffff88808730c4c0) [ 58.117473][ T6926] The buggy address belongs to the page: [ 58.123499][ T6926] page:ffffea00021cc300 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88808730cffd [ 58.133921][ T6926] flags: 0xfffe0000000200(slab) [ 58.138778][ T6926] raw: 00fffe0000000200 ffffea00021cc688 ffffea00021cc748 ffff8880a974ae00 [ 58.147538][ T6926] raw: ffff88808730cffd ffff88808730c000 0000000100000003 0000000000000000 [ 58.156365][ T6926] page dumped because: kasan: bad access detected [ 58.162784][ T6926] [ 58.165109][ T6926] Memory state around the buggy address: [ 58.170726][ T6926] ffff88808730bf80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 58.178796][ T6926] ffff88808730c000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.186869][ T6926] >ffff88808730c080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.194930][ T6926] ^ executing program executing program executing program executing program executing program [ 58.198981][ T6926] ffff88808730c100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.207046][ T6926] ffff88808730c180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.215110][ T6926] ================================================================== [ 58.223154][ T6926] Disabling lock debugging due to kernel taint [ 58.264951][ T6926] Kernel panic - not syncing: panic_on_warn set ... [ 58.271577][ T6926] CPU: 0 PID: 6926 Comm: syz-executor607 Tainted: G B 5.8.0-rc5-syzkaller #0 [ 58.281631][ T6926] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.291682][ T6926] Call Trace: [ 58.294981][ T6926] dump_stack+0x18f/0x20d [ 58.299320][ T6926] ? sock_def_write_space+0x5c0/0x630 [ 58.304690][ T6926] panic+0x2e3/0x75c [ 58.308586][ T6926] ? __warn_printk+0xf3/0xf3 [ 58.313166][ T6926] ? preempt_schedule_common+0x59/0xc0 [ 58.318633][ T6926] ? sock_def_write_space+0x609/0x630 [ 58.324014][ T6926] ? preempt_schedule_thunk+0x16/0x18 [ 58.329390][ T6926] ? trace_hardirqs_on+0x55/0x220 [ 58.334422][ T6926] ? sock_def_write_space+0x609/0x630 [ 58.339780][ T6926] ? sock_def_write_space+0x609/0x630 [ 58.345137][ T6926] end_report+0x4d/0x53 [ 58.349304][ T6926] kasan_report.cold+0xd/0x37 [ 58.353982][ T6926] ? sock_def_write_space+0x609/0x630 [ 58.359344][ T6926] sock_def_write_space+0x609/0x630 [ 58.364553][ T6926] ? kfree_skb+0x7d/0x100 [ 58.368866][ T6926] ? qrtr_tun_poll+0xf0/0xf0 [ 58.373450][ T6926] sock_wfree+0x1cc/0x240 [ 58.377784][ T6926] ? __sk_receive_skb+0x830/0x830 [ 58.382800][ T6926] skb_release_head_state+0x9f/0x250 [ 58.388110][ T6926] kfree_skb.part.0+0x89/0x350 [ 58.392914][ T6926] kfree_skb+0x7d/0x100 [ 58.397067][ T6926] skb_queue_purge+0x14/0x30 [ 58.401657][ T6926] qrtr_tun_release+0x40/0x60 [ 58.406335][ T6926] __fput+0x33c/0x880 [ 58.410298][ T6926] task_work_run+0xdd/0x190 [ 58.414794][ T6926] do_exit+0xb72/0x2a40 [ 58.418960][ T6926] ? lock_acquire+0x1f1/0xad0 [ 58.423626][ T6926] ? find_held_lock+0x2d/0x110 [ 58.428378][ T6926] ? mm_update_next_owner+0x7a0/0x7a0 [ 58.433759][ T6926] ? get_signal+0x332/0x1ee0 [ 58.438361][ T6926] ? lock_downgrade+0x820/0x820 [ 58.443194][ T6926] ? lock_is_held_type+0xb0/0xe0 [ 58.448122][ T6926] do_group_exit+0x125/0x310 [ 58.452711][ T6926] get_signal+0x40b/0x1ee0 [ 58.457122][ T6926] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 58.463107][ T6926] ? lockdep_hardirqs_on+0x6a/0xe0 [ 58.468211][ T6926] do_signal+0x82/0x2520 [ 58.472448][ T6926] ? qrtr_sendmsg+0x8a0/0x8a0 [ 58.477117][ T6926] ? fput_many+0x2f/0x1a0 [ 58.481447][ T6926] ? __sys_connect+0x109/0x190 [ 58.486221][ T6926] ? copy_siginfo_to_user32+0xa0/0xa0 [ 58.491609][ T6926] ? __ia32_sys_futex_time32+0x302/0x455 [ 58.497248][ T6926] ? __ia32_sys_futex_time32+0x30b/0x455 [ 58.502865][ T6926] ? lock_is_held_type+0xb0/0xe0 [ 58.507798][ T6926] ? __x64_sys_futex_time32+0x480/0x480 [ 58.513338][ T6926] ? __prepare_exit_to_usermode+0xcc/0x1f0 [ 58.519129][ T6926] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 58.525113][ T6926] __prepare_exit_to_usermode+0x156/0x1f0 [ 58.530835][ T6926] do_fast_syscall_32+0x7f/0x120 [ 58.535849][ T6926] entry_SYSENTER_compat_after_hwframe+0x4d/0x5c [ 58.542182][ T6926] RIP: 0023:0xf7fdf569 [ 58.546223][ T6926] Code: Bad RIP value. [ 58.550297][ T6926] RSP: 002b:00000000f7fda1dc EFLAGS: 00000246 ORIG_RAX: 00000000000000f0 [ 58.558700][ T6926] RAX: 0000000000000001 RBX: 00000000080fc00c RCX: 0000000000000081 [ 58.566650][ T6926] RDX: 00000000000f4240 RSI: 000000000000016a RDI: 0000000000000005 [ 58.574628][ T6926] RBP: 0000000020000040 R08: 0000000000000000 R09: 0000000000000000 [ 58.582599][ T6926] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 58.590577][ T6926] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 58.599605][ T6926] Kernel Offset: disabled [ 58.603923][ T6926] Rebooting in 86400 seconds..