./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1070240183 <...> Warning: Permanently added '10.128.1.130' (ED25519) to the list of known hosts. execve("./syz-executor1070240183", ["./syz-executor1070240183"], 0x7fff54018850 /* 10 vars */) = 0 brk(NULL) = 0x55558bc8b000 brk(0x55558bc8bd00) = 0x55558bc8bd00 arch_prctl(ARCH_SET_FS, 0x55558bc8b380) = 0 set_tid_address(0x55558bc8b650) = 5830 set_robust_list(0x55558bc8b660, 24) = 0 rseq(0x55558bc8bca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1070240183", 4096) = 28 getrandom("\xe0\xed\xe2\x0e\x57\xed\x68\xa4", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55558bc8bd00 brk(0x55558bcacd00) = 0x55558bcacd00 brk(0x55558bcad000) = 0x55558bcad000 mprotect(0x7f299b4dc000, 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 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5831 attached [pid 5831] set_robust_list(0x55558bc8b660, 24 [pid 5830] <... clone resumed>, child_tidptr=0x55558bc8b650) = 5831 [pid 5831] <... set_robust_list resumed>) = 0 [pid 5831] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5831] setpgid(0, 0) = 0 [pid 5831] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] write(3, "1000", 4) = 4 [pid 5831] close(3) = 0 [pid 5831] write(1, "executing program\n", 18executing program ) = 18 [pid 5831] io_uring_setup(17987, {flags=IORING_SETUP_SUBMIT_ALL|IORING_SETUP_COOP_TASKRUN|0x13000, sq_thread_cpu=0xfffffffb, sq_thread_idle=0, sq_entries=32768, cq_entries=65536, 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|0xe000, sq_off={head=0, tail=4, ring_mask=16, ring_entries=24, flags=36, dropped=32, array=0}, cq_off={head=8, tail=12, ring_mask=20, ring_entries=28, overflow=44, cqes=64, flags=40}}) = 3 [pid 5831] mmap(NULL, 1048640, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_POPULATE, 3, 0) = 0x7f299b327000 [pid 5831] mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_POPULATE, 3, 0x10000000) = 0x7f299b127000 [pid 5831] clock_gettime(CLOCK_REALTIME, {tv_sec=1735149351, tv_nsec=213885210}) = 0 [pid 5831] io_uring_enter(3, 27469, 0, 0, NULL, 0) = 1 [pid 5831] eventfd2(0, 0) = 4 [pid 5831] io_uring_register(3, IORING_REGISTER_EVENTFD, [4], 1) = 0 [pid 5831] io_uring_enter(3, 0, 3, IORING_ENTER_GETEVENTS|IORING_ENTER_SQ_WAKEUP|IORING_ENTER_SQ_WAIT, NULL, 0 [pid 5830] kill(-5831, SIGKILL) = 0 [pid 5831] <... io_uring_enter resumed>) = ? [ 65.773761][ T35] [ 65.776109][ T35] ============================= [ 65.780935][ T35] [ BUG: Invalid wait context ] [ 65.785760][ T35] 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 Not tainted [ 65.792842][ T35] ----------------------------- [ 65.797664][ T35] kworker/u8:2/35 is trying to lock: [ 65.802924][ T35] ffff8880322e1520 (&ctx->wqh){....}-{3:3}, at: eventfd_signal_mask+0x7a/0x1f0 [ 65.811885][ T35] other info that might help us debug this: [ 65.817753][ T35] context-{5:5} [ 65.821190][ T35] 6 locks held by kworker/u8:2/35: [ 65.826275][ T35] #0: ffff888145ae6148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 [ 65.837489][ T35] #1: ffffc90000ab7d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 [ 65.849647][ T35] #2: ffff88802fefc3d8 (&ctx->completion_lock){+.+.}-{3:3}, at: io_kill_timeouts+0x3c/0x230 [ 65.859807][ T35] #3: ffff88802fefc358 (&ctx->timeout_lock){....}-{2:2}, at: io_kill_timeouts+0x4b/0x230 [ 65.869705][ T35] #4: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: io_req_local_work_add+0xb5/0x5c0 [ 65.879627][ T35] #5: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: io_eventfd_grab+0xc2/0x6a0 [ 65.889013][ T35] stack backtrace: [ 65.892734][ T35] CPU: 0 UID: 0 PID: 35 Comm: kworker/u8:2 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 [ 65.903390][ T35] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 65.913430][ T35] Workqueue: iou_exit io_ring_exit_work [ 65.918973][ T35] Call Trace: [ 65.922256][ T35] [ 65.925171][ T35] dump_stack_lvl+0x241/0x360 [ 65.929851][ T35] ? __pfx_dump_stack_lvl+0x10/0x10 [ 65.935037][ T35] ? __pfx__printk+0x10/0x10 [ 65.939610][ T35] __lock_acquire+0x15a8/0x2100 [ 65.944444][ T35] lock_acquire+0x1ed/0x550 [ 65.948927][ T35] ? eventfd_signal_mask+0x7a/0x1f0 [ 65.954109][ T35] ? __pfx_lock_acquire+0x10/0x10 [ 65.959112][ T35] ? __pfx_lock_acquire+0x10/0x10 [ 65.964117][ T35] _raw_spin_lock_irqsave+0xd5/0x120 [ 65.969404][ T35] ? eventfd_signal_mask+0x7a/0x1f0 [ 65.974587][ T35] ? __pfx__raw_spin_lock_irqsave+0x10/0x10 [ 65.980481][ T35] ? io_eventfd_grab+0x438/0x6a0 [ 65.985398][ T35] ? io_eventfd_grab+0xc2/0x6a0 [ 65.990227][ T35] ? __pfx_io_eventfd_grab+0x10/0x10 [ 65.995504][ T35] eventfd_signal_mask+0x7a/0x1f0 [ 66.000520][ T35] io_eventfd_signal+0x96/0x1d0 [ 66.005357][ T35] io_req_local_work_add+0x408/0x5c0 [ 66.010635][ T35] ? io_req_local_work_add+0xb5/0x5c0 [ 66.016001][ T35] ? __pfx_io_req_local_work_add+0x10/0x10 [ 66.021903][ T35] ? hrtimer_try_to_cancel+0x3b6/0x410 [ 66.027356][ T35] ? __io_req_task_work_add+0xfc/0x370 [ 66.032802][ T35] io_kill_timeout+0x27b/0x310 [ 66.037555][ T35] io_kill_timeouts+0x1b7/0x230 [ 66.042408][ T35] io_uring_try_cancel_requests+0x480/0x560 [ 66.048298][ T35] ? __pfx_io_uring_try_cancel_requests+0x10/0x10 [ 66.054704][ T35] ? do_raw_spin_unlock+0x13c/0x8b0 [ 66.059884][ T35] ? io_ring_exit_work+0x7d1/0x8a0 [ 66.064979][ T35] ? __io_fallback_tw+0x1df/0x200 [ 66.069985][ T35] ? __io_fallback_tw+0xf1/0x200 [ 66.074912][ T35] io_ring_exit_work+0x231/0x8a0 [ 66.079836][ T35] ? __pfx_io_ring_exit_work+0x10/0x10 [ 66.085283][ T35] ? process_scheduled_works+0x976/0x1840 [ 66.090983][ T35] process_scheduled_works+0xa66/0x1840 [ 66.096515][ T35] ? __pfx_process_scheduled_works+0x10/0x10 [ 66.102493][ T35] ? assign_work+0x364/0x3d0 [ 66.107065][ T35] worker_thread+0x870/0xd30 [ 66.111635][ T35] ? __kthread_parkme+0x169/0x1d0 [ 66.116643][ T35] ? __pfx_worker_thread+0x10/0x10 [pid 5830] kill(5831, SIGKILL) = 0 [pid 5831] +++ killed by SIGKILL +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=5831, si_uid=0, si_status=SIGKILL, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558bc8b650) = 5833 ./strace-static-x86_64: Process 5833 attached [pid 5833] set_robust_list(0x55558bc8b660, 24) = 0 [pid 5833] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5833] setpgid(0, 0) = 0 [pid 5833] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [ 66.121732][ T35] kthread+0x2f0/0x390 [ 66.125784][ T35] ? __pfx_worker_thread+0x10/0x10 [ 66.130876][ T35] ? __pfx_kthread+0x10/0x10 [ 66.135447][ T35] ret_from_fork+0x4b/0x80 [ 66.139843][ T35] ? __pfx_kthread+0x10/0x10 [ 66.144413][ T35] ret_from_fork_asm+0x1a/0x30 [ 66.149157][ T35] [pid 5833] write(3, "1000", 4) = 4 [pid 5833] close(3) = 0 executing program [pid 5833] write(1, "executing program\n", 18) = 18 [pid 5833] io_uring_setup(17987, {flags=IORING_SETUP_SUBMIT_ALL|IORING_SETUP_COOP_TASKRUN|0x13000, sq_thread_cpu=0xfffffffb, sq_thread_idle=0, sq_entries=32768, cq_entries=65536, 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|0xe000, sq_off={head=0, tail=4, ring_mask=16, ring_entries=24, flags=36, dropped=32, array=0}, cq_off={head=8, tail=12, ring_mask=20, ring_entries=28, overflow=44, cqes=64, flags=40}}) = 3 [pid 5833] mmap(NULL, 1048640, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_POPULATE, 3, 0) = 0x7f299b327000 [pid 5833] mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_POPULATE, 3, 0x10000000) = 0x7f299b127000 [pid 5833] clock_gettime(CLOCK_REALTIME, {tv_sec=1735149356, tv_nsec=616690746}) = 0 [pid 5833] io_uring_enter(3, 27469, 0, 0, NULL, 0) = 1 [pid 5833] eventfd2(0, 0) = 4 [pid 5833] io_uring_register(3, IORING_REGISTER_EVENTFD, [4], 1) = 0 [pid 5833] io_uring_enter(3, 0, 3, IORING_ENTER_GETEVENTS|IORING_ENTER_SQ_WAKEUP|IORING_ENTER_SQ_WAIT, NULL, 0 [pid 5830] kill(-5833, SIGKILL) = 0 [pid 5833] <... io_uring_enter resumed>) = ? [pid 5830] kill(5833, SIGKILL) = 0 [pid 5833] +++ killed by SIGKILL +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=5833, si_uid=0, si_status=SIGKILL, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5835 attached , child_tidptr=0x55558bc8b650) = 5835 [pid 5835] set_robust_list(0x55558bc8b660, 24) = 0 [pid 5835] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5835] setpgid(0, 0) = 0 [pid 5835] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5835] write(3, "1000", 4) = 4 [pid 5835] close(3) = 0 [pid 5835] write(1, "executing program\n", 18executing program ) = 18 [pid 5835] io_uring_setup(17987, {flags=IORING_SETUP_SUBMIT_ALL|IORING_SETUP_COOP_TASKRUN|0x13000, sq_thread_cpu=0xfffffffb, sq_thread_idle=0, sq_entries=32768, cq_entries=65536, 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|0xe000, sq_off={head=0, tail=4, ring_mask=16, ring_entries=24, flags=36, dropped=32, array=0}, cq_off={head=8, tail=12, ring_mask=20, ring_entries=28, overflow=44, cqes=64, flags=40}}) = 3 [pid 5835] mmap(NULL, 1048640, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_POPULATE, 3, 0) = 0x7f299b327000 [pid 5835] mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_POPULATE, 3, 0x10000000) = 0x7f299b127000 [pid 5835] clock_gettime(CLOCK_REALTIME, {tv_sec=1735149361, tv_nsec=643598495}) = 0 [pid 5835] io_uring_enter(3, 27469, 0, 0, NULL, 0) = 1 [pid 5835] eventfd2(0, 0) = 4 [pid 5835] io_uring_register(3, IORING_REGISTER_EVENTFD, [4], 1) = 0