Warning: Permanently added '10.128.0.76' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program login: panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *467341 9297 0 0 0 0 syz-executor2365431918 6447 45682 0 0x14000 0x200 1 reaper db_enter() at db_enter+0x18 panic(ffffffff825a0385) at panic+0x177 witness_checkorder(ffffffff82b7e900,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 selwakeup(fffffd806dca4138) at selwakeup+0x16 sorwakeup(fffffd806dca4020) at sorwakeup+0xc9 rip6_input(ffff80002122e258,ffff80002122e264,85,18) at rip6_input+0x692 ip_deliver(ffff80002122e258,ffff80002122e264,85,18) at ip_deliver+0x322 ip6_input_if(ffff80002122e258,ffff80002122e264,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd806ee81400) at ipv6_input+0x48 if_input_local(ffff80000019f2a8,fffffd806ee81400,18) at if_input_local+0x136 ip6_output(fffffd806d325d00,ffff800000bc6e00,fffffd806f67d7c8,0,0,fffffd806f67d750) at ip6_output+0xf57 rip6_output(fffffd806d325d00,fffffd806dca45c0,ffff80002122e5c0,0) at rip6_output+0x4ad rip6_usrreq(fffffd806dca45c0,9,fffffd806d325d00,0,0,ffff80002118e000) at rip6_usrreq+0x5d3 end trace frame: 0xffff80002122e740, count: 0 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock ddb{0}> trace db_enter() at db_enter+0x18 panic(ffffffff825a0385) at panic+0x177 witness_checkorder(ffffffff82b7e900,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 selwakeup(fffffd806dca4138) at selwakeup+0x16 sorwakeup(fffffd806dca4020) at sorwakeup+0xc9 rip6_input(ffff80002122e258,ffff80002122e264,85,18) at rip6_input+0x692 ip_deliver(ffff80002122e258,ffff80002122e264,85,18) at ip_deliver+0x322 ip6_input_if(ffff80002122e258,ffff80002122e264,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd806ee81400) at ipv6_input+0x48 if_input_local(ffff80000019f2a8,fffffd806ee81400,18) at if_input_local+0x136 ip6_output(fffffd806d325d00,ffff800000bc6e00,fffffd806f67d7c8,0,0,fffffd806f67d750) at ip6_output+0xf57 rip6_output(fffffd806d325d00,fffffd806dca45c0,ffff80002122e5c0,0) at rip6_output+0x4ad rip6_usrreq(fffffd806dca45c0,9,fffffd806d325d00,0,0,ffff80002118e000) at rip6_usrreq+0x5d3 sosend(fffffd806dca45c0,0,ffff80002122e7f8,0,0,0) at sosend+0x632 dofilewritev(ffff80002118e000,4,ffff80002122e7f8,0,ffff80002122e8f0) at dofilewritev+0x19c sys_write(ffff80002118e000,ffff80002122e898,ffff80002122e8f0) at sys_write+0x83 syscall(ffff80002122e960) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc0210, count: -19 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002122dd70 rbx 0xffffffff82949bff cpu_info_full_primary+0x2bff rdx 0x3fd rcx 0 rax 0x68 r8 0x101010101010101 r9 0x8080808080808080 r10 0xaf82e6e76df3204c r11 0xc9793810b2322283 r12 0xffffffff82949a00 cpu_info_full_primary+0x2a00 r13 0 r14 0 r15 0x1 rip 0xffffffff81828e88 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002122dd60 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor2365431918) pid=467341 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80002118e7e0,0xffffffff82b2f860 process=0xffff8000ffffba38 user=0xffff800021229000, vmspace=0xfffffd806e2d1740 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND * 9297 467341 72561 0 7 0 syz-executor2365431918 69217 497441 93605 0 2 0 syz-executor2365431918 39218 468469 80506 0 2 0 syz-executor2365431918 72561 379498 28047 0 3 0x80 nanoslp syz-executor2365431918 65520 59581 28047 0 3 0x80 nanoslp syz-executor2365431918 90569 442162 28047 0 3 0x80 nanoslp syz-executor2365431918 80506 217856 28047 0 3 0x80 nanoslp syz-executor2365431918 84544 150921 32672 0 2 0 syz-executor2365431918 87325 221180 28047 0 3 0x80 nanoslp syz-executor2365431918 32672 250456 28047 0 3 0x80 nanoslp syz-executor2365431918 4356 218591 21422 0 2 0 syz-executor2365431918 93605 166460 28047 0 3 0x80 nanoslp syz-executor2365431918 21422 305038 28047 0 3 0x80 nanoslp syz-executor2365431918 28047 501168 64038 0 3 0x82 nanoslp syz-executor2365431918 64038 12934 86670 0 3 0x10008a sigsusp ksh 86670 471955 68238 0 3 0x9a kqread sshd 13363 71530 1 0 3 0x100083 ttyin getty 68238 452836 1 0 3 0x88 kqread sshd 98671 145329 51551 74 3 0x1100092 bpf pflogd 51551 227520 1 0 3 0x80 netio pflogd 45490 280323 39931 73 3 0x1100090 kqread syslogd 39931 72764 1 0 3 0x100082 netio syslogd 89021 368965 1 0 3 0x100080 kqread resolvd 16758 356745 20169 77 3 0x100092 kqread dhcpleased 65458 464388 20169 77 3 0x100092 kqread dhcpleased 20169 98516 1 0 3 0x80 kqread dhcpleased 40727 245348 0 0 3 0x14200 bored smr 15245 203048 0 0 2 0x14200 zerothread 94965 505092 0 0 3 0x14200 aiodoned aiodoned 17256 341582 0 0 3 0x14200 syncer update 25358 38778 0 0 3 0x14200 cleaner cleaner 45682 6447 0 0 7 0x14200 reaper 10319 362928 0 0 3 0x14200 pgdaemon pagedaemon 13521 471263 0 0 3 0x14200 bored viomb 51524 32238 0 0 3 0x40014200 acpi0 acpi0 4953 167515 0 0 3 0x40014200 idle1 4137 124813 0 0 2 0x14200 softnet 20825 290243 0 0 3 0x14200 bored systqmp 83217 225684 0 0 3 0x14200 bored systq 68424 139344 0 0 3 0x40014200 bored softclock 96714 253522 0 0 3 0x40014200 idle0 1 377870 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &table->inpt_mtx r = 0 (0xffffffff82b7fb80) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b #3 rip6_input+0x1cf #4 ip_deliver+0x322 #5 ip6_input_if+0x920 #6 ipv6_input+0x48 #7 if_input_local+0x136 #8 ip6_output+0xf57 #9 rip6_output+0x4ad #10 rip6_usrreq+0x5d3 #11 sosend+0x632 #12 dofilewritev+0x19c #13 sys_write+0x83 #14 syscall+0x489 #15 Xsyscall+0x128 Process 9297 (syz-executor2365431918) thread 0xffff80002118e000 (467341) exclusive rwlock netlock r = 0 (0xffffffff82980490) #0 witness_lock+0x44d #1 solock+0x86 #2 sosend+0x517 #3 dofilewritev+0x19c #4 sys_write+0x83 #5 syscall+0x489 #6 Xsyscall+0x128 exclusive mutex &table->inpt_mtx r = 0 (0xffffffff82b7fb80) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b #3 rip6_input+0x1cf #4 ip_deliver+0x322 #5 ip6_input_if+0x920 #6 ipv6_input+0x48 #7 if_input_local+0x136 #8 ip6_output+0xf57 #9 rip6_output+0x4ad #10 rip6_usrreq+0x5d3 #11 sosend+0x632 #12 dofilewritev+0x19c #13 sys_write+0x83 #14 syscall+0x489 #15 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10149 6454K 6455K 78643K 11239 0 pcb 16 8K 8K 78643K 31 0 rtable 62 2K 2K 78643K 112 0 ifaddr 29 8K 8K 78643K 32 0 counters 40 33K 33K 78643K 40 0 ioctlops 0 0K 4K 78643K 1479 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1167 73K 73K 78643K 1180 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 1 0K 0K 78643K 1 0 proc 67 87K 87K 78643K 282 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 6 0 in_multi 14 0K 0K 78643K 21 0 ether_multi 2 0K 0K 78643K 5 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 25 122K 122K 78643K 25 0 exec 0 0K 2K 78643K 432 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 112 5K 6K 78643K 2201 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 2 0K 0K 78643K 12 0 NDP 4 0K 0K 78643K 4 0 temp 24 4694K 4757K 78643K 3166 0 kqueue 11 16K 18K 78643K 24 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 17 0 14 1 0 1 1 0 8 0 rtentry 112 23 0 1 1 0 1 1 0 8 0 unpcb 136 35 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 2 1 1 1 0 8 1 tcpqe 32 12 0 12 1 1 0 1 0 8 0 tcpcb 736 19 0 5 2 0 2 2 0 8 0 arp 120 2 0 0 1 0 1 1 0 8 0 inpcb 312 55 0 45 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 11 0 2 1 0 1 1 0 8 0 pfstkey 112 11 0 2 1 0 1 1 0 8 0 pfstate 320 11 0 2 1 0 1 1 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 96 0 0 6 0 6 6 0 8 0 art_table 32 97 0 0 1 0 1 1 0 8 0 art_node 16 22 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1424 0 39 87 0 87 87 0 8 0 ffsino 272 1424 0 39 93 0 93 93 0 8 0 nchpl 144 1599 0 49 58 0 58 58 0 8 0 uvmvnodes 80 1434 0 0 30 0 30 30 0 8 0 vnodes 224 1434 0 0 85 0 85 85 0 8 0 namei 1024 4422 0 4422 2 1 1 1 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 216 4030 0 4030 10 2 8 8 0 8 8 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 424 337 0 292 6 0 6 6 0 8 0 knotepl 120 44 0 0 2 0 2 2 0 8 0 kqueuepl 216 20 0 13 1 0 1 1 0 8 0 pipepl 336 86 0 83 2 1 1 1 0 8 0 fdescpl 496 323 0 295 4 0 4 4 0 8 0 filepl 152 1168 0 1106 3 0 3 3 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 18 0 9 1 0 1 1 0 8 0 pgrppl 48 18 0 9 1 0 1 1 0 8 0 ucredpl 96 69 0 57 1 0 1 1 0 8 0 zombiepl 144 295 0 292 2 1 1 1 0 8 0 processpl 1064 337 0 292 4 0 4 4 0 8 0 procpl 672 337 0 292 4 0 4 4 0 8 0 sockpl 480 107 0 79 5 1 4 4 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 85 0 0 11 0 11 11 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 132 0 0 9 0 9 9 0 8 0 bufpl 288 2012 0 89 138 0 138 138 0 8 0 anonpl 24 42112 0 39320 20 3 17 17 0 186 0 amapchunkpl 152 4058 0 3868 8 0 8 8 0 158 0 amappl16 200 36 0 33 2 1 1 1 0 8 0 amappl15 192 67 0 64 1 0 1 1 0 8 0 amappl13 176 34 0 33 2 1 1 1 0 8 0 amappl12 168 10 0 10 2 1 1 1 0 8 1 amappl11 160 47 0 33 1 0 1 1 0 8 0 amappl10 152 2 0 0 1 0 1 1 0 8 0 amappl9 144 449 0 447 1 0 1 1 0 8 0 amappl8 136 370 0 367 1 0 1 1 0 8 0 amappl7 128 65 0 62 1 0 1 1 0 8 0 amappl6 120 133 0 105 1 0 1 1 0 8 0 amappl5 112 183 0 171 1 0 1 1 0 8 0 amappl4 104 642 0 621 1 0 1 1 0 8 0 amappl3 96 121 0 112 1 0 1 1 0 8 0 amappl2 88 369 0 331 1 0 1 1 0 8 0 amappl1 80 8859 0 8422 11 2 9 9 0 8 0 amappl 88 1914 0 1823 3 0 3 3 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 323 0 294 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 323 0 294 1 0 1 1 0 8 0 vmmpekpl 168 6290 0 6269 1 0 1 1 0 8 0 vmmpepl 168 26895 0 25782 54 4 50 50 0 357 0 vmsppl 368 322 0 294 3 0 3 3 0 8 0 rwobjpl 56 9593 0 7573 29 0 29 29 0 8 0 pdppl 4096 653 0 588 89 20 69 69 0 8 4 pvpl 32 135978 0 131079 45 5 40 40 0 265 0 pmappl 248 322 0 294 2 0 2 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 454 0 25 13 0 13 13 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 panic(ffffffff825a0385) at panic+0x177 witness_checkorder(ffffffff82b7e900,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 selwakeup(fffffd806dca4138) at selwakeup+0x16 sorwakeup(fffffd806dca4020) at sorwakeup+0xc9 rip6_input(ffff80002122e258,ffff80002122e264,85,18) at rip6_input+0x692 ip_deliver(ffff80002122e258,ffff80002122e264,85,18) at ip_deliver+0x322 ip6_input_if(ffff80002122e258,ffff80002122e264,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd806ee81400) at ipv6_input+0x48 if_input_local(ffff80000019f2a8,fffffd806ee81400,18) at if_input_local+0x136 ip6_output(fffffd806d325d00,ffff800000bc6e00,fffffd806f67d7c8,0,0,fffffd806f67d750) at ip6_output+0xf57 rip6_output(fffffd806d325d00,fffffd806dca45c0,ffff80002122e5c0,0) at rip6_output+0x4ad rip6_usrreq(fffffd806dca45c0,9,fffffd806d325d00,0,0,ffff80002118e000) at rip6_usrreq+0x5d3 sosend(fffffd806dca45c0,0,ffff80002122e7f8,0,0,0) at sosend+0x632 dofilewritev(ffff80002118e000,4,ffff80002122e7f8,0,ffff80002122e8f0) at dofilewritev+0x19c sys_write(ffff80002118e000,ffff80002122e898,ffff80002122e8f0) at sys_write+0x83 syscall(ffff80002122e960) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc0210, count: -19 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82b7e6f8) at __mp_lock+0x122 reaper(ffff8000210f87e0) at reaper+0x150 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82b7e6f8) at __mp_lock+0x122 reaper(ffff8000210f87e0) at reaper+0x150 end trace frame: 0x0, count: -5 ddb{1}>