DUID 00:04:9b:41:e3:df:54:6f:ca:1f:62:a0:1b:7c:64:71:74:ce forked to background, child pid 3176 [ 19.930501][ T3177] 8021q: adding VLAN 0 to HW filter on device bond0 [ 19.940061][ T3177] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.10.12' (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 syzkaller login: [ 35.115198][ T3660] ================================================================== [ 35.123288][ T3660] BUG: KASAN: use-after-free in __wake_up_common+0x255/0x4e0 [ 35.130647][ T3660] Read of size 8 at addr ffff88807a1feeb0 by task syz-executor130/3660 [ 35.138869][ T3660] [ 35.141188][ T3660] CPU: 0 PID: 3660 Comm: syz-executor130 Tainted: G W 5.17.0-syzkaller-01442-gb47d5a4f6b8d #0 [ 35.152702][ T3660] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.162737][ T3660] Call Trace: [ 35.166002][ T3660] [ 35.168920][ T3660] dump_stack_lvl+0x1dc/0x2d8 [ 35.173672][ T3660] ? show_regs_print_info+0x12/0x12 [ 35.178853][ T3660] ? _printk+0xcf/0x118 [ 35.182994][ T3660] ? wake_up_klogd+0xb2/0xf0 [ 35.187580][ T3660] ? log_buf_vmcoreinfo_setup+0x498/0x498 [ 35.193280][ T3660] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 35.198724][ T3660] print_address_description+0x65/0x3a0 [ 35.204251][ T3660] ? __wake_up_common+0x255/0x4e0 [ 35.209259][ T3660] kasan_report+0x19a/0x1f0 [ 35.213852][ T3660] ? __wake_up_common+0x255/0x4e0 [ 35.218860][ T3660] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 35.224303][ T3660] __wake_up_common+0x255/0x4e0 [ 35.229137][ T3660] __wake_up+0x115/0x1c0 [ 35.233381][ T3660] ? remove_wait_queue+0x130/0x130 [ 35.238472][ T3660] ? _raw_spin_unlock+0x40/0x40 [ 35.243328][ T3660] ? tty_kref_put+0x183/0x1b0 [ 35.247992][ T3660] ? tty_port_close+0xf2/0x140 [ 35.252768][ T3660] tty_release+0x4a9/0xef0 [ 35.257194][ T3660] ? tty_release_struct+0xd0/0xd0 [ 35.262207][ T3660] __fput+0x3fc/0x870 [ 35.266172][ T3660] task_work_run+0x146/0x1c0 [ 35.270747][ T3660] do_exit+0x5e3/0x22a0 [ 35.274887][ T3660] ? __lock_acquire+0x2b00/0x2b00 [ 35.279890][ T3660] ? __lock_acquire+0x2b00/0x2b00 [ 35.284900][ T3660] ? mm_update_next_owner+0x6d0/0x6d0 [ 35.290270][ T3660] ? rcu_read_lock_sched_held+0x5f/0x130 [ 35.295886][ T3660] ? rcu_read_lock_sched_held+0x5f/0x130 [ 35.301503][ T3660] ? print_irqtrace_events+0x220/0x220 [ 35.306948][ T3660] ? vtime_user_exit+0x2b2/0x3e0 [ 35.311869][ T3660] do_group_exit+0x2af/0x2b0 [ 35.316440][ T3660] __do_sys_exit_group+0x13/0x20 [ 35.321355][ T3660] __se_sys_exit_group+0x10/0x10 [ 35.326271][ T3660] __x64_sys_exit_group+0x37/0x40 [ 35.331275][ T3660] do_syscall_64+0x2b/0x70 [ 35.335671][ T3660] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 35.341541][ T3660] RIP: 0033:0x7f144085fc69 [ 35.345933][ T3660] Code: Unable to access opcode bytes at RIP 0x7f144085fc3f. [ 35.353292][ T3660] RSP: 002b:00007ffc474417a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 35.361682][ T3660] RAX: ffffffffffffffda RBX: 00007f14408d4330 RCX: 00007f144085fc69 [ 35.369808][ T3660] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 [ 35.377773][ T3660] RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000000 [ 35.385734][ T3660] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f14408d4330 [ 35.393685][ T3660] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 35.401643][ T3660] [ 35.404642][ T3660] [ 35.406945][ T3660] Allocated by task 3623: [ 35.411332][ T3660] ____kasan_kmalloc+0xdc/0x110 [ 35.416163][ T3660] kmem_cache_alloc_trace+0x9d/0x330 [ 35.421427][ T3660] io_arm_poll_handler+0x3bd/0x710 [ 35.426526][ T3660] __io_queue_sqe+0x23d/0x10b0 [ 35.431275][ T3660] io_submit_sqes+0x1265/0xb050 [ 35.436105][ T3660] __se_sys_io_uring_enter+0x31f/0x2f50 [ 35.441631][ T3660] do_syscall_64+0x2b/0x70 [ 35.446025][ T3660] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 35.451902][ T3660] [ 35.454222][ T3660] Freed by task 3623: [ 35.458176][ T3660] kasan_set_track+0x4c/0x70 [ 35.462743][ T3660] kasan_set_free_info+0x1f/0x40 [ 35.467656][ T3660] ____kasan_slab_free+0x126/0x180 [ 35.472746][ T3660] slab_free_freelist_hook+0x12e/0x1a0 [ 35.478185][ T3660] kfree+0xb8/0x2e0 [ 35.481976][ T3660] io_dismantle_req+0x644/0x9b0 [ 35.486805][ T3660] __io_req_complete_post+0x294/0x4b0 [ 35.492157][ T3660] io_req_complete_failed+0xd7/0x440 [ 35.497431][ T3660] tctx_task_work+0xcf1/0x1130 [ 35.502172][ T3660] task_work_run+0x146/0x1c0 [ 35.506742][ T3660] do_exit+0x5e3/0x22a0 [ 35.510885][ T3660] do_group_exit+0x2af/0x2b0 [ 35.515462][ T3660] __do_sys_exit_group+0x13/0x20 [ 35.520378][ T3660] __ia32_sys_exit_group+0x0/0x40 [ 35.525379][ T3660] __x64_sys_exit_group+0x37/0x40 [ 35.530403][ T3660] do_syscall_64+0x2b/0x70 [ 35.534797][ T3660] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 35.540668][ T3660] [ 35.542974][ T3660] The buggy address belongs to the object at ffff88807a1fee80 [ 35.542974][ T3660] which belongs to the cache kmalloc-96 of size 96 [ 35.556916][ T3660] The buggy address is located 48 bytes inside of [ 35.556916][ T3660] 96-byte region [ffff88807a1fee80, ffff88807a1feee0) [ 35.569996][ T3660] The buggy address belongs to the page: [ 35.575602][ T3660] page:ffffea0001e87f80 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7a1fe [ 35.585727][ T3660] flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) [ 35.593252][ T3660] raw: 00fff00000000200 ffffea0001e622c0 dead000000000002 ffff888011441780 [ 35.601821][ T3660] raw: 0000000000000000 0000000000200020 00000001ffffffff 0000000000000000 [ 35.610373][ T3660] page dumped because: kasan: bad access detected [ 35.616758][ T3660] page_owner tracks the page as allocated [ 35.622472][ T3660] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12c40(GFP_NOFS|__GFP_NOWARN|__GFP_NORETRY), pid 2971, ts 14031809806, free_ts 14024505838 [ 35.638359][ T3660] get_page_from_freelist+0x729/0x9e0 [ 35.643716][ T3660] __alloc_pages+0x255/0x580 [ 35.648284][ T3660] allocate_slab+0xce/0x3f0 [ 35.652767][ T3660] ___slab_alloc+0x3fe/0xc30 [ 35.657352][ T3660] __kmalloc+0x2eb/0x380 [ 35.661572][ T3660] tomoyo_encode2+0x25a/0x560 [ 35.666230][ T3660] tomoyo_realpath_from_path+0x5c3/0x610 [ 35.671860][ T3660] tomoyo_path_perm+0x238/0x660 [ 35.676693][ T3660] security_inode_getattr+0xc0/0x140 [ 35.681985][ T3660] vfs_getattr+0x26/0x360 [ 35.686306][ T3660] vfs_statx+0x18b/0x3b0 [ 35.690535][ T3660] __se_sys_newfstatat+0xf6/0x7a0 [ 35.695550][ T3660] do_syscall_64+0x2b/0x70 [ 35.699947][ T3660] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 35.705827][ T3660] page last free stack trace: [ 35.710483][ T3660] free_pcp_prepare+0xd1c/0xe00 [ 35.715312][ T3660] free_unref_page+0x7d/0x580 [ 35.719967][ T3660] __unfreeze_partials+0x1ab/0x200 [ 35.725079][ T3660] put_cpu_partial+0x116/0x180 [ 35.729832][ T3660] ___cache_free+0x107/0x160 [ 35.734407][ T3660] kasan_quarantine_reduce+0x169/0x1f0 [ 35.739849][ T3660] __kasan_slab_alloc+0x2f/0xe0 [ 35.744683][ T3660] kmem_cache_alloc+0x1c9/0x310 [ 35.749513][ T3660] getname_flags+0xba/0x650 [ 35.754001][ T3660] do_sys_openat2+0xd2/0x500 [ 35.758587][ T3660] __x64_sys_openat+0x243/0x290 [ 35.763415][ T3660] do_syscall_64+0x2b/0x70 [ 35.767812][ T3660] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 35.773700][ T3660] [ 35.776012][ T3660] Memory state around the buggy address: [ 35.781617][ T3660] ffff88807a1fed80: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 35.789657][ T3660] ffff88807a1fee00: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 35.797699][ T3660] >ffff88807a1fee80: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 35.805745][ T3660] ^ [ 35.811354][ T3660] ffff88807a1fef00: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 35.819392][ T3660] ffff88807a1fef80: fa fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 35.827429][ T3660] ================================================================== [ 35.835466][ T3660] Kernel panic - not syncing: panic_on_warn set ... [ 35.842031][ T3660] CPU: 0 PID: 3660 Comm: syz-executor130 Tainted: G B W 5.17.0-syzkaller-01442-gb47d5a4f6b8d #0 [ 35.853553][ T3660] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.863593][ T3660] Call Trace: [ 35.866872][ T3660] [ 35.869792][ T3660] dump_stack_lvl+0x1dc/0x2d8 [ 35.874456][ T3660] ? show_regs_print_info+0x12/0x12 [ 35.879638][ T3660] ? log_buf_vmcoreinfo_setup+0x498/0x498 [ 35.885342][ T3660] ? irq_work_queue+0xbd/0x120 [ 35.890265][ T3660] panic+0x2d6/0x810 [ 35.894149][ T3660] ? nmi_panic+0x90/0x90 [ 35.898373][ T3660] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 35.904249][ T3660] ? print_memory_metadata+0xe0/0x140 [ 35.909604][ T3660] ? __wake_up_common+0x255/0x4e0 [ 35.914609][ T3660] end_report+0x83/0x90 [ 35.918742][ T3660] kasan_report+0x1bf/0x1f0 [ 35.923229][ T3660] ? __wake_up_common+0x255/0x4e0 [ 35.928231][ T3660] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 35.933674][ T3660] __wake_up_common+0x255/0x4e0 [ 35.938505][ T3660] __wake_up+0x115/0x1c0 [ 35.942726][ T3660] ? remove_wait_queue+0x130/0x130 [ 35.947829][ T3660] ? _raw_spin_unlock+0x40/0x40 [ 35.952668][ T3660] ? tty_kref_put+0x183/0x1b0 [ 35.957342][ T3660] ? tty_port_close+0xf2/0x140 [ 35.962092][ T3660] tty_release+0x4a9/0xef0 [ 35.966491][ T3660] ? tty_release_struct+0xd0/0xd0 [ 35.971494][ T3660] __fput+0x3fc/0x870 [ 35.975458][ T3660] task_work_run+0x146/0x1c0 [ 35.980034][ T3660] do_exit+0x5e3/0x22a0 [ 35.984172][ T3660] ? __lock_acquire+0x2b00/0x2b00 [ 35.989528][ T3660] ? __lock_acquire+0x2b00/0x2b00 [ 35.994619][ T3660] ? mm_update_next_owner+0x6d0/0x6d0 [ 35.999980][ T3660] ? rcu_read_lock_sched_held+0x5f/0x130 [ 36.005604][ T3660] ? rcu_read_lock_sched_held+0x5f/0x130 [ 36.011214][ T3660] ? print_irqtrace_events+0x220/0x220 [ 36.016653][ T3660] ? vtime_user_exit+0x2b2/0x3e0 [ 36.021571][ T3660] do_group_exit+0x2af/0x2b0 [ 36.026139][ T3660] __do_sys_exit_group+0x13/0x20 [ 36.031054][ T3660] __se_sys_exit_group+0x10/0x10 [ 36.035986][ T3660] __x64_sys_exit_group+0x37/0x40 [ 36.040987][ T3660] do_syscall_64+0x2b/0x70 [ 36.045383][ T3660] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 36.051253][ T3660] RIP: 0033:0x7f144085fc69 [ 36.055644][ T3660] Code: Unable to access opcode bytes at RIP 0x7f144085fc3f. [ 36.062983][ T3660] RSP: 002b:00007ffc474417a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 36.071376][ T3660] RAX: ffffffffffffffda RBX: 00007f14408d4330 RCX: 00007f144085fc69 [ 36.079328][ T3660] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 [ 36.087277][ T3660] RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000000 [ 36.095228][ T3660] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f14408d4330 [ 36.103177][ T3660] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 36.111136][ T3660] [ 36.114299][ T3660] Kernel Offset: disabled [ 36.118608][ T3660] Rebooting in 86400 seconds..