./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2464452979 <...> Warning: Permanently added '10.128.0.38' (ED25519) to the list of known hosts. execve("./syz-executor2464452979", ["./syz-executor2464452979"], 0x7ffc66b96a10 /* 10 vars */) = 0 brk(NULL) = 0x55557df59000 brk(0x55557df59d00) = 0x55557df59d00 arch_prctl(ARCH_SET_FS, 0x55557df59380) = 0 set_tid_address(0x55557df59650) = 5829 set_robust_list(0x55557df59660, 24) = 0 rseq(0x55557df59ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2464452979", 4096) = 28 getrandom("\xe4\x29\xf3\x10\xab\xa3\x5c\x43", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557df59d00 brk(0x55557df7ad00) = 0x55557df7ad00 brk(0x55557df7b000) = 0x55557df7b000 mprotect(0x7f6e47f68000, 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 5830 attached , child_tidptr=0x55557df59650) = 5830 [pid 5830] set_robust_list(0x55557df59660, 24) = 0 [pid 5830] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5830] setpgid(0, 0) = 0 [pid 5830] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5830] write(3, "1000", 4) = 4 [pid 5830] close(3) = 0 [pid 5830] write(1, "executing program\n", 18executing program ) = 18 [pid 5830] 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 5830] mmap(NULL, 1048640, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_POPULATE, 3, 0) = 0x7f6e47db3000 [pid 5830] mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_POPULATE, 3, 0x10000000) = 0x7f6e47bb3000 [pid 5830] clock_gettime(CLOCK_REALTIME, {tv_sec=1735118536, tv_nsec=721524627}) = 0 [pid 5830] io_uring_enter(3, 27469, 0, 0, NULL, 0) = 1 [pid 5830] eventfd2(0, 0) = 4 [pid 5830] io_uring_register(3, IORING_REGISTER_EVENTFD, [4], 1) = 0 [pid 5830] io_uring_enter(3, 0, 3, IORING_ENTER_GETEVENTS|IORING_ENTER_SQ_WAKEUP|IORING_ENTER_SQ_WAIT, NULL, 0 [pid 5829] kill(-5830, SIGKILL) = 0 [pid 5830] <... io_uring_enter resumed>) = ? [ 73.984734][ T35] [ 73.987363][ T35] ============================= [ 73.992749][ T35] [ BUG: Invalid wait context ] [ 73.997725][ T35] 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 Not tainted [ 74.005187][ T35] ----------------------------- [ 74.011030][ T35] kworker/u8:2/35 is trying to lock: [ 74.016891][ T35] ffff888033f47a20 (&ctx->wqh){....}-{3:3}, at: eventfd_signal_mask+0x7a/0x1f0 [ 74.026644][ T35] other info that might help us debug this: [ 74.032987][ T35] context-{5:5} [ 74.037192][ T35] 6 locks held by kworker/u8:2/35: [ 74.042694][ T35] #0: ffff88801bb04948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 [ 74.054041][ T35] #1: ffffc90000ab7d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 [ 74.068109][ T35] #2: ffff888033bee3d8 (&ctx->completion_lock){+.+.}-{3:3}, at: io_kill_timeouts+0x3c/0x230 [ 74.080399][ T35] #3: ffff888033bee358 (&ctx->timeout_lock){....}-{2:2}, at: io_kill_timeouts+0x4b/0x230 [ 74.091114][ T35] #4: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: io_req_local_work_add+0xb5/0x5c0 [ 74.101813][ T35] #5: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: io_eventfd_grab+0xc2/0x6a0 [ 74.112877][ T35] stack backtrace: [ 74.116810][ T35] CPU: 0 UID: 0 PID: 35 Comm: kworker/u8:2 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 [ 74.127877][ T35] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 74.140686][ T35] Workqueue: iou_exit io_ring_exit_work [ 74.146457][ T35] Call Trace: [ 74.149737][ T35] [ 74.152862][ T35] dump_stack_lvl+0x241/0x360 [ 74.157590][ T35] ? __pfx_dump_stack_lvl+0x10/0x10 [ 74.162902][ T35] ? __pfx__printk+0x10/0x10 [ 74.167640][ T35] __lock_acquire+0x15a8/0x2100 [ 74.172810][ T35] lock_acquire+0x1ed/0x550 [ 74.177913][ T35] ? eventfd_signal_mask+0x7a/0x1f0 [ 74.183753][ T35] ? __pfx_lock_acquire+0x10/0x10 [ 74.189410][ T35] ? __pfx_lock_acquire+0x10/0x10 [ 74.196202][ T35] _raw_spin_lock_irqsave+0xd5/0x120 [ 74.201721][ T35] ? eventfd_signal_mask+0x7a/0x1f0 [ 74.207055][ T35] ? __pfx__raw_spin_lock_irqsave+0x10/0x10 [ 74.213348][ T35] ? io_eventfd_grab+0x438/0x6a0 [ 74.218303][ T35] ? io_eventfd_grab+0xc2/0x6a0 [ 74.223287][ T35] ? __pfx_io_eventfd_grab+0x10/0x10 [ 74.228694][ T35] eventfd_signal_mask+0x7a/0x1f0 [ 74.233859][ T35] io_eventfd_signal+0x96/0x1d0 [ 74.239011][ T35] io_req_local_work_add+0x408/0x5c0 [ 74.244728][ T35] ? io_req_local_work_add+0xb5/0x5c0 [ 74.250474][ T35] ? __pfx_io_req_local_work_add+0x10/0x10 [ 74.256862][ T35] ? hrtimer_try_to_cancel+0x3b6/0x410 [ 74.262696][ T35] ? __io_req_task_work_add+0xfc/0x370 [ 74.268718][ T35] io_kill_timeout+0x27b/0x310 [ 74.274092][ T35] io_kill_timeouts+0x1b7/0x230 [ 74.279560][ T35] io_uring_try_cancel_requests+0x480/0x560 [ 74.285905][ T35] ? __pfx_io_uring_try_cancel_requests+0x10/0x10 [ 74.292776][ T35] ? do_raw_spin_unlock+0x13c/0x8b0 [ 74.298321][ T35] ? io_ring_exit_work+0x7d1/0x8a0 [ 74.303907][ T35] ? __io_fallback_tw+0x1df/0x200 [ 74.309564][ T35] ? __io_fallback_tw+0xf1/0x200 [ 74.315365][ T35] io_ring_exit_work+0x231/0x8a0 [ 74.321640][ T35] ? __pfx_io_ring_exit_work+0x10/0x10 [ 74.328603][ T35] ? process_scheduled_works+0x976/0x1840 [ 74.334613][ T35] process_scheduled_works+0xa66/0x1840 [ 74.340650][ T35] ? __pfx_process_scheduled_works+0x10/0x10 [ 74.347520][ T35] ? assign_work+0x364/0x3d0 [ 74.353362][ T35] worker_thread+0x870/0xd30 [ 74.358057][ T35] ? __kthread_parkme+0x169/0x1d0 [ 74.363131][ T35] ? __pfx_worker_thread+0x10/0x10 [ 74.369033][ T35] kthread+0x2f0/0x390 [ 74.373152][ T35] ? __pfx_worker_thread+0x10/0x10 [ 74.379666][ T35] ? __pfx_kthread+0x10/0x10 [pid 5829] kill(5830, SIGKILL) = 0 [pid 5830] +++ killed by SIGKILL +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=5830, 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=0x55557df59650) = 5832 ./strace-static-x86_64: Process 5832 attached [pid 5832] set_robust_list(0x55557df59660, 24) = 0 [pid 5832] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5832] setpgid(0, 0) = 0 [pid 5832] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5832] write(3, "1000", 4) = 4 [pid 5832] close(3) = 0 executing program [pid 5832] write(1, "executing program\n", 18) = 18 [pid 5832] 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 5832] mmap(NULL, 1048640, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_POPULATE, 3, 0) = 0x7f6e47db3000 [pid 5832] mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_POPULATE, 3, 0x10000000) = 0x7f6e47bb3000 [ 74.384726][ T35] ret_from_fork+0x4b/0x80 [ 74.389672][ T35] ? __pfx_kthread+0x10/0x10 [ 74.394992][ T35] ret_from_fork_asm+0x1a/0x30 [ 74.401212][ T35] [pid 5832] clock_gettime(CLOCK_REALTIME, {tv_sec=1735118542, tv_nsec=145118672}) = 0 [pid 5832] io_uring_enter(3, 27469, 0, 0, NULL, 0) = 1 [pid 5832] eventfd2(0, 0) = 4 [pid 5832] io_uring_register(3, IORING_REGISTER_EVENTFD, [4], 1) = 0 [pid 5832] io_uring_enter(3, 0, 3, IORING_ENTER_GETEVENTS|IORING_ENTER_SQ_WAKEUP|IORING_ENTER_SQ_WAIT, NULL, 0 [pid 5829] kill(-5832, SIGKILL) = 0 [pid 5829] kill(5832, SIGKILL) = 0 [pid 5832] <... io_uring_enter resumed>) = ? [pid 5832] +++ killed by SIGKILL +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=5832, 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=0x55557df59650) = 5835 [pid 5835] set_robust_list(0x55557df59660, 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) = 0x7f6e47db3000 [pid 5835] mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_POPULATE, 3, 0x10000000) = 0x7f6e47bb3000 [pid 5835] clock_gettime(CLOCK_REALTIME, {tv_sec=1735118547, tv_nsec=199103717}) = 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 [ 81.996262][ T910] cfg80211: failed to load regulatory.db