./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1988762801
<...>
Warning: Permanently added '10.128.10.16' (ECDSA) to the list of known hosts.
execve("./syz-executor1988762801", ["./syz-executor1988762801"], 0x7ffdf991cb60 /* 10 vars */) = 0
brk(NULL) = 0x55555720b000
brk(0x55555720bc40) = 0x55555720bc40
arch_prctl(ARCH_SET_FS, 0x55555720b300) = 0
uname({sysname="Linux", nodename="syzkaller", ...}) = 0
readlink("/proc/self/exe", "/root/syz-executor1988762801", 4096) = 28
brk(0x55555722cc40) = 0x55555722cc40
brk(0x55555722d000) = 0x55555722d000
mprotect(0x7ffbdc528000, 16384, PROT_READ) = 0
mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000
mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000
mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000
socket(AF_INET6, SOCK_STREAM, IPPROTO_SCTP) = 3
io_uring_setup(1488, {flags=0, sq_thread_cpu=0, sq_thread_idle=0, sq_entries=2048, cq_entries=4096, features=IORING_FEAT_SINGLE_MMAP|IORING_FEAT_NODROP|IORING_FEAT_SUBMIT_STABLE|IORING_FEAT_RW_CUR_POS|IORING_FEAT_CUR_PERSONALITY|IORING_FEAT_FAST_POLL|IORING_FEAT_POLL_32BITS|IORING_FEAT_SQPOLL_NONFIXED|IORING_FEAT_EXT_ARG|IORING_FEAT_NATIVE_WORKERS|IORING_FEAT_RSRC_TAGS|IORING_FEAT_CQE_SKIP|IORING_FEAT_LINKED_FILE, sq_off={head=0, tail=64, ring_mask=256, ring_entries=264, flags=276, dropped=272, array=65856}, cq_off={head=128, tail=192, ring_mask=260, ring_entries=268, overflow=284, cqes=320, flags=280}}) = 4
mmap(0x20ee8000, 74048, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_FIXED|MAP_POPULATE, 4, 0) = 0x20ee8000
mmap(0x20ee9000, 131072, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_FIXED|MAP_POPULATE, 4, 0x10000000) = 0x20ee9000
io_uring_enter(4, 17678, 0, 0, NULL, 0) = 1
setsockopt(3, SOL_SCTP, SCTP_SOCKOPT_BINDX_ADD, "\x0a\x00\x4e\x23\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00", 28) = 0
sendto(3, "\xeb", 1, 0, {sa_family=AF_INET6, sin6_port=htons(20003), sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_scope_id=0}, 28) = 1
exit_group(0) = ?
syzkaller login: [ 57.457501][ T5085] ==================================================================
[ 57.465599][ T5085] BUG: KASAN: use-after-free in __wake_up_common+0x637/0x650
[ 57.472968][ T5085] Read of size 8 at addr ffff88802c2fe8f0 by task syz-executor198/5085
[ 57.481195][ T5085]
[ 57.483508][ T5085] CPU: 1 PID: 5085 Comm: syz-executor198 Not tainted 6.2.0-rc3-next-20230112-syzkaller #0
[ 57.493406][ T5085] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
[ 57.503447][ T5085] Call Trace:
[ 57.506722][ T5085]
[ 57.509641][ T5085] dump_stack_lvl+0xd1/0x138
[ 57.514232][ T5085] print_report+0x15e/0x45d
[ 57.518726][ T5085] ? __phys_addr+0xc8/0x140
[ 57.523223][ T5085] ? __wake_up_common+0x637/0x650
[ 57.528244][ T5085] kasan_report+0xc0/0xf0
[ 57.532602][ T5085] ? __wake_up_common+0x637/0x650
[ 57.537642][ T5085] __wake_up_common+0x637/0x650
[ 57.542503][ T5085] __wake_up_common_lock+0xd4/0x140
[ 57.547738][ T5085] ? __wake_up_common+0x650/0x650
[ 57.552769][ T5085] ? sock_def_wakeup+0x4/0x2d0
[ 57.557549][ T5085] ? rcu_read_lock_sched_held+0x3e/0x70
[ 57.563108][ T5085] sock_def_wakeup+0xea/0x2d0
[ 57.567799][ T5085] sctp_do_sm+0x4080/0x5290
[ 57.572323][ T5085] ? sctp_do_8_2_transport_strike.constprop.0+0xb40/0xb40
[ 57.579458][ T5085] ? rcu_read_lock_sched_held+0x3e/0x70
[ 57.585013][ T5085] ? trace_kmem_cache_alloc+0xb1/0x110
[ 57.590494][ T5085] ? kmem_cache_alloc+0x1c5/0x320
[ 57.595533][ T5085] ? sctp_make_abort_user+0x240/0x4b0
[ 57.600915][ T5085] ? lockdep_hardirqs_on+0x7d/0x100
[ 57.606129][ T5085] ? sctp_make_op_error+0x310/0x310
[ 57.611338][ T5085] sctp_primitive_ABORT+0x9f/0xc0
[ 57.616371][ T5085] sctp_close+0x23f/0x940
[ 57.620722][ T5085] ? sctp_assoc_ulpevent_type_set+0x380/0x380
[ 57.626810][ T5085] ? __sock_release+0x86/0x280
[ 57.631579][ T5085] ? lock_acquire+0x32/0xc0
[ 57.636088][ T5085] ? __sock_release+0x86/0x280
[ 57.640860][ T5085] ? ip_mc_drop_socket+0x1a/0x290
[ 57.645892][ T5085] inet_release+0x132/0x270
[ 57.650413][ T5085] inet6_release+0x50/0x70
[ 57.654837][ T5085] __sock_release+0xcd/0x280
[ 57.659440][ T5085] sock_close+0x1c/0x20
[ 57.663599][ T5085] __fput+0x27c/0xa90
[ 57.667596][ T5085] ? __sock_release+0x280/0x280
[ 57.672454][ T5085] task_work_run+0x16f/0x270
[ 57.677065][ T5085] ? task_work_cancel+0x30/0x30
[ 57.681940][ T5085] ? do_raw_spin_unlock+0x175/0x230
[ 57.687153][ T5085] do_exit+0xb17/0x2a90
[ 57.691328][ T5085] ? lock_downgrade+0x6e0/0x6e0
[ 57.696185][ T5085] ? do_raw_spin_lock+0x124/0x2b0
[ 57.701218][ T5085] ? mm_update_next_owner+0x7b0/0x7b0
[ 57.706609][ T5085] ? rwlock_bug.part.0+0x90/0x90
[ 57.711557][ T5085] ? _raw_spin_unlock_irq+0x23/0x50
[ 57.716780][ T5085] do_group_exit+0xd4/0x2a0
[ 57.721304][ T5085] __x64_sys_exit_group+0x3e/0x50
[ 57.726333][ T5085] do_syscall_64+0x39/0xb0
[ 57.730760][ T5085] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 57.736672][ T5085] RIP: 0033:0x7ffbdc4ba909
[ 57.741089][ T5085] Code: Unable to access opcode bytes at 0x7ffbdc4ba8df.
[ 57.748106][ T5085] RSP: 002b:00007fffe16dc638 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[ 57.756526][ T5085] RAX: ffffffffffffffda RBX: 00007ffbdc52e290 RCX: 00007ffbdc4ba909
[ 57.764509][ T5085] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
[ 57.772482][ T5085] RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 000000000000001c
[ 57.780457][ T5085] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffbdc52e290
[ 57.788428][ T5085] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
[ 57.796413][ T5085]
[ 57.799430][ T5085]
[ 57.801749][ T5085] Allocated by task 5085:
[ 57.806071][ T5085] kasan_save_stack+0x22/0x40
[ 57.810768][ T5085] kasan_set_track+0x25/0x30
[ 57.815364][ T5085] __kasan_slab_alloc+0x7f/0x90
[ 57.820224][ T5085] kmem_cache_alloc_bulk+0x3aa/0x730
[ 57.825521][ T5085] __io_alloc_req_refill+0xcc/0x40b
[ 57.830727][ T5085] io_submit_sqes.cold+0x7c/0xc2
[ 57.835674][ T5085] __do_sys_io_uring_enter+0x9e4/0x2c10
[ 57.841232][ T5085] do_syscall_64+0x39/0xb0
[ 57.845653][ T5085] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 57.851562][ T5085]
[ 57.853879][ T5085] Freed by task 33:
[ 57.857679][ T5085] kasan_save_stack+0x22/0x40
[ 57.862369][ T5085] kasan_set_track+0x25/0x30
[ 57.866966][ T5085] kasan_save_free_info+0x2e/0x40
[ 57.872009][ T5085] ____kasan_slab_free+0x160/0x1c0
[ 57.877126][ T5085] slab_free_freelist_hook+0x8b/0x1c0
[ 57.882499][ T5085] kmem_cache_free+0xec/0x4e0
[ 57.887178][ T5085] io_req_caches_free+0x1a9/0x1e6
[ 57.892207][ T5085] io_ring_exit_work+0x2e7/0xc80
[ 57.897149][ T5085] process_one_work+0x9bf/0x1750
[ 57.902095][ T5085] worker_thread+0x669/0x1090
[ 57.906779][ T5085] kthread+0x2e8/0x3a0
[ 57.910851][ T5085] ret_from_fork+0x1f/0x30
[ 57.915276][ T5085]
[ 57.917596][ T5085] The buggy address belongs to the object at ffff88802c2fe8c0
[ 57.917596][ T5085] which belongs to the cache io_kiocb of size 216
[ 57.931384][ T5085] The buggy address is located 48 bytes inside of
[ 57.931384][ T5085] 216-byte region [ffff88802c2fe8c0, ffff88802c2fe998)
[ 57.944569][ T5085]
[ 57.946886][ T5085] The buggy address belongs to the physical page:
[ 57.953287][ T5085] page:ffffea0000b0bf80 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2c2fe
[ 57.963438][ T5085] flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff)
[ 57.970997][ T5085] raw: 00fff00000000200 ffff88801c496640 dead000000000122 0000000000000000
[ 57.979584][ T5085] raw: 0000000000000000 00000000800c000c 00000001ffffffff 0000000000000000
[ 57.988161][ T5085] page dumped because: kasan: bad access detected
[ 57.994565][ T5085] page_owner tracks the page as allocated
[ 58.000270][ T5085] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 5085, tgid 5085 (syz-executor198), ts 57450140651, free_ts 57437968497
[ 58.018860][ T5085] get_page_from_freelist+0x11bb/0x2d50
[ 58.024424][ T5085] __alloc_pages+0x1cb/0x5c0
[ 58.029037][ T5085] alloc_pages+0x1aa/0x270
[ 58.033470][ T5085] allocate_slab+0x25f/0x350
[ 58.038066][ T5085] ___slab_alloc+0xa91/0x1400
[ 58.042753][ T5085] kmem_cache_alloc_bulk+0x23d/0x730
[ 58.048049][ T5085] __io_alloc_req_refill+0xcc/0x40b
[ 58.053258][ T5085] io_submit_sqes.cold+0x7c/0xc2
[ 58.058204][ T5085] __do_sys_io_uring_enter+0x9e4/0x2c10
[ 58.063761][ T5085] do_syscall_64+0x39/0xb0
[ 58.068189][ T5085] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 58.074099][ T5085] page last free stack trace:
[ 58.078765][ T5085] free_pcp_prepare+0x4d0/0x910
[ 58.083624][ T5085] free_unref_page_list+0x176/0xcd0
[ 58.088834][ T5085] release_pages+0xcb1/0x1330
[ 58.093519][ T5085] tlb_batch_pages_flush+0xa8/0x1a0
[ 58.098726][ T5085] tlb_finish_mmu+0x14b/0x7e0
[ 58.103412][ T5085] exit_mmap+0x202/0x7c0
[ 58.107666][ T5085] __mmput+0x128/0x4c0
[ 58.111738][ T5085] mmput+0x60/0x70
[ 58.115464][ T5085] begin_new_exec+0x1027/0x2f80
[ 58.120320][ T5085] load_elf_binary+0x801/0x4ff0
[ 58.125170][ T5085] bprm_execve+0x7fd/0x1ae0
[ 58.129677][ T5085] do_execveat_common+0x72c/0x880
[ 58.134708][ T5085] __x64_sys_execve+0x93/0xc0
[ 58.139394][ T5085] do_syscall_64+0x39/0xb0
[ 58.143812][ T5085] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 58.149722][ T5085]
[ 58.152039][ T5085] Memory state around the buggy address:
[ 58.157666][ T5085] ffff88802c2fe780: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 58.165727][ T5085] ffff88802c2fe800: fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc fc
[ 58.173783][ T5085] >ffff88802c2fe880: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb
[ 58.181838][ T5085] ^
[ 58.189545][ T5085] ffff88802c2fe900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 58.197601][ T5085] ffff88802c2fe980: fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 58.205654][ T5085] ==================================================================
[ 58.213706][ T5085] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[ 58.220905][ T5085] CPU: 1 PID: 5085 Comm: syz-executor198 Not tainted 6.2.0-rc3-next-20230112-syzkaller #0
[ 58.230810][ T5085] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
[ 58.240877][ T5085] Call Trace:
[ 58.244164][ T5085]
[ 58.247096][ T5085] dump_stack_lvl+0xd1/0x138
[ 58.251696][ T5085] panic+0x2cc/0x626
[ 58.255607][ T5085] ? panic_print_sys_info.part.0+0x112/0x112
[ 58.261610][ T5085] ? lock_downgrade+0x6e0/0x6e0
[ 58.266472][ T5085] ? dump_page.cold+0x21d/0x255
[ 58.271347][ T5085] check_panic_on_warn.cold+0x19/0x35
[ 58.276741][ T5085] end_report.part.0+0x36/0x73
[ 58.282316][ T5085] ? __wake_up_common+0x637/0x650
[ 58.287566][ T5085] kasan_report.cold+0xa/0xf
[ 58.292436][ T5085] ? __wake_up_common+0x637/0x650
[ 58.297654][ T5085] __wake_up_common+0x637/0x650
[ 58.302515][ T5085] __wake_up_common_lock+0xd4/0x140
[ 58.307728][ T5085] ? __wake_up_common+0x650/0x650
[ 58.312762][ T5085] ? sock_def_wakeup+0x4/0x2d0
[ 58.317546][ T5085] ? rcu_read_lock_sched_held+0x3e/0x70
[ 58.323109][ T5085] sock_def_wakeup+0xea/0x2d0
[ 58.327803][ T5085] sctp_do_sm+0x4080/0x5290
[ 58.332327][ T5085] ? sctp_do_8_2_transport_strike.constprop.0+0xb40/0xb40
[ 58.339458][ T5085] ? rcu_read_lock_sched_held+0x3e/0x70
[ 58.345009][ T5085] ? trace_kmem_cache_alloc+0xb1/0x110
[ 58.350487][ T5085] ? kmem_cache_alloc+0x1c5/0x320
[ 58.355523][ T5085] ? sctp_make_abort_user+0x240/0x4b0
[ 58.360901][ T5085] ? lockdep_hardirqs_on+0x7d/0x100
[ 58.366111][ T5085] ? sctp_make_op_error+0x310/0x310
[ 58.371316][ T5085] sctp_primitive_ABORT+0x9f/0xc0
[ 58.376350][ T5085] sctp_close+0x23f/0x940
[ 58.380697][ T5085] ? sctp_assoc_ulpevent_type_set+0x380/0x380
[ 58.386782][ T5085] ? __sock_release+0x86/0x280
[ 58.391551][ T5085] ? lock_acquire+0x32/0xc0
[ 58.396057][ T5085] ? __sock_release+0x86/0x280
[ 58.400827][ T5085] ? ip_mc_drop_socket+0x1a/0x290
[ 58.405858][ T5085] inet_release+0x132/0x270
[ 58.410381][ T5085] inet6_release+0x50/0x70
[ 58.414811][ T5085] __sock_release+0xcd/0x280
[ 58.419405][ T5085] sock_close+0x1c/0x20
[ 58.423562][ T5085] __fput+0x27c/0xa90
[ 58.427558][ T5085] ? __sock_release+0x280/0x280
[ 58.432414][ T5085] task_work_run+0x16f/0x270
[ 58.437022][ T5085] ? task_work_cancel+0x30/0x30
[ 58.441888][ T5085] ? do_raw_spin_unlock+0x175/0x230
[ 58.447097][ T5085] do_exit+0xb17/0x2a90
[ 58.451273][ T5085] ? lock_downgrade+0x6e0/0x6e0
[ 58.456128][ T5085] ? do_raw_spin_lock+0x124/0x2b0
[ 58.461158][ T5085] ? mm_update_next_owner+0x7b0/0x7b0
[ 58.466547][ T5085] ? rwlock_bug.part.0+0x90/0x90
[ 58.471491][ T5085] ? _raw_spin_unlock_irq+0x23/0x50
[ 58.476710][ T5085] do_group_exit+0xd4/0x2a0
[ 58.481229][ T5085] __x64_sys_exit_group+0x3e/0x50
[ 58.486254][ T5085] do_syscall_64+0x39/0xb0
[ 58.490679][ T5085] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 58.496586][ T5085] RIP: 0033:0x7ffbdc4ba909
[ 58.500999][ T5085] Code: Unable to access opcode bytes at 0x7ffbdc4ba8df.
[ 58.508008][ T5085] RSP: 002b:00007fffe16dc638 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[ 58.516425][ T5085] RAX: ffffffffffffffda RBX: 00007ffbdc52e290 RCX: 00007ffbdc4ba909
[ 58.524398][ T5085] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
[ 58.532370][ T5085] RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 000000000000001c
[ 58.540339][ T5085] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffbdc52e290
[ 58.548309][ T5085] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
[ 58.556289][ T5085]
[ 58.559451][ T5085] Kernel Offset: disabled
[ 58.563779][ T5085] Rebooting in 86400 seconds..