Warning: Permanently added '10.128.0.118' (ED25519) to the list of known hosts. 2022/12/24 02:00:50 ignoring optional flag "sandboxArg"="0" 2022/12/24 02:00:50 parsed 1 programs 2022/12/24 02:00:54 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 * 83982 46525 0 0 0 1 syz-executor.0 90920 77604 0 0x14000 0x40000200 0 softclock db_enter() at db_enter+0x18 panic(ffffffff825c2f80) at panic+0x177 witness_checkorder(ffffffff82b83710,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff82b83508) at __mp_lock+0xa1 rt_clone(ffff80002130fe98,fffffd806f70d928,0) at rt_clone+0x5c rtalloc_mpath(fffffd806f70d928,fffffd806f70d8f0,0) at rtalloc_mpath+0xbc in_pcbrtentry(fffffd806f70d8a0) at in_pcbrtentry+0x1cf ip6_ctloutput(0,fffffd806e916d68,29,2c,fffffd806d306700) at ip6_ctloutput+0x1079 sys_getsockopt(ffff8000ffff5a40,ffff800021310088,ffff8000213100d0) at sys_getsockopt+0x15e syscall(ffff800021310150) at syscall+0x4c2 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff38c0, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock ddb{1}> trace db_enter() at db_enter+0x18 panic(ffffffff825c2f80) at panic+0x177 witness_checkorder(ffffffff82b83710,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff82b83508) at __mp_lock+0xa1 rt_clone(ffff80002130fe98,fffffd806f70d928,0) at rt_clone+0x5c rtalloc_mpath(fffffd806f70d928,fffffd806f70d8f0,0) at rtalloc_mpath+0xbc in_pcbrtentry(fffffd806f70d8a0) at in_pcbrtentry+0x1cf ip6_ctloutput(0,fffffd806e916d68,29,2c,fffffd806d306700) at ip6_ctloutput+0x1079 sys_getsockopt(ffff8000ffff5a40,ffff800021310088,ffff8000213100d0) at sys_getsockopt+0x15e syscall(ffff800021310150) at syscall+0x4c2 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff38c0, count: -11 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002130fbc0 rbx 0xffff800020dd9b8f rdx 0x3fd rcx 0 rax 0x68 r8 0x101010101010101 r9 0x8080808080808080 r10 0x4d60773ae0e204c r11 0x8e57457488e16f4f r12 0xffff800020dd9990 r13 0 r14 0 r15 0x1 rip 0xffffffff81c23758 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002130fbb0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=83982 stat=onproc flags process=0 proc=0 pri=52, usrpri=52, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff5260,0xffffffff82b407f0 process=0xffff8000ffff9d58 user=0xffff80002130b000, vmspace=0xfffffd806ef7f008 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *46525 83982 34512 0 7 0 syz-executor.0 34512 282678 95876 0 3 0x82 nanoslp syz-executor.0 95876 358623 61339 0 3 0x82 thrsleep syz-execprog 95876 87563 61339 0 3 0x4000082 nanoslp syz-execprog 95876 375236 61339 0 3 0x4000082 thrsleep syz-execprog 95876 159247 61339 0 3 0x4000082 wait syz-execprog 95876 389894 61339 0 3 0x4000082 thrsleep syz-execprog 95876 469025 61339 0 3 0x4000082 thrsleep syz-execprog 95876 262513 61339 0 3 0x4000082 kqread syz-execprog 95876 337181 61339 0 3 0x4000082 thrsleep syz-execprog 95876 256570 61339 0 3 0x4000082 thrsleep syz-execprog 61339 24723 75879 0 3 0x10008a sigsusp ksh 75879 335266 95683 0 3 0x9a kqread sshd 43279 395496 1 0 3 0x100083 ttyin getty 95683 309213 1 0 3 0x88 kqread sshd 84849 115735 17648 73 3 0x1100090 kqread syslogd 17648 262200 1 0 3 0x100082 netio syslogd 27960 21427 1 0 3 0x100080 kqread resolvd 86610 512902 48352 77 3 0x100092 kqread dhcpleased 95149 522777 48352 77 3 0x100092 kqread dhcpleased 48352 296600 1 0 3 0x80 kqread dhcpleased 99425 469843 0 0 3 0x14200 bored smr 9736 11586 0 0 3 0x14200 pgzero zerothread 45293 105891 0 0 3 0x14200 aiodoned aiodoned 62157 35439 0 0 3 0x14200 syncer update 19213 210331 0 0 3 0x14200 cleaner cleaner 9569 355388 0 0 3 0x14200 reaper reaper 32354 347568 0 0 3 0x14200 pgdaemon pagedaemon 70795 411611 0 0 3 0x14200 bored viomb 7135 202757 0 0 3 0x40014200 acpi0 acpi0 62719 355231 0 0 3 0x40014200 idle1 19024 267230 0 0 3 0x14200 bored softnet 53417 246223 0 0 3 0x14200 bored softnet 64622 30103 0 0 3 0x14200 bored softnet 54785 387223 0 0 3 0x14200 bored softnet 69780 220933 0 0 3 0x14200 bored systqmp 58674 316984 0 0 3 0x14200 bored systq 77604 90920 0 0 7 0x40014200 softclock 72526 81817 0 0 3 0x40014200 idle0 1 284268 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &inp->inp_mtx r = 0 (0xfffffd806f70d960) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b #3 sys_getsockopt+0x145 #4 syscall+0x4c2 #5 Xsyscall+0x128 Process 46525 (syz-executor.0) thread 0xffff8000ffff5a40 (83982) shared rwlock netlock r = 0 (0xffffffff829bb010) #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 (0xfffffd806f70d960) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b #3 sys_getsockopt+0x145 #4 syscall+0x4c2 #5 Xsyscall+0x128 ddb{1}> 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 139 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 68 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 267 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 145 15K 15K 78643K 2059 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 94 0 NDP 4 0K 0K 78643K 6 0 temp 23 4677K 4741K 78643K 3236 0 kqueue 12 18K 18K 78643K 25 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> 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 22 0 19 1 0 1 1 0 8 0 rtentry 112 34 0 1 1 0 1 1 0 8 0 unpcb 144 80 0 67 1 0 1 1 0 8 0 syncache 296 5 0 5 2 1 1 1 0 8 1 tcpqe 32 120 0 120 1 1 0 1 0 8 0 tcpcb 776 55 0 51 1 0 1 1 0 8 0 arp 120 4 0 0 1 0 1 1 0 8 0 inpcb 368 170 0 162 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 1488 0 93 88 0 88 88 0 8 0 ffsino 272 1488 0 93 94 0 94 94 0 8 1 nchpl 144 1769 0 150 61 0 61 61 0 8 1 uvmvnodes 80 1497 0 0 31 0 31 31 0 8 0 vnodes 216 1497 0 0 84 0 84 84 0 8 0 namei 1024 5134 0 5134 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 6085 0 6085 10 9 1 8 0 8 1 plimitpl 152 18 0 10 1 0 1 1 0 8 0 sigapl 424 379 0 347 5 0 5 5 0 8 1 knotepl 120 62 0 0 2 0 2 2 0 8 0 kqueuepl 216 21 0 13 1 0 1 1 0 8 0 pipepl 320 103 0 96 2 1 1 1 0 8 0 fdescpl 496 362 0 347 4 1 3 3 0 8 1 filepl 152 1552 0 1485 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 347 0 347 2 1 1 1 0 8 1 processpl 1072 379 0 347 3 0 3 3 0 8 0 procpl 672 387 0 347 4 0 4 4 0 8 0 sockpl 488 272 0 248 4 0 4 4 0 8 1 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 262 0 0 33 0 33 33 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 313 0 0 20 0 20 20 0 8 0 bufpl 288 3951 0 137 273 0 273 273 0 8 0 anonpl 24 107930 0 104029 57 13 44 44 0 186 17 amapchunkpl 152 5631 0 5354 19 2 17 17 0 158 5 amappl16 200 2150 0 2087 10 5 5 5 0 8 1 amappl15 192 9 0 8 1 0 1 1 0 8 0 amappl14 184 121 0 110 2 0 2 2 0 8 0 amappl13 176 6 0 5 2 1 1 1 0 8 0 amappl12 168 309 0 308 2 1 1 1 0 8 0 amappl11 160 48 0 38 1 0 1 1 0 8 0 amappl10 152 25 0 23 2 1 1 1 0 8 0 amappl9 144 935 0 935 2 1 1 1 0 8 1 amappl8 136 86 0 65 2 1 1 1 0 8 0 amappl7 128 119 0 100 2 0 2 2 0 8 0 amappl6 120 122 0 113 1 0 1 1 0 8 0 amappl5 112 87 0 81 1 0 1 1 0 8 0 amappl4 104 394 0 368 2 0 2 2 0 8 1 amappl3 96 530 0 499 2 0 2 2 0 8 1 amappl2 88 660 0 603 3 0 3 3 0 8 1 amappl1 80 10364 0 9835 24 4 20 22 0 8 8 amappl 88 1668 0 1594 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 362 0 347 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 362 0 347 1 0 1 1 0 8 0 vmmpekpl 168 8675 0 8658 1 0 1 1 0 8 0 vmmpepl 168 36925 0 35597 117 12 105 105 0 357 46 vmsppl 368 361 0 347 3 0 3 3 0 8 1 rwobjpl 56 13856 0 11535 44 2 42 42 0 8 5 pdppl 4096 731 0 694 75 32 43 53 0 8 6 pvpl 32 270946 0 263030 276 20 256 256 0 265 185 pmappl 248 361 0 347 3 1 2 2 0 8 1 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 608 0 35 17 0 17 17 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82922ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82b83508) at __mp_lock+0x122 __mp_acquire_count(ffffffff82b83508,1) at __mp_acquire_count+0x48 mi_switch() at mi_switch+0x3bb sleep_finish(ffff8000211f5b68,1) at sleep_finish+0x180 softclock_thread(ffff8000211e87e0) at softclock_thread+0xd9 end trace frame: 0x0, count: 7 ddb{0}> trace x86_ipi_db(ffffffff82922ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82b83508) at __mp_lock+0x122 __mp_acquire_count(ffffffff82b83508,1) at __mp_acquire_count+0x48 mi_switch() at mi_switch+0x3bb sleep_finish(ffff8000211f5b68,1) at sleep_finish+0x180 softclock_thread(ffff8000211e87e0) at softclock_thread+0xd9 end trace frame: 0x0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 panic(ffffffff825c2f80) at panic+0x177 witness_checkorder(ffffffff82b83710,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff82b83508) at __mp_lock+0xa1 rt_clone(ffff80002130fe98,fffffd806f70d928,0) at rt_clone+0x5c rtalloc_mpath(fffffd806f70d928,fffffd806f70d8f0,0) at rtalloc_mpath+0xbc in_pcbrtentry(fffffd806f70d8a0) at in_pcbrtentry+0x1cf ip6_ctloutput(0,fffffd806e916d68,29,2c,fffffd806d306700) at ip6_ctloutput+0x1079 sys_getsockopt(ffff8000ffff5a40,ffff800021310088,ffff8000213100d0) at sys_getsockopt+0x15e syscall(ffff800021310150) at syscall+0x4c2 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff38c0, count: 4 ddb{1}> trace db_enter() at db_enter+0x18 panic(ffffffff825c2f80) at panic+0x177 witness_checkorder(ffffffff82b83710,9,0) at witness_checkorder+0x116d __mp_lock(ffffffff82b83508) at __mp_lock+0xa1 rt_clone(ffff80002130fe98,fffffd806f70d928,0) at rt_clone+0x5c rtalloc_mpath(fffffd806f70d928,fffffd806f70d8f0,0) at rtalloc_mpath+0xbc in_pcbrtentry(fffffd806f70d8a0) at in_pcbrtentry+0x1cf ip6_ctloutput(0,fffffd806e916d68,29,2c,fffffd806d306700) at ip6_ctloutput+0x1079 sys_getsockopt(ffff8000ffff5a40,ffff800021310088,ffff8000213100d0) at sys_getsockopt+0x15e syscall(ffff800021310150) at syscall+0x4c2 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff38c0, count: -11 ddb{1}>