Extracting prog: 28.811626611s Minimizing prog: 3m36.256184383s Simplifying prog options: 0s Extracting C: 21.007994799s Simplifying C: 3m29.825619499s 1 programs, 2 VMs, timeouts [15s 1m40s 6m0s] extracting reproducer from 1 programs single: executing 1 programs separately with timeout 15s testing program (duration=15s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 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: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}}): socket$inet_icmp_raw-setsockopt$SO_BINDTODEVICE-dup-sendmsg$inet detailed listing: executing program 0: r0 = socket$inet_icmp_raw(0x2, 0x3, 0x1) setsockopt$SO_BINDTODEVICE(r0, 0x1, 0x19, &(0x7f0000000040)='veth0_to_bridge\x00', 0x10) r1 = dup(r0) sendmsg$inet(r1, &(0x7f0000000780)={&(0x7f0000000100)={0x2, 0x0, @multicast1}, 0x10, 0x0}, 0x0) program crashed: panic: WARNING: circular locking detected: stack.bridgeRWMutex -> stack.stackRWMutex: single: successfully extracted reproducer found reproducer with 4 syscalls minimizing guilty program testing program (duration=22.5s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 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: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}}): socket$inet_icmp_raw-setsockopt$SO_BINDTODEVICE-dup detailed listing: executing program 0: r0 = socket$inet_icmp_raw(0x2, 0x3, 0x1) setsockopt$SO_BINDTODEVICE(r0, 0x1, 0x19, &(0x7f0000000040)='veth0_to_bridge\x00', 0x10) dup(r0) program did not crash testing program (duration=22.5s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 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: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}}): socket$inet_icmp_raw-setsockopt$SO_BINDTODEVICE-sendmsg$inet detailed listing: executing program 0: r0 = socket$inet_icmp_raw(0x2, 0x3, 0x1) setsockopt$SO_BINDTODEVICE(r0, 0x1, 0x19, &(0x7f0000000040)='veth0_to_bridge\x00', 0x10) sendmsg$inet(0xffffffffffffffff, &(0x7f0000000780)={&(0x7f0000000100)={0x2, 0x0, @multicast1}, 0x10, 0x0}, 0x0) program did not crash testing program (duration=22.5s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 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: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}}): socket$inet_icmp_raw-dup-sendmsg$inet detailed listing: executing program 0: r0 = socket$inet_icmp_raw(0x2, 0x3, 0x1) r1 = dup(r0) sendmsg$inet(r1, &(0x7f0000000780)={&(0x7f0000000100)={0x2, 0x0, @multicast1}, 0x10, 0x0}, 0x0) program did not crash testing program (duration=22.5s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 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: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}}): setsockopt$SO_BINDTODEVICE-dup-sendmsg$inet detailed listing: executing program 0: setsockopt$SO_BINDTODEVICE(0xffffffffffffffff, 0x1, 0x19, &(0x7f0000000040)='veth0_to_bridge\x00', 0x10) r0 = dup(0xffffffffffffffff) sendmsg$inet(r0, &(0x7f0000000780)={&(0x7f0000000100)={0x2, 0x0, @multicast1}, 0x10, 0x0}, 0x0) program did not crash testing program (duration=22.5s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 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: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}}): socket$inet_icmp_raw-setsockopt$SO_BINDTODEVICE-dup-sendmsg$inet detailed listing: executing program 0: r0 = socket$inet_icmp_raw(0x2, 0x3, 0x1) setsockopt$SO_BINDTODEVICE(r0, 0x1, 0x19, 0x0, 0x0) r1 = dup(r0) sendmsg$inet(r1, &(0x7f0000000780)={&(0x7f0000000100)={0x2, 0x0, @multicast1}, 0x10, 0x0}, 0x0) program did not crash testing program (duration=22.5s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 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: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}}): socket$inet_icmp_raw-setsockopt$SO_BINDTODEVICE-dup-sendmsg$inet detailed listing: executing program 0: r0 = socket$inet_icmp_raw(0x2, 0x3, 0x1) setsockopt$SO_BINDTODEVICE(r0, 0x1, 0x19, &(0x7f0000000040)='veth0_to_bridge\x00', 0x10) r1 = dup(r0) sendmsg$inet(r1, 0x0, 0x0) program did not crash testing program (duration=22.5s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 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: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}}): socket$inet_icmp_raw-setsockopt$SO_BINDTODEVICE-dup-sendmsg$inet detailed listing: executing program 0: r0 = socket$inet_icmp_raw(0x2, 0x3, 0x1) setsockopt$SO_BINDTODEVICE(r0, 0x1, 0x19, &(0x7f0000000040)='veth0_to_bridge\x00', 0x10) r1 = dup(r0) sendmsg$inet(r1, &(0x7f0000000780)={0x0, 0x0, 0x0}, 0x0) program did not crash extracting C reproducer testing compiled C program (duration=22.5s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 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: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}}): socket$inet_icmp_raw-setsockopt$SO_BINDTODEVICE-dup-sendmsg$inet program crashed: panic: WARNING: circular locking detected: stack.bridgeRWMutex -> stack.stackRWMutex: simplifying C reproducer testing compiled C program (duration=22.5s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 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: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}}): socket$inet_icmp_raw-setsockopt$SO_BINDTODEVICE-dup-sendmsg$inet program crashed: panic: WARNING: circular locking detected: stack.bridgeRWMutex -> stack.stackRWMutex: testing compiled C program (duration=22.5s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true 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}}): socket$inet_icmp_raw-setsockopt$SO_BINDTODEVICE-dup-sendmsg$inet program crashed: panic: WARNING: circular locking detected: stack.bridgeRWMutex -> stack.stackRWMutex: testing compiled C program (duration=22.5s, {Threaded:false Repeat:false 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}}): socket$inet_icmp_raw-setsockopt$SO_BINDTODEVICE-dup-sendmsg$inet program did not crash testing compiled C program (duration=22.5s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true 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}}): socket$inet_icmp_raw-setsockopt$SO_BINDTODEVICE-dup-sendmsg$inet program crashed: panic: WARNING: circular locking detected: stack.bridgeRWMutex -> stack.stackRWMutex: testing compiled C program (duration=22.5s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true 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}}): socket$inet_icmp_raw-setsockopt$SO_BINDTODEVICE-dup-sendmsg$inet program did not crash testing compiled C program (duration=22.5s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:true NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:true 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}}): socket$inet_icmp_raw-setsockopt$SO_BINDTODEVICE-dup-sendmsg$inet program crashed: panic: WARNING: circular locking detected: stack.bridgeRWMutex -> stack.stackRWMutex: testing compiled C program (duration=22.5s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:true 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}}): socket$inet_icmp_raw-setsockopt$SO_BINDTODEVICE-dup-sendmsg$inet program crashed: panic: WARNING: circular locking detected: stack.bridgeRWMutex -> stack.stackRWMutex: testing compiled C program (duration=22.5s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:true 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}}): socket$inet_icmp_raw-setsockopt$SO_BINDTODEVICE-dup-sendmsg$inet program crashed: panic: WARNING: circular locking detected: stack.bridgeRWMutex -> stack.stackRWMutex: testing compiled C program (duration=22.5s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:true 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}}): socket$inet_icmp_raw-setsockopt$SO_BINDTODEVICE-dup-sendmsg$inet program crashed: panic: WARNING: circular locking detected: stack.bridgeRWMutex -> stack.stackRWMutex: testing compiled C program (duration=22.5s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:true 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}}): socket$inet_icmp_raw-setsockopt$SO_BINDTODEVICE-dup-sendmsg$inet program crashed: panic: WARNING: circular locking detected: stack.bridgeRWMutex -> stack.stackRWMutex: reproducing took 7m55.901456631s repro crashed as (corrupted=false): panic: WARNING: circular locking detected: stack.bridgeRWMutex -> stack.stackRWMutex: goroutine 108 [running]: gvisor.dev/gvisor/pkg/tcpip/stack.(*stackRWMutex).RLock(0xc000a115c0) bazel-out/k8-fastbuild/bin/pkg/tcpip/stack/stack_mutex.go:59 +0x3c gvisor.dev/gvisor/pkg/tcpip/stack.(*Stack).FindNICNameFromID(0xc000a11008, 0x2) pkg/tcpip/stack/stack.go:2187 +0x5d gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).HandlePacket(0xc000250408, 0xc0002be640) pkg/tcpip/network/ipv4/ipv4.go:867 +0x5f9 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverNetworkPacket(0xc000166488, 0x800, 0xc0002be640) pkg/tcpip/stack/nic.go:757 +0x217 gvisor.dev/gvisor/pkg/tcpip/stack.(*BridgeEndpoint).injectInboundLocked(...) pkg/tcpip/stack/bridge.go:156 gvisor.dev/gvisor/pkg/tcpip/stack.(*bridgePort).DeliverNetworkPacket(0xc00040a9b0, 0x800, 0xc0002be640) pkg/tcpip/stack/bridge.go:58 +0x343 gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).DeliverNetworkPacket(0xc000988410, 0x800, 0xc0002be640) pkg/tcpip/link/nested/nested.go:61 +0x99 gvisor.dev/gvisor/pkg/tcpip/link/packetsocket.(*endpoint).DeliverNetworkPacket(0xc000988410, 0x800, 0xc0002be640) pkg/tcpip/link/packetsocket/packetsocket.go:47 +0x4e gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).DeliverNetworkPacket(0xc0009883c0, 0x800, 0xc0002be640) pkg/tcpip/link/nested/nested.go:61 +0x99 gvisor.dev/gvisor/pkg/tcpip/link/ethernet.(*Endpoint).DeliverNetworkPacket(0xc0009883c0, 0x0?, 0xc0002be640) pkg/tcpip/link/ethernet/ethernet.go:82 +0x285 gvisor.dev/gvisor/pkg/tcpip/link/veth.(*Endpoint).InjectInbound(0xc0006be9c0, 0x800, 0xc0002be640) pkg/tcpip/link/veth/veth.go:122 +0x99 gvisor.dev/gvisor/pkg/tcpip/link/veth.NewPair.func1() pkg/tcpip/link/veth/veth.go:77 +0x8a created by gvisor.dev/gvisor/pkg/tcpip/link/veth.NewPair in goroutine 291 pkg/tcpip/link/veth/veth.go:75 +0x491 final repro crashed as (corrupted=false): panic: WARNING: circular locking detected: stack.bridgeRWMutex -> stack.stackRWMutex: goroutine 108 [running]: gvisor.dev/gvisor/pkg/tcpip/stack.(*stackRWMutex).RLock(0xc000a115c0) bazel-out/k8-fastbuild/bin/pkg/tcpip/stack/stack_mutex.go:59 +0x3c gvisor.dev/gvisor/pkg/tcpip/stack.(*Stack).FindNICNameFromID(0xc000a11008, 0x2) pkg/tcpip/stack/stack.go:2187 +0x5d gvisor.dev/gvisor/pkg/tcpip/network/ipv4.(*endpoint).HandlePacket(0xc000250408, 0xc0002be640) pkg/tcpip/network/ipv4/ipv4.go:867 +0x5f9 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverNetworkPacket(0xc000166488, 0x800, 0xc0002be640) pkg/tcpip/stack/nic.go:757 +0x217 gvisor.dev/gvisor/pkg/tcpip/stack.(*BridgeEndpoint).injectInboundLocked(...) pkg/tcpip/stack/bridge.go:156 gvisor.dev/gvisor/pkg/tcpip/stack.(*bridgePort).DeliverNetworkPacket(0xc00040a9b0, 0x800, 0xc0002be640) pkg/tcpip/stack/bridge.go:58 +0x343 gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).DeliverNetworkPacket(0xc000988410, 0x800, 0xc0002be640) pkg/tcpip/link/nested/nested.go:61 +0x99 gvisor.dev/gvisor/pkg/tcpip/link/packetsocket.(*endpoint).DeliverNetworkPacket(0xc000988410, 0x800, 0xc0002be640) pkg/tcpip/link/packetsocket/packetsocket.go:47 +0x4e gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).DeliverNetworkPacket(0xc0009883c0, 0x800, 0xc0002be640) pkg/tcpip/link/nested/nested.go:61 +0x99 gvisor.dev/gvisor/pkg/tcpip/link/ethernet.(*Endpoint).DeliverNetworkPacket(0xc0009883c0, 0x0?, 0xc0002be640) pkg/tcpip/link/ethernet/ethernet.go:82 +0x285 gvisor.dev/gvisor/pkg/tcpip/link/veth.(*Endpoint).InjectInbound(0xc0006be9c0, 0x800, 0xc0002be640) pkg/tcpip/link/veth/veth.go:122 +0x99 gvisor.dev/gvisor/pkg/tcpip/link/veth.NewPair.func1() pkg/tcpip/link/veth/veth.go:77 +0x8a created by gvisor.dev/gvisor/pkg/tcpip/link/veth.NewPair in goroutine 291 pkg/tcpip/link/veth/veth.go:75 +0x491