Warning: Permanently added '10.128.0.70' (ED25519) to the list of known hosts. 2022/12/20 10:39:54 ignoring optional flag "sandboxArg"="0" 2022/12/20 10:39:54 parsed 1 programs 2022/12/20 10:39:59 executed programs: 0 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 *226589 91741 0 0 0 0 syz-executor.0 db_enter() at db_enter+0x18 panic(ffffffff825c54ea) at panic+0x177 witness_checkorder(ffffffff82a6d2a0,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff82a6d098) at __mp_lock+0xa1 rt_clone(ffff800021304868,fffffd8073d3c088,0) at rt_clone+0x5c rtalloc_mpath(fffffd8073d3c088,fffffd8073d3c050,0) at rtalloc_mpath+0xbc in_pcbrtentry(fffffd8073d3c000) at in_pcbrtentry+0x1cf ip6_ctloutput(0,fffffd806b6c5b88,29,2c,fffffd8073b64000) at ip6_ctloutput+0x1079 sys_getsockopt(ffff8000ffff47e0,ffff800021304a58,ffff800021304aa0) at sys_getsockopt+0x15e syscall(ffff800021304b20) at syscall+0x4c2 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe05a0, count: 4 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(ffffffff825c54ea) at panic+0x177 witness_checkorder(ffffffff82a6d2a0,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff82a6d098) at __mp_lock+0xa1 rt_clone(ffff800021304868,fffffd8073d3c088,0) at rt_clone+0x5c rtalloc_mpath(fffffd8073d3c088,fffffd8073d3c050,0) at rtalloc_mpath+0xbc in_pcbrtentry(fffffd8073d3c000) at in_pcbrtentry+0x1cf ip6_ctloutput(0,fffffd806b6c5b88,29,2c,fffffd8073b64000) at ip6_ctloutput+0x1079 sys_getsockopt(ffff8000ffff47e0,ffff800021304a58,ffff800021304aa0) at sys_getsockopt+0x15e syscall(ffff800021304b20) at syscall+0x4c2 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe05a0, count: -11 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800021304590 rbx 0xffffffff82933b8f cpu_info_full_primary+0x2b8f rdx 0x3fd rcx 0 rax 0x68 r8 0x101010101010101 r9 0x8080808080808080 r10 0xc9d517e33dc4d7fc r11 0x2ff1e1f2b51eae6a r12 0xffffffff82933990 cpu_info_full_primary+0x2990 r13 0 r14 0 r15 0x1 rip 0xffffffff81276708 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021304580 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.0) pid=226589 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff4fc0,0xffffffff82acb580 process=0xffff8000ffff8868 user=0xffff8000212ff000, vmspace=0xfffffd806ef78008 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *91741 226589 89055 0 7 0 syz-executor.0 89055 480047 65131 0 3 0x82 nanoslp syz-executor.0 65131 177592 64438 0 3 0x82 thrsleep syz-execprog 65131 416472 64438 0 3 0x4000082 nanoslp syz-execprog 65131 523446 64438 0 3 0x4000082 wait syz-execprog 65131 203332 64438 0 3 0x4000082 thrsleep syz-execprog 65131 92527 64438 0 3 0x4000082 thrsleep syz-execprog 65131 519003 64438 0 3 0x4000082 kqread syz-execprog 65131 237299 64438 0 3 0x4000082 thrsleep syz-execprog 65131 357302 64438 0 3 0x4000082 thrsleep syz-execprog 65131 349818 64438 0 3 0x4000082 thrsleep syz-execprog 64438 518877 20312 0 3 0x10008a sigsusp ksh 20312 334626 53647 0 3 0x9a kqread sshd 8632 412286 1 0 3 0x100083 ttyin getty 53647 492643 1 0 3 0x88 kqread sshd 87346 269653 50508 73 3 0x1100090 kqread syslogd 50508 516086 1 0 3 0x100082 netio syslogd 97068 269343 1 0 3 0x100080 kqread resolvd 99390 457299 97388 77 3 0x100092 kqread dhcpleased 12016 417032 97388 77 3 0x100092 kqread dhcpleased 97388 338838 1 0 3 0x80 kqread dhcpleased 15972 451035 0 0 3 0x14200 bored smr 18073 437318 0 0 3 0x14200 pgzero zerothread 43737 511286 0 0 3 0x14200 aiodoned aiodoned 2251 248039 0 0 3 0x14200 syncer update 78426 383602 0 0 3 0x14200 cleaner cleaner 18727 203702 0 0 3 0x14200 reaper reaper 87985 111627 0 0 3 0x14200 pgdaemon pagedaemon 86637 160000 0 0 3 0x14200 bored viomb 53389 315704 0 0 3 0x40014200 acpi0 acpi0 89192 215726 0 0 7 0x40014200 idle1 70143 334588 0 0 3 0x14200 bored softnet 3338 417121 0 0 3 0x14200 bored softnet 30128 104609 0 0 3 0x14200 bored softnet 56902 73093 0 0 3 0x14200 bored softnet 89926 189427 0 0 3 0x14200 bored systqmp 59704 150688 0 0 3 0x14200 bored systq 28907 136191 0 0 3 0x40014200 bored softclock 18335 338523 0 0 3 0x40014200 idle0 1 329143 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &inp->inp_mtx r = 0 (0xfffffd8073d3c0c0) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b #3 sys_getsockopt+0x145 #4 syscall+0x4c2 #5 Xsyscall+0x128 Process 91741 (syz-executor.0) thread 0xffff8000ffff47e0 (226589) shared rwlock netlock r = 0 (0xffffffff82983a40) #0 witness_lock+0x44d #1 solock_shared+0x64 #2 sys_getsockopt+0x145 #3 syscall+0x4c2 #4 Xsyscall+0x128 exclusive mutex &inp->inp_mtx r = 0 (0xfffffd8073d3c0c0) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b #3 sys_getsockopt+0x145 #4 syscall+0x4c2 #5 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10164 6392K 6420K 78643K 11254 0 pcb 13 8K 8K 78643K 13 0 rtable 80 2K 2K 78643K 141 0 ifaddr 29 8K 8K 78643K 29 0 counters 46 34K 34K 78643K 46 0 ioctlops 0 0K 2K 78643K 20 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 4 9K 13K 78643K 70 0 proc 55 78K 91K 78643K 267 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 22 1K 1K 78643K 22 0 ether_multi 1 0K 0K 78643K 1 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 1K 78643K 270 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 8 62K 64K 78643K 10 0 UVM amap 146 15K 15K 78643K 2103 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 96 0 NDP 4 0K 0K 78643K 6 0 temp 23 4677K 4741K 78643K 3216 0 kqueue 12 18K 18K 78643K 25 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 23 0 20 1 0 1 1 0 8 0 rtentry 112 34 0 1 1 0 1 1 0 8 0 unpcb 144 81 0 68 1 0 1 1 0 8 0 syncache 296 5 0 5 2 1 1 1 0 8 1 tcpqe 32 110 0 110 1 1 0 1 0 8 0 tcpcb 776 56 0 52 1 0 1 1 0 8 0 arp 120 4 0 0 1 0 1 1 0 8 0 inpcb 368 173 0 165 1 0 1 1 0 8 0 nd6 48 3 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 144 0 0 9 0 9 9 0 8 0 art_table 32 145 0 0 2 0 2 2 0 8 0 art_node 16 33 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1489 0 94 88 0 88 88 0 8 0 ffsino 272 1489 0 94 94 0 94 94 0 8 0 nchpl 144 1771 0 152 61 0 61 61 0 8 1 uvmvnodes 80 1498 0 0 31 0 31 31 0 8 0 vnodes 216 1498 0 0 84 0 84 84 0 8 0 namei 1024 5153 0 5153 3 1 2 2 0 8 2 percpumem 16 35 0 0 1 0 1 1 0 8 0 kstatmem 264 8 0 0 1 0 1 1 0 8 0 scxspl 216 6041 0 6041 9 1 8 8 0 8 8 plimitpl 152 18 0 10 1 0 1 1 0 8 0 sigapl 424 383 0 351 5 0 5 5 0 8 1 knotepl 120 70 0 0 2 0 2 2 0 8 0 kqueuepl 216 21 0 13 1 0 1 1 0 8 0 pipepl 320 104 0 97 3 1 2 2 0 8 1 fdescpl 496 366 0 351 4 1 3 3 0 8 1 filepl 152 1563 0 1496 4 0 4 4 0 8 1 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 104 66 0 56 1 0 1 1 0 8 0 zombiepl 144 351 0 351 2 1 1 1 0 8 1 processpl 1072 383 0 351 3 0 3 3 0 8 0 procpl 672 391 0 351 4 0 4 4 0 8 0 sockpl 488 277 0 253 4 0 4 4 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 234 0 0 30 0 30 30 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 288 0 0 18 0 18 18 0 8 0 bufpl 288 3960 0 141 273 0 273 273 0 8 0 anonpl 24 106989 0 103084 55 11 44 44 0 186 19 amapchunkpl 152 5563 0 5288 18 1 17 17 0 158 4 amappl16 200 2139 0 2071 10 5 5 5 0 8 0 amappl15 192 11 0 11 1 1 0 1 0 8 0 amappl14 184 122 0 111 2 0 2 2 0 8 0 amappl13 176 3 0 3 1 1 0 1 0 8 0 amappl12 168 315 0 313 2 1 1 1 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 19 0 16 2 1 1 1 0 8 0 amappl9 144 938 0 937 2 1 1 1 0 8 0 amappl8 136 88 0 67 3 1 2 2 0 8 0 amappl7 128 115 0 99 2 0 2 2 0 8 0 amappl6 120 122 0 114 1 0 1 1 0 8 0 amappl5 112 84 0 78 1 0 1 1 0 8 0 amappl4 104 397 0 374 2 0 2 2 0 8 0 amappl3 96 538 0 509 2 0 2 2 0 8 1 amappl2 88 670 0 611 3 0 3 3 0 8 1 amappl1 80 10550 0 10021 24 4 20 22 0 8 8 amappl 88 1709 0 1634 3 0 3 3 0 92 1 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 366 0 351 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 366 0 351 1 0 1 1 0 8 0 vmmpekpl 168 8679 0 8661 2 0 2 2 0 8 0 vmmpepl 168 37249 0 35920 112 7 105 105 0 357 46 vmsppl 368 365 0 351 3 0 3 3 0 8 1 rwobjpl 56 13947 0 11620 43 1 42 42 0 8 6 pdppl 4096 739 0 702 75 32 43 53 0 8 6 pvpl 32 271102 0 263189 271 17 254 254 0 265 187 pmappl 248 365 0 351 3 1 2 2 0 8 1 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 603 0 35 17 0 17 17 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 panic(ffffffff825c54ea) at panic+0x177 witness_checkorder(ffffffff82a6d2a0,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff82a6d098) at __mp_lock+0xa1 rt_clone(ffff800021304868,fffffd8073d3c088,0) at rt_clone+0x5c rtalloc_mpath(fffffd8073d3c088,fffffd8073d3c050,0) at rtalloc_mpath+0xbc in_pcbrtentry(fffffd8073d3c000) at in_pcbrtentry+0x1cf ip6_ctloutput(0,fffffd806b6c5b88,29,2c,fffffd8073b64000) at ip6_ctloutput+0x1079 sys_getsockopt(ffff8000ffff47e0,ffff800021304a58,ffff800021304aa0) at sys_getsockopt+0x15e syscall(ffff800021304b20) at syscall+0x4c2 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe05a0, count: -11 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x312 sched_idle(ffff800020dd8ff0) at sched_idle+0x417 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x312 sched_idle(ffff800020dd8ff0) at sched_idle+0x417 end trace frame: 0x0, count: -5 ddb{1}>