Extracting prog: 2m51.802491106s Minimizing prog: 17m13.387530021s Simplifying prog options: 0s Extracting C: 1m11.071038318s Simplifying C: 6m42.517014588s extracting reproducer from 79 programs testing a last program of every proc single: executing 29 programs separately with timeout 30s testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$kvm-ioctl$KVM_CREATE_VM-socket$inet_smc-setsockopt$IP_VS_SO_SET_ADD-setsockopt$IP_VS_SO_SET_ADD-ioctl$KVM_CREATE_VCPU-ioctl$KVM_SET_MSRS detailed listing: executing program 0: r0 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000280), 0x0, 0x0) r1 = ioctl$KVM_CREATE_VM(r0, 0xae01, 0x0) r2 = socket$inet_smc(0x2b, 0x1, 0x0) setsockopt$IP_VS_SO_SET_ADD(r2, 0x0, 0x482, &(0x7f0000000000)={0x6, @local, 0x0, 0x0, 'lc\x00', 0x0, 0x5, 0x10}, 0xfffffffffffffcb0) setsockopt$IP_VS_SO_SET_ADD(r2, 0x0, 0x483, &(0x7f0000000000)={0x6, @local, 0x0, 0x0, 'ovf\x00'}, 0x2c) r3 = ioctl$KVM_CREATE_VCPU(r1, 0xae41, 0x0) ioctl$KVM_SET_MSRS(r3, 0x4008ae89, &(0x7f0000000000)={0x1, 0x0, [{0x4000009d, 0x0, 0x7fffffff}]}) program did not crash testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-socket$nl_rdma-setsockopt$netlink_NETLINK_NO_ENOBUFS-socket$kcm-sendmsg$kcm-syz_usb_control_io$hid-syz_usb_control_io detailed listing: executing program 0: r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f00000005c0)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x40, 0x4b4, 0x7b1, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0x0, 0x0, [{{0x9, 0x4, 0x0, 0x0, 0x1, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x0, 0x0, 0x1, {0x22, 0x5}}}}]}}]}}, 0x0) r1 = socket$nl_rdma(0x10, 0x3, 0x14) setsockopt$netlink_NETLINK_NO_ENOBUFS(r1, 0x10e, 0x5, &(0x7f0000000040)=0x7, 0x4) r2 = socket$kcm(0x10, 0x2, 0x10) sendmsg$kcm(r2, &(0x7f0000000000)={0x0, 0x0, &(0x7f0000000080)=[{&(0x7f0000000500)="1400000035000b63d25a80da8c2594f90724fc60", 0x14}], 0x1}, 0x0) syz_usb_control_io$hid(r0, 0x0, 0x0) syz_usb_control_io(r0, &(0x7f00000015c0)={0x2c, &(0x7f0000000000)=ANY=[@ANYBLOB="000005"], 0x0, 0x0, 0x0, 0x0}, 0x0) program did not crash testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): bpf$BPF_TASK_FD_QUERY-openat$cgroup_root-fchdir-openat$dir-socket$inet6_mptcp-connect$inet6-openat$kvm-ioctl$KVM_CREATE_VM-dup-ioctl$KVM_CREATE_VCPU-add_key-ioctl$KVM_SET_USER_MEMORY_REGION-syz_kvm_setup_cpu$x86-capset-rt_sigaction-syz_kvm_setup_cpu$x86-ioctl$KVM_REGISTER_COALESCED_MMIO-ioctl$KVM_NMI-ioctl$KVM_RUN-memfd_create-write-mmap-setsockopt$sock_int-syz_emit_ethernet detailed listing: executing program 0: bpf$BPF_TASK_FD_QUERY(0x14, &(0x7f0000000a80)={0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x2c, &(0x7f0000000000)='/proc/sys/net/\x00\x00v4\x00\x00s/\x92ync_\x00le\xf44.\xab%nN\xd4\xa2\x88\x00\xd1l,'}, 0x30) r0 = openat$cgroup_root(0xffffffffffffff9c, &(0x7f0000000000), 0x200002, 0x0) fchdir(r0) openat$dir(0xffffffffffffff9c, &(0x7f0000000040)='.\x00', 0x515001, 0x0) r1 = socket$inet6_mptcp(0xa, 0x1, 0x106) connect$inet6(r1, &(0x7f0000000280)={0xa, 0x4e24, 0x0, @dev={0xfe, 0x80, '\x00', 0x15}, 0x3}, 0x1c) r2 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000140), 0x0, 0x0) r3 = ioctl$KVM_CREATE_VM(r2, 0xae01, 0x0) r4 = dup(r3) r5 = ioctl$KVM_CREATE_VCPU(r4, 0xae41, 0x0) add_key(&(0x7f0000000140)='rxrpc\x00', 0x0, 0x0, 0x0, 0xfffffffffffffffe) ioctl$KVM_SET_USER_MEMORY_REGION(r3, 0x4020ae46, &(0x7f0000000080)={0x0, 0x2, 0x0, 0x2000, &(0x7f0000000000/0x2000)=nil}) syz_kvm_setup_cpu$x86(0xffffffffffffffff, r5, &(0x7f0000000000/0x18000)=nil, &(0x7f0000000300)=[@text64={0x40, 0x0}], 0x1, 0x0, 0x0, 0x0) capset(&(0x7f0000000040)={0x20080522}, &(0x7f0000000080)) rt_sigaction(0xd, &(0x7f00000001c0)={&(0x7f00000000c0)="0f4211450f45248a470f830d04da7a0fc010637f0f61532c66460f61c4c4227979e96642590fae344bf341e1b0c46315792e0f", 0x48000000, 0x0, {[0x6]}}, 0x0, 0x0, 0x0) syz_kvm_setup_cpu$x86(r3, 0xffffffffffffffff, &(0x7f0000000000/0x18000)=nil, &(0x7f0000000200)=[@text64={0x40, 0x0}], 0x1, 0x0, 0x0, 0x0) ioctl$KVM_REGISTER_COALESCED_MMIO(r3, 0x4010ae67, &(0x7f0000000180)={0x0, 0xd000}) ioctl$KVM_NMI(r5, 0xae9a) ioctl$KVM_RUN(r5, 0xae80, 0x0) r6 = memfd_create(&(0x7f00000000c0)='v\xa6\xf5lj6,r\xaf\xe8\x10/\xecg\xed\xe3h\x80\xb8!y6w\xda\xdd\xb9\nR\xe8@\x99\xb9\x8a\x0fZ\t\x90\x8bp\x10\x84\x86t\x8a\xba\xc6\xfb\xd2\f\xef&\xad\xa8M\xe8\b\xb0#\xac)\x81\x1e\x8a\f\x11D\x90\xf5\xbb\x1c\xac\xc7\xad\xdc\\\x11\x95\xf8\xe6\xa7\xc3\xbc\x18+\x92\x92N\a\xa7\x7fN\x9bL\xf8\xebQs\x02\xf9\xadi\x8f\x0f\xff\x02n\x9d\x85\xea\x1a*\x1bC\xd8\x1c\xe8\x9bYS', 0x0) write(r6, &(0x7f0000002140)='ic', 0x2) mmap(&(0x7f0000000000/0x2000)=nil, 0x2000, 0x1, 0x11, r6, 0x0) setsockopt$sock_int(r1, 0x1, 0x9, &(0x7f0000000100)=0x8, 0x4) syz_emit_ethernet(0x85, &(0x7f0000000000)={@remote, @multicast, @void, {@ipv6={0x86dd, @icmpv6={0x9, 0x6, "2d981c", 0x4f, 0x3a, 0x1, @mcast2, @mcast1, {[@fragment={0x2c, 0x0, 0xc, 0x0, 0x0, 0x1d, 0x66}], @ndisc_ns={0x87, 0x0, 0x0, @rand_addr=' \x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01', [{0x19, 0x6, "18f72d008dcdf6472b077efc7578c3921c62e59aa7d9c16c542efea924b1b33629b784cffd332d5daefb365dd73c687f3d"}]}}}}}}, &(0x7f0000000140)={0x0, 0x2, [0x2c3, 0x563, 0x497, 0x9d9]}) program did not crash testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$kcm-syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter-sendmsg$kcm detailed listing: executing program 0: r0 = socket$kcm(0x10, 0x3, 0x10) r1 = syz_io_uring_setup(0x4643, &(0x7f0000000600)={0x0, 0x0, 0x13580, 0xfffffffb}, &(0x7f0000000100)=0x0, &(0x7f0000000280)=0x0) clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) syz_io_uring_submit(r2, r3, &(0x7f0000000040)=@IORING_OP_TIMEOUT={0xb, 0x6, 0x0, 0x0, 0x0, &(0x7f0000001400)={r4, r5+10000000}}) io_uring_enter(r1, 0x6b4d, 0x0, 0x0, 0x0, 0x0) r6 = eventfd2(0x0, 0x0) io_uring_register$IORING_REGISTER_EVENTFD(r1, 0x4, &(0x7f0000000180)=r6, 0x1) io_uring_enter(r1, 0x0, 0x3, 0x7, 0x0, 0x0) sendmsg$kcm(r0, &(0x7f0000000000)={0x0, 0xffffff0a, &(0x7f0000000080)=[{&(0x7f0000000040)="c01803001d000b63d25a80648c2594f90124fc60100c064001000009053582c137153e370248078000f01700d1bd", 0x33fe0}], 0x1, 0x0, 0x0, 0x4000}, 0x3500000000000000) program crashed: WARNING: locking bug in eventfd_signal_mask single: successfully extracted reproducer found reproducer with 9 syscalls minimizing guilty program testing program (duration=52.01501211s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$kcm-syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter detailed listing: executing program 0: socket$kcm(0x10, 0x3, 0x10) r0 = syz_io_uring_setup(0x4643, &(0x7f0000000600)={0x0, 0x0, 0x13580, 0xfffffffb}, &(0x7f0000000100)=0x0, &(0x7f0000000280)=0x0) clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) syz_io_uring_submit(r1, r2, &(0x7f0000000040)=@IORING_OP_TIMEOUT={0xb, 0x6, 0x0, 0x0, 0x0, &(0x7f0000001400)={r3, r4+10000000}}) io_uring_enter(r0, 0x6b4d, 0x0, 0x0, 0x0, 0x0) r5 = eventfd2(0x0, 0x0) io_uring_register$IORING_REGISTER_EVENTFD(r0, 0x4, &(0x7f0000000180)=r5, 0x1) io_uring_enter(r0, 0x0, 0x3, 0x7, 0x0, 0x0) program crashed: WARNING: locking bug in eventfd_signal_mask testing program (duration=52.01501211s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$kcm-syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD detailed listing: executing program 0: socket$kcm(0x10, 0x3, 0x10) r0 = syz_io_uring_setup(0x4643, &(0x7f0000000600)={0x0, 0x0, 0x13580, 0xfffffffb}, &(0x7f0000000100)=0x0, &(0x7f0000000280)=0x0) clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) syz_io_uring_submit(r1, r2, &(0x7f0000000040)=@IORING_OP_TIMEOUT={0xb, 0x6, 0x0, 0x0, 0x0, &(0x7f0000001400)={r3, r4+10000000}}) io_uring_enter(r0, 0x6b4d, 0x0, 0x0, 0x0, 0x0) r5 = eventfd2(0x0, 0x0) io_uring_register$IORING_REGISTER_EVENTFD(r0, 0x4, &(0x7f0000000180)=r5, 0x1) program did not crash testing program (duration=52.01501211s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$kcm-syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_enter detailed listing: executing program 0: socket$kcm(0x10, 0x3, 0x10) r0 = syz_io_uring_setup(0x4643, &(0x7f0000000600)={0x0, 0x0, 0x13580, 0xfffffffb}, &(0x7f0000000100)=0x0, &(0x7f0000000280)=0x0) clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) syz_io_uring_submit(r1, r2, &(0x7f0000000040)=@IORING_OP_TIMEOUT={0xb, 0x6, 0x0, 0x0, 0x0, &(0x7f0000001400)={r3, r4+10000000}}) io_uring_enter(r0, 0x6b4d, 0x0, 0x0, 0x0, 0x0) eventfd2(0x0, 0x0) io_uring_enter(r0, 0x0, 0x3, 0x7, 0x0, 0x0) program did not crash testing program (duration=52.01501211s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$kcm-syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter detailed listing: executing program 0: socket$kcm(0x10, 0x3, 0x10) r0 = syz_io_uring_setup(0x4643, &(0x7f0000000600)={0x0, 0x0, 0x13580, 0xfffffffb}, &(0x7f0000000100)=0x0, &(0x7f0000000280)=0x0) clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) syz_io_uring_submit(r1, r2, &(0x7f0000000040)=@IORING_OP_TIMEOUT={0xb, 0x6, 0x0, 0x0, 0x0, &(0x7f0000001400)={r3, r4+10000000}}) io_uring_enter(r0, 0x6b4d, 0x0, 0x0, 0x0, 0x0) io_uring_register$IORING_REGISTER_EVENTFD(r0, 0x4, &(0x7f0000000180), 0x1) io_uring_enter(r0, 0x0, 0x3, 0x7, 0x0, 0x0) program did not crash testing program (duration=52.01501211s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$kcm-syz_io_uring_setup-clock_gettime-syz_io_uring_submit-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter detailed listing: executing program 0: socket$kcm(0x10, 0x3, 0x10) r0 = syz_io_uring_setup(0x4643, &(0x7f0000000600)={0x0, 0x0, 0x13580, 0xfffffffb}, &(0x7f0000000100)=0x0, &(0x7f0000000280)=0x0) clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) syz_io_uring_submit(r1, r2, &(0x7f0000000040)=@IORING_OP_TIMEOUT={0xb, 0x6, 0x0, 0x0, 0x0, &(0x7f0000001400)={r3, r4+10000000}}) r5 = eventfd2(0x0, 0x0) io_uring_register$IORING_REGISTER_EVENTFD(r0, 0x4, &(0x7f0000000180)=r5, 0x1) io_uring_enter(r0, 0x0, 0x3, 0x7, 0x0, 0x0) program did not crash testing program (duration=52.01501211s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$kcm-syz_io_uring_setup-clock_gettime-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter detailed listing: executing program 0: socket$kcm(0x10, 0x3, 0x10) r0 = syz_io_uring_setup(0x4643, &(0x7f0000000600)={0x0, 0x0, 0x13580, 0xfffffffb}, &(0x7f0000000100), &(0x7f0000000280)) clock_gettime(0x0, &(0x7f00000000c0)) io_uring_enter(r0, 0x6b4d, 0x0, 0x0, 0x0, 0x0) r1 = eventfd2(0x0, 0x0) io_uring_register$IORING_REGISTER_EVENTFD(r0, 0x4, &(0x7f0000000180)=r1, 0x1) io_uring_enter(r0, 0x0, 0x3, 0x7, 0x0, 0x0) program did not crash testing program (duration=52.01501211s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$kcm-syz_io_uring_setup-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter detailed listing: executing program 0: socket$kcm(0x10, 0x3, 0x10) r0 = syz_io_uring_setup(0x4643, &(0x7f0000000600)={0x0, 0x0, 0x13580, 0xfffffffb}, &(0x7f0000000100)=0x0, &(0x7f0000000280)=0x0) syz_io_uring_submit(r1, r2, &(0x7f0000000040)=@IORING_OP_TIMEOUT={0xb, 0x6, 0x0, 0x0, 0x0, &(0x7f0000001400)}) io_uring_enter(r0, 0x6b4d, 0x0, 0x0, 0x0, 0x0) r3 = eventfd2(0x0, 0x0) io_uring_register$IORING_REGISTER_EVENTFD(r0, 0x4, &(0x7f0000000180)=r3, 0x1) io_uring_enter(r0, 0x0, 0x3, 0x7, 0x0, 0x0) program did not crash testing program (duration=52.01501211s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$kcm-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter detailed listing: executing program 0: socket$kcm(0x10, 0x3, 0x10) clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) syz_io_uring_submit(0x0, 0x0, &(0x7f0000000040)=@IORING_OP_TIMEOUT={0xb, 0x6, 0x0, 0x0, 0x0, &(0x7f0000001400)={r0, r1+10000000}}) io_uring_enter(0xffffffffffffffff, 0x6b4d, 0x0, 0x0, 0x0, 0x0) r2 = eventfd2(0x0, 0x0) io_uring_register$IORING_REGISTER_EVENTFD(0xffffffffffffffff, 0x4, &(0x7f0000000180)=r2, 0x1) io_uring_enter(0xffffffffffffffff, 0x0, 0x3, 0x7, 0x0, 0x0) program did not crash testing program (duration=52.01501211s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter detailed listing: executing program 0: r0 = syz_io_uring_setup(0x4643, &(0x7f0000000600)={0x0, 0x0, 0x13580, 0xfffffffb}, &(0x7f0000000100)=0x0, &(0x7f0000000280)=0x0) clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) syz_io_uring_submit(r1, r2, &(0x7f0000000040)=@IORING_OP_TIMEOUT={0xb, 0x6, 0x0, 0x0, 0x0, &(0x7f0000001400)={r3, r4+10000000}}) io_uring_enter(r0, 0x6b4d, 0x0, 0x0, 0x0, 0x0) r5 = eventfd2(0x0, 0x0) io_uring_register$IORING_REGISTER_EVENTFD(r0, 0x4, &(0x7f0000000180)=r5, 0x1) io_uring_enter(r0, 0x0, 0x3, 0x7, 0x0, 0x0) program crashed: WARNING: locking bug in eventfd_signal_mask testing program (duration=52.01501211s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter detailed listing: executing program 0: r0 = syz_io_uring_setup(0x4643, 0x0, &(0x7f0000000100)=0x0, &(0x7f0000000280)=0x0) clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) syz_io_uring_submit(r1, r2, &(0x7f0000000040)=@IORING_OP_TIMEOUT={0xb, 0x6, 0x0, 0x0, 0x0, &(0x7f0000001400)={r3, r4+10000000}}) io_uring_enter(r0, 0x6b4d, 0x0, 0x0, 0x0, 0x0) r5 = eventfd2(0x0, 0x0) io_uring_register$IORING_REGISTER_EVENTFD(r0, 0x4, &(0x7f0000000180)=r5, 0x1) io_uring_enter(r0, 0x0, 0x3, 0x7, 0x0, 0x0) program did not crash testing program (duration=52.01501211s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter detailed listing: executing program 0: r0 = syz_io_uring_setup(0x4643, &(0x7f0000000600)={0x0, 0x0, 0x13580, 0xfffffffb}, 0x0, &(0x7f0000000280)=0x0) clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) syz_io_uring_submit(0x0, r1, &(0x7f0000000040)=@IORING_OP_TIMEOUT={0xb, 0x6, 0x0, 0x0, 0x0, &(0x7f0000001400)={r2, r3+10000000}}) io_uring_enter(r0, 0x6b4d, 0x0, 0x0, 0x0, 0x0) r4 = eventfd2(0x0, 0x0) io_uring_register$IORING_REGISTER_EVENTFD(r0, 0x4, &(0x7f0000000180)=r4, 0x1) io_uring_enter(r0, 0x0, 0x3, 0x7, 0x0, 0x0) program did not crash testing program (duration=52.01501211s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter detailed listing: executing program 0: r0 = syz_io_uring_setup(0x4643, &(0x7f0000000600)={0x0, 0x0, 0x13580, 0xfffffffb}, &(0x7f0000000100)=0x0, 0x0) clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) syz_io_uring_submit(r1, 0x0, &(0x7f0000000040)=@IORING_OP_TIMEOUT={0xb, 0x6, 0x0, 0x0, 0x0, &(0x7f0000001400)={r2, r3+10000000}}) io_uring_enter(r0, 0x6b4d, 0x0, 0x0, 0x0, 0x0) r4 = eventfd2(0x0, 0x0) io_uring_register$IORING_REGISTER_EVENTFD(r0, 0x4, &(0x7f0000000180)=r4, 0x1) io_uring_enter(r0, 0x0, 0x3, 0x7, 0x0, 0x0) program did not crash testing program (duration=52.01501211s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter detailed listing: executing program 0: r0 = syz_io_uring_setup(0x4643, &(0x7f0000000600)={0x0, 0x0, 0x13580, 0xfffffffb}, &(0x7f0000000100)=0x0, &(0x7f0000000280)=0x0) clock_gettime(0x0, 0x0) syz_io_uring_submit(r1, r2, &(0x7f0000000040)=@IORING_OP_TIMEOUT={0xb, 0x6, 0x0, 0x0, 0x0, &(0x7f0000001400)}) io_uring_enter(r0, 0x6b4d, 0x0, 0x0, 0x0, 0x0) r3 = eventfd2(0x0, 0x0) io_uring_register$IORING_REGISTER_EVENTFD(r0, 0x4, &(0x7f0000000180)=r3, 0x1) io_uring_enter(r0, 0x0, 0x3, 0x7, 0x0, 0x0) program did not crash testing program (duration=52.01501211s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter detailed listing: executing program 0: r0 = syz_io_uring_setup(0x4643, &(0x7f0000000600)={0x0, 0x0, 0x13580, 0xfffffffb}, &(0x7f0000000100)=0x0, &(0x7f0000000280)=0x0) clock_gettime(0x0, &(0x7f00000000c0)) syz_io_uring_submit(r1, r2, 0x0) io_uring_enter(r0, 0x6b4d, 0x0, 0x0, 0x0, 0x0) r3 = eventfd2(0x0, 0x0) io_uring_register$IORING_REGISTER_EVENTFD(r0, 0x4, &(0x7f0000000180)=r3, 0x1) io_uring_enter(r0, 0x0, 0x3, 0x7, 0x0, 0x0) program did not crash testing program (duration=52.01501211s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter detailed listing: executing program 0: r0 = syz_io_uring_setup(0x4643, &(0x7f0000000600)={0x0, 0x0, 0x13580, 0xfffffffb}, &(0x7f0000000100)=0x0, &(0x7f0000000280)=0x0) clock_gettime(0x0, &(0x7f00000000c0)) syz_io_uring_submit(r1, r2, &(0x7f0000000040)=@IORING_OP_TIMEOUT={0xb, 0x6, 0x0, 0x0, 0x0, 0x0}) io_uring_enter(r0, 0x6b4d, 0x0, 0x0, 0x0, 0x0) r3 = eventfd2(0x0, 0x0) io_uring_register$IORING_REGISTER_EVENTFD(r0, 0x4, &(0x7f0000000180)=r3, 0x1) io_uring_enter(r0, 0x0, 0x3, 0x7, 0x0, 0x0) program did not crash testing program (duration=52.01501211s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter detailed listing: executing program 0: r0 = syz_io_uring_setup(0x4643, &(0x7f0000000600)={0x0, 0x0, 0x13580, 0xfffffffb}, &(0x7f0000000100)=0x0, &(0x7f0000000280)=0x0) clock_gettime(0x0, &(0x7f00000000c0)={0x0, 0x0}) syz_io_uring_submit(r1, r2, &(0x7f0000000040)=@IORING_OP_TIMEOUT={0xb, 0x6, 0x0, 0x0, 0x0, &(0x7f0000001400)={r3, r4+10000000}}) io_uring_enter(r0, 0x6b4d, 0x0, 0x0, 0x0, 0x0) eventfd2(0x0, 0x0) io_uring_register$IORING_REGISTER_EVENTFD(r0, 0x4, 0x0, 0x1) io_uring_enter(r0, 0x0, 0x3, 0x7, 0x0, 0x0) program did not crash extracting C reproducer testing compiled C program (duration=52.01501211s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter program crashed: WARNING: locking bug in eventfd_signal_mask simplifying C reproducer testing compiled C program (duration=52.01501211s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter program crashed: WARNING: locking bug in eventfd_signal_mask testing compiled C program (duration=52.01501211s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter program did not crash testing compiled C program (duration=52.01501211s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter program crashed: WARNING: locking bug in eventfd_signal_mask testing compiled C program (duration=52.01501211s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter program crashed: WARNING: locking bug in eventfd_signal_mask testing compiled C program (duration=52.01501211s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:true Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter program crashed: WARNING: locking bug in eventfd_signal_mask testing compiled C program (duration=52.01501211s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter program crashed: WARNING: locking bug in eventfd_signal_mask testing compiled C program (duration=52.01501211s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter program crashed: WARNING: locking bug in eventfd_signal_mask testing compiled C program (duration=52.01501211s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter program crashed: WARNING: locking bug in eventfd_signal_mask testing compiled C program (duration=52.01501211s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_io_uring_setup-clock_gettime-syz_io_uring_submit-io_uring_enter-eventfd2-io_uring_register$IORING_REGISTER_EVENTFD-io_uring_enter program crashed: WARNING: locking bug in eventfd_signal_mask reproducing took 27m58.778096095s repro crashed as (corrupted=false): ============================= [ BUG: Invalid wait context ] 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 Not tainted ----------------------------- kworker/u8:0/11 is trying to lock: ffff888012283920 (&ctx->wqh){....}-{3:3}, at: eventfd_signal_mask+0x7a/0x1f0 fs/eventfd.c:71 other info that might help us debug this: context-{5:5} 6 locks held by kworker/u8:0/11: #0: ffff888147a81148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff888147a81148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc90000107d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000107d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffff88807d7ee3d8 (&ctx->completion_lock){+.+.}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] #2: ffff88807d7ee3d8 (&ctx->completion_lock){+.+.}-{3:3}, at: io_kill_timeouts+0x3c/0x230 io_uring/timeout.c:670 #3: ffff88807d7ee358 (&ctx->timeout_lock){....}-{2:2}, at: io_kill_timeouts+0x4b/0x230 io_uring/timeout.c:671 #4: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #4: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #4: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1161 [inline] #4: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: io_req_local_work_add+0xb5/0x5c0 io_uring/io_uring.c:1161 #5: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #5: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #5: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: io_eventfd_grab+0xc2/0x6a0 io_uring/eventfd.c:97 stack backtrace: CPU: 0 UID: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: iou_exit io_ring_exit_work Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_lock_invalid_wait_context kernel/locking/lockdep.c:4826 [inline] check_wait_context kernel/locking/lockdep.c:4898 [inline] __lock_acquire+0x15a8/0x2100 kernel/locking/lockdep.c:5176 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 eventfd_signal_mask+0x7a/0x1f0 fs/eventfd.c:71 __io_eventfd_signal io_uring/eventfd.c:65 [inline] io_eventfd_signal+0x96/0x1d0 io_uring/eventfd.c:123 io_req_local_work_add+0x408/0x5c0 io_uring/io_uring.c:1202 io_req_task_work_add io_uring/io_uring.h:149 [inline] io_req_queue_tw_complete io_uring/io_uring.h:451 [inline] io_kill_timeout+0x27b/0x310 io_uring/timeout.c:101 io_kill_timeouts+0x1b7/0x230 io_uring/timeout.c:676 io_uring_try_cancel_requests+0x480/0x560 io_uring/io_uring.c:3117 io_ring_exit_work+0x231/0x8a0 io_uring/io_uring.c:2901 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 final repro crashed as (corrupted=false): ============================= [ BUG: Invalid wait context ] 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 Not tainted ----------------------------- kworker/u8:0/11 is trying to lock: ffff888012283920 (&ctx->wqh){....}-{3:3}, at: eventfd_signal_mask+0x7a/0x1f0 fs/eventfd.c:71 other info that might help us debug this: context-{5:5} 6 locks held by kworker/u8:0/11: #0: ffff888147a81148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff888147a81148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc90000107d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000107d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffff88807d7ee3d8 (&ctx->completion_lock){+.+.}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] #2: ffff88807d7ee3d8 (&ctx->completion_lock){+.+.}-{3:3}, at: io_kill_timeouts+0x3c/0x230 io_uring/timeout.c:670 #3: ffff88807d7ee358 (&ctx->timeout_lock){....}-{2:2}, at: io_kill_timeouts+0x4b/0x230 io_uring/timeout.c:671 #4: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #4: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #4: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1161 [inline] #4: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: io_req_local_work_add+0xb5/0x5c0 io_uring/io_uring.c:1161 #5: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #5: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #5: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: io_eventfd_grab+0xc2/0x6a0 io_uring/eventfd.c:97 stack backtrace: CPU: 0 UID: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: iou_exit io_ring_exit_work Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_lock_invalid_wait_context kernel/locking/lockdep.c:4826 [inline] check_wait_context kernel/locking/lockdep.c:4898 [inline] __lock_acquire+0x15a8/0x2100 kernel/locking/lockdep.c:5176 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 eventfd_signal_mask+0x7a/0x1f0 fs/eventfd.c:71 __io_eventfd_signal io_uring/eventfd.c:65 [inline] io_eventfd_signal+0x96/0x1d0 io_uring/eventfd.c:123 io_req_local_work_add+0x408/0x5c0 io_uring/io_uring.c:1202 io_req_task_work_add io_uring/io_uring.h:149 [inline] io_req_queue_tw_complete io_uring/io_uring.h:451 [inline] io_kill_timeout+0x27b/0x310 io_uring/timeout.c:101 io_kill_timeouts+0x1b7/0x230 io_uring/timeout.c:676 io_uring_try_cancel_requests+0x480/0x560 io_uring/io_uring.c:3117 io_ring_exit_work+0x231/0x8a0 io_uring/io_uring.c:2901 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244