Warning: Permanently added '10.128.0.87' (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 *111341 31886 0 0 0 0 syz-executor1640304736 103974 38941 0 0x14000 0x200 1 softnet db_enter() at db_enter+0x18 panic(ffffffff825a56b6) at panic+0x177 witness_checkorder(ffffffff82b47030,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 selwakeup(fffffd8070177318) at selwakeup+0x16 sorwakeup(fffffd8070177200) at sorwakeup+0xc9 rip6_input(ffff800021221f58,ffff800021221f64,85,18) at rip6_input+0x692 ip_deliver(ffff800021221f58,ffff800021221f64,85,18) at ip_deliver+0x322 ip6_input_if(ffff800021221f58,ffff800021221f64,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd806d267b00) at ipv6_input+0x48 if_input_local(ffff80000019f2a8,fffffd806d267b00,18) at if_input_local+0x136 ip6_output(fffffd806e822800,ffff800000bc6680,fffffd806f6807c8,0,0,fffffd806f680750) at ip6_output+0xf57 rip6_output(fffffd806e822800,fffffd8070177020,ffff8000212222c0,0) at rip6_output+0x4ad rip6_usrreq(fffffd8070177020,9,fffffd806e822800,0,0,ffff80002115e2a0) at rip6_usrreq+0x5d3 end trace frame: 0xffff800021222440, 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(ffffffff825a56b6) at panic+0x177 witness_checkorder(ffffffff82b47030,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 selwakeup(fffffd8070177318) at selwakeup+0x16 sorwakeup(fffffd8070177200) at sorwakeup+0xc9 rip6_input(ffff800021221f58,ffff800021221f64,85,18) at rip6_input+0x692 ip_deliver(ffff800021221f58,ffff800021221f64,85,18) at ip_deliver+0x322 ip6_input_if(ffff800021221f58,ffff800021221f64,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd806d267b00) at ipv6_input+0x48 if_input_local(ffff80000019f2a8,fffffd806d267b00,18) at if_input_local+0x136 ip6_output(fffffd806e822800,ffff800000bc6680,fffffd806f6807c8,0,0,fffffd806f680750) at ip6_output+0xf57 rip6_output(fffffd806e822800,fffffd8070177020,ffff8000212222c0,0) at rip6_output+0x4ad rip6_usrreq(fffffd8070177020,9,fffffd806e822800,0,0,ffff80002115e2a0) at rip6_usrreq+0x5d3 sosend(fffffd8070177020,0,ffff8000212224f8,0,0,0) at sosend+0x632 dofilewritev(ffff80002115e2a0,4,ffff8000212224f8,0,ffff8000212225f0) at dofilewritev+0x19c sys_write(ffff80002115e2a0,ffff800021222598,ffff8000212225f0) at sys_write+0x83 syscall(ffff800021222660) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcc5f0, count: -19 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800021221a70 rbx 0xffffffff8294ebff cpu_info_full_primary+0x2bff rdx 0x3fd rcx 0 rax 0x68 r8 0x101010101010101 r9 0x8080808080808080 r10 0x39368eae0e6dbbbf r11 0xc17b2f329a9ab8a8 r12 0xffffffff8294ea00 cpu_info_full_primary+0x2a00 r13 0 r14 0 r15 0x1 rip 0xffffffff81f18858 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021221a60 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor1640304736) pid=111341 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80002115ed20,0xffffffff82b44c30 process=0xffff8000ffff9d20 user=0xffff80002121d000, vmspace=0xfffffd806cc1b2f0 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *31886 111341 5710 0 7 0 syz-executor1640304736 50165 293428 78968 0 2 0 syz-executor1640304736 4683 407493 72762 0 2 0 syz-executor1640304736 97290 192131 32679 0 2 0 syz-executor1640304736 25162 33548 75302 0 2 0 syz-executor1640304736 46860 90722 21991 0 3 0x80 nanoslp syz-executor1640304736 78968 376256 21991 0 3 0x80 nanoslp syz-executor1640304736 75302 346602 21991 0 3 0x80 nanoslp syz-executor1640304736 72762 313398 21991 0 3 0x80 nanoslp syz-executor1640304736 32679 375543 21991 0 3 0x80 nanoslp syz-executor1640304736 63776 142807 21991 0 3 0 biowait syz-executor1640304736 8382 271058 21991 0 2 0 syz-executor1640304736 5710 501825 21991 0 3 0x80 nanoslp syz-executor1640304736 21991 279113 83316 0 3 0x82 nanoslp syz-executor1640304736 83316 357148 62167 0 3 0x10008a sigsusp ksh 62167 144600 39766 0 3 0x9a kqread sshd 6133 226061 1 0 3 0x100083 ttyin getty 39766 67611 1 0 3 0x88 kqread sshd 67790 288489 77625 74 3 0x1100092 bpf pflogd 77625 30280 1 0 3 0x80 netio pflogd 67543 38255 64919 73 3 0x1100090 kqread syslogd 64919 186661 1 0 3 0x100082 netio syslogd 39176 56712 1 0 3 0x100080 kqread resolvd 1701 308465 34574 77 3 0x100092 kqread dhcpleased 11072 522903 34574 77 3 0x100092 kqread dhcpleased 34574 358235 1 0 3 0x80 kqread dhcpleased 29820 145360 0 0 3 0x14200 bored smr 58234 516214 0 0 2 0x14200 zerothread 2276 404843 0 0 3 0x14200 aiodoned aiodoned 97570 30254 0 0 3 0x14200 syncer update 33196 137905 0 0 3 0x14200 cleaner cleaner 67421 247398 0 0 3 0x14200 reaper reaper 36408 397797 0 0 3 0x14200 pgdaemon pagedaemon 33415 357466 0 0 3 0x14200 bored viomb 51091 22389 0 0 3 0x40014200 acpi0 acpi0 12634 357452 0 0 3 0x40014200 idle1 38941 103974 0 0 7 0x14200 softnet 41804 42667 0 0 3 0x14200 bored systqmp 92972 170718 0 0 3 0x14200 bored systq 46778 452259 0 0 3 0x40014200 bored softclock 92179 296604 0 0 3 0x40014200 idle0 1 274291 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 (0xffffffff82a900b0) #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 31886 (syz-executor1640304736) thread 0xffff80002115e2a0 (111341) exclusive rwlock netlock r = 0 (0xffffffff828f7720) #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 (0xffffffff82a900b0) #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 63776 (syz-executor1640304736) thread 0xffff800021142d28 (142807) exclusive rrwlock inode r = 0 (0xfffffd806cc2cd58) #0 witness_lock+0x44d #1 rw_enter+0x3e1 #2 rrw_enter+0x8b #3 VOP_LOCK+0x87 #4 ufs_ihashins+0x42 #5 ffs_vget+0x141 #6 ffs_inode_alloc+0x1be #7 ufs_mkdir+0xf4 #8 VOP_MKDIR+0xbf #9 domkdirat+0x121 #10 syscall+0x489 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806d4053d8) #0 witness_lock+0x44d #1 rw_enter+0x3e1 #2 rrw_enter+0x8b #3 VOP_LOCK+0x87 #4 vn_lock+0x84 #5 vfs_lookup+0xd1 #6 namei+0x36a #7 domkdirat+0x75 #8 syscall+0x489 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10149 6454K 6455K 78643K 11239 0 pcb 19 8K 8K 78643K 33 0 rtable 62 2K 2K 78643K 118 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 4 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 3 0K 0K 78643K 7 0 in_multi 15 0K 0K 78643K 23 0 ether_multi 2 0K 0K 78643K 6 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 447 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 133 69K 69K 78643K 2299 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 6 0K 0K 78643K 14 0 NDP 4 0K 0K 78643K 4 0 temp 24 4694K 4758K 78643K 3419 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 20 0 17 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 tcpcb 736 15 0 5 1 0 1 1 0 8 0 arp 120 2 0 0 1 0 1 1 0 8 0 inpcb 312 53 0 41 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 7 2 1 1 1 0 8 0 pfstkey 112 11 0 7 2 1 1 1 0 8 0 pfstate 320 11 0 7 2 1 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 1442 0 41 88 0 88 88 0 8 0 ffsino 272 1442 0 41 94 0 94 94 0 8 0 nchpl 144 1626 0 55 59 0 59 59 0 8 0 uvmvnodes 80 1452 0 0 30 0 30 30 0 8 0 vnodes 224 1452 0 0 86 0 86 86 0 8 0 namei 1024 4520 0 4519 3 1 2 2 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 216 4156 0 4155 18 17 1 8 0 8 0 plimitpl 152 24 0 9 1 0 1 1 0 8 0 sigapl 424 346 0 303 5 0 5 5 0 8 0 knotepl 120 48 0 0 2 0 2 2 0 8 0 kqueuepl 216 20 0 13 1 0 1 1 0 8 0 pipepl 336 89 0 86 2 1 1 1 0 8 0 fdescpl 496 332 0 304 4 0 4 4 0 8 0 filepl 152 1187 0 1122 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 26 0 9 1 0 1 1 0 8 0 pgrppl 48 26 0 9 1 0 1 1 0 8 0 ucredpl 96 69 0 57 1 0 1 1 0 8 0 zombiepl 144 304 0 303 2 1 1 1 0 8 0 processpl 1064 346 0 303 3 0 3 3 0 8 0 procpl 672 346 0 303 4 0 4 4 0 8 0 sockpl 480 108 0 78 5 1 4 4 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 62 0 0 8 0 8 8 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 117 0 0 7 0 7 7 0 8 0 bufpl 288 2037 0 93 139 0 139 139 0 8 0 anonpl 24 43345 0 40477 22 3 19 19 0 186 1 amapchunkpl 152 4188 0 3986 9 1 8 8 0 158 0 amappl16 200 38 0 33 2 1 1 1 0 8 0 amappl15 192 70 0 67 1 0 1 1 0 8 0 amappl13 176 35 0 33 1 0 1 1 0 8 0 amappl12 168 10 0 10 2 1 1 1 0 8 1 amappl11 160 46 0 32 1 0 1 1 0 8 0 amappl10 152 2 0 0 1 0 1 1 0 8 0 amappl9 144 453 0 450 1 0 1 1 0 8 0 amappl8 136 384 0 381 1 0 1 1 0 8 0 amappl7 128 65 0 62 1 0 1 1 0 8 0 amappl6 120 135 0 109 1 0 1 1 0 8 0 amappl5 112 183 0 171 1 0 1 1 0 8 0 amappl4 104 653 0 632 1 0 1 1 0 8 0 amappl3 96 124 0 115 1 0 1 1 0 8 0 amappl2 88 389 0 351 1 0 1 1 0 8 0 amappl1 80 9096 0 8645 12 2 10 10 0 8 0 amappl 88 1994 0 1891 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 332 0 304 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 332 0 304 1 0 1 1 0 8 0 vmmpekpl 168 6332 0 6314 1 0 1 1 0 8 0 vmmpepl 168 27671 0 26507 55 4 51 51 0 357 0 vmsppl 368 331 0 304 3 0 3 3 0 8 0 rwobjpl 56 9844 0 7787 29 0 29 29 0 8 0 pdppl 4096 671 0 608 93 28 65 65 0 8 2 pvpl 32 139935 0 134791 49 6 43 43 0 265 1 pmappl 248 331 0 304 2 0 2 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 456 0 33 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(ffffffff825a56b6) at panic+0x177 witness_checkorder(ffffffff82b47030,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff82b46e28) at __mp_lock+0xa1 selwakeup(fffffd8070177318) at selwakeup+0x16 sorwakeup(fffffd8070177200) at sorwakeup+0xc9 rip6_input(ffff800021221f58,ffff800021221f64,85,18) at rip6_input+0x692 ip_deliver(ffff800021221f58,ffff800021221f64,85,18) at ip_deliver+0x322 ip6_input_if(ffff800021221f58,ffff800021221f64,29,0,ffff80000019f2a8) at ip6_input_if+0x920 ipv6_input(ffff80000019f2a8,fffffd806d267b00) at ipv6_input+0x48 if_input_local(ffff80000019f2a8,fffffd806d267b00,18) at if_input_local+0x136 ip6_output(fffffd806e822800,ffff800000bc6680,fffffd806f6807c8,0,0,fffffd806f680750) at ip6_output+0xf57 rip6_output(fffffd806e822800,fffffd8070177020,ffff8000212222c0,0) at rip6_output+0x4ad rip6_usrreq(fffffd8070177020,9,fffffd806e822800,0,0,ffff80002115e2a0) at rip6_usrreq+0x5d3 sosend(fffffd8070177020,0,ffff8000212224f8,0,0,0) at sosend+0x632 dofilewritev(ffff80002115e2a0,4,ffff8000212224f8,0,ffff8000212225f0) at dofilewritev+0x19c sys_write(ffff80002115e2a0,ffff800021222598,ffff8000212225f0) at sys_write+0x83 syscall(ffff800021222660) at syscall+0x489 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcc5f0, 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xb if_qstart_compat(ffff80000019f558) at if_qstart_compat+0x1a ifq_serialize(ffff80000019f558,ffff80000019f678) at ifq_serialize+0x16e taskq_thread(ffff80000002c000) at taskq_thread+0xe5 end trace frame: 0x0, count: 8 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xb if_qstart_compat(ffff80000019f558) at if_qstart_compat+0x1a ifq_serialize(ffff80000019f558,ffff80000019f678) at ifq_serialize+0x16e taskq_thread(ffff80000002c000) at taskq_thread+0xe5 end trace frame: 0x0, count: -7