M1OQқ@a{ fXgBTQBppm޽ݳLˢe|y<6qo7j";]=sŵU!9$uWkernel: protection fault trap, code=0 Stopped at sys_semop+0x352: movzwl 0x8(%rbx),%r15d ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace sys_semop(ffff80002ebfba28,ffff80003c4a3270,ffff80003c4a31c0) at sys_semop+0x352 sys/kern/sysv_sem.c:622 syscall(ffff80003c4a3270) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4a3270) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x708c5665850, count: -3 ddb{0}> show registers rdi 0 rsi 0xb rbp 0xffff80003c4a3190 rbx 0xdead4110dead4110 rdx 0 rcx 0xffff80002ebfba28 rax 0xffffffff83845ff0 cpu_info_full_primary+0x1ff0 r8 0x7f7fffffc000 r9 0 r10 0x7ebdc54fa02f9a1 r11 0x6dc97f9e488301bb r12 0xb r13 0xfffffd806b576e00 r14 0xffff80003c4a3270 r15 0xb rip 0xffffffff8234fc42 sys_semop+0x352 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c4a30a0 ss 0x10 sys_semop+0x352: movzwl 0x8(%rbx),%r15d ddb{0}> show proc PROC (syz-executor) tid=92406 pid=62841 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002ebfad30,0xffff80002ebfafd8 process=0xffff80003b8244f0 user=0xffff80003c49e000, vmspace=0xfffffd800b027b70 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 62841 22515 1669 0 3 0x80 nanoslp syz-executor *62841 92406 1669 0 7 0x4000000 syz-executor 62841 350325 1669 0 3 0x4000080 fsleep syz-executor 62841 495480 1669 0 3 0x4000080 fsleep syz-executor 9040 477166 78548 0 3 0x80 fsleep syz-executor 9040 127544 78548 0 3 0x4000080 kqread syz-executor 16355 234900 88516 0 3 0x80 fsleep syz-executor 16355 466344 88516 0 3 0x4000080 fsleep syz-executor 16355 15830 88516 0 3 0x4000080 ttyout syz-executor 16355 306647 88516 0 3 0x4000080 ttyout syz-executor 23191 342370 21516 0 3 0x90 fsleep syz-executor 23191 97794 21516 0 3 0x4000090 fifow syz-executor 52440 169347 12345 0 3 0x80 fsleep syz-executor 52440 74866 12345 0 3 0x4000080 sbwait syz-executor 4514 262268 0 0 3 0x14200 acct acct 65427 72793 1 0 3 0x100083 ttyin getty 12345 390296 55571 0 3 0x82 nanoslp syz-executor 56824 501992 0 0 3 0x14280 nfsidl nfsio 87038 219795 0 0 3 0x14280 nfsidl nfsio 57663 500777 0 0 3 0x14280 nfsidl nfsio 27893 262281 0 0 3 0x14280 nfsidl nfsio 99931 265713 0 0 3 0x14280 nfsidl nfsio 88096 58512 0 0 3 0x14280 nfsidl nfsio 223 315321 0 0 3 0x14280 nfsidl nfsio 46347 38452 0 0 3 0x14280 nfsidl nfsio 56129 480210 0 0 3 0x14280 nfsidl nfsio 16327 13533 0 0 3 0x14280 nfsidl nfsio 6690 29950 0 0 3 0x14280 nfsidl nfsio 94541 42787 0 0 3 0x14280 nfsidl nfsio 31801 105184 0 0 3 0x14280 nfsidl nfsio 38505 513129 0 0 3 0x14280 nfsidl nfsio 18181 455119 0 0 3 0x14280 nfsidl nfsio 59697 511470 0 0 3 0x14280 nfsidl nfsio 48870 109929 0 0 3 0x14280 nfsidl nfsio 38164 490796 0 0 3 0x14280 nfsidl nfsio 73478 123897 0 0 3 0x14280 nfsidl nfsio 92291 125614 0 0 3 0x14280 nfsidl nfsio 90188 129668 0 0 3 0x14200 bored sosplice 98541 11410 55571 0 3 0x82 wait syz-executor 88516 422249 55571 0 3 0x82 nanoslp syz-executor 96480 230677 55571 0 3 0x82 wait syz-executor 1669 198358 55571 0 3 0x82 nanoslp syz-executor 94859 38611 55571 0 3 0x82 wait syz-executor 21516 391445 55571 0 3 0x82 nanoslp syz-executor 78548 399886 55571 0 3 0x82 nanoslp syz-executor 55571 220651 59845 0 3 0x82 kqread syz-executor 59845 393187 33203 0 3 0x10008a sigsusp ksh 33203 328880 90726 0 3 0x98 kqread sshd-session 90726 372884 2133 0 3 0x92 kqread sshd-session 2133 458332 1 0 3 0x88 kqread sshd 55777 134323 72131 74 3 0x1100092 bpf pflogd 72131 45542 1 0 3 0x80 sbwait pflogd 7982 177655 99935 73 3 0x1100090 kqread syslogd 99935 31404 1 0 3 0x100082 sbwait syslogd 78229 486755 1 0 3 0x100080 kqread resolvd 69673 412202 2682 77 3 0x100092 kqread dhcpleased 1951 149957 2682 77 3 0x100092 kqread dhcpleased 2682 119659 1 0 3 0x80 kqread dhcpleased 61114 194995 0 0 3 0x14200 pause smr 90063 12882 0 0 3 0x14200 pgzero zerothread 80583 345547 0 0 3 0x14200 aiodoned aiodoned 14961 464090 0 0 3 0x14200 syncer update 47283 354065 0 0 3 0x14200 cleaner cleaner 41635 382974 0 0 3 0x14200 reaper reaper 67196 5869 0 0 3 0x14200 pgdaemon pagedaemon 38590 138973 0 0 3 0x14200 bored viomb 44319 196565 0 0 3 0x40014200 acpi0 acpi0 16102 205852 0 0 7 0x40014200 idle1 17519 86873 0 0 3 0x14200 bored softnet7 72578 221281 0 0 3 0x14200 bored softnet6 49160 201372 0 0 3 0x14200 bored softnet5 33228 179806 0 0 3 0x14200 bored softnet4 85443 399167 0 0 3 0x14200 bored softnet3 22275 169007 0 0 3 0x14200 bored softnet2 36393 362930 0 0 3 0x14200 bored softnet1 70482 265547 0 0 3 0x14200 bored softnet0 16486 53183 0 0 3 0x14200 smrbar systqmp 34115 306401 0 0 3 0x14200 bored systq 97981 132113 0 0 3 0x14200 tmoslp softclockmp 91997 12152 0 0 3 0x40014200 tmoslp softclock 48133 325054 0 0 3 0x40014200 idle0 1 62635 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 62841 (syz-executor) thread 0xffff80002ebfba28 (92406) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff839bc858) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 #2 malloc+0xe3 sys/kern/kern_malloc.c:174 #3 sys_semop+0x22f sys/kern/sysv_sem.c:-1 #4 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #4 syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 #5 Xsyscall+0x128 Process 16486 (systqmp) thread 0xffff8000ffffe000 (53183) shared rwlock systqmp r = 0 (0xffffffff838565d8) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 taskq_thread+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10201 11026K 11337K 166960K 11926 0 pcb 19 13K 14K 166960K 171 0 rtable 188 9K 9K 166960K 554 0 pf 31 17K 21K 166960K 149 0 ifaddr 36 6K 8K 166960K 111 0 ifgroup 47 2K 2K 166960K 151 0 sysctl 4 1K 9K 166960K 12 0 counters 64 36K 37K 166960K 168 0 ioctlops 0 0K 8K 166960K 1694 0 iov 0 0K 20K 166960K 28 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1345 85K 85K 166960K 1841 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 60 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 89K 166960K 796 0 sigio 0 0K 0K 166960K 16 0 proc 72 115K 164K 166960K 640 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 58 0 in_multi 76 5K 7K 166960K 238 0 ether_multi 1 0K 0K 166960K 7 0 mrt 1 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 525 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 249 165K 174K 166960K 9112 0 UVM aobj 18 2K 2K 166960K 18 0 pinsyscall 43 86K 103K 166960K 1949 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 40 0 NDP 10 0K 2K 166960K 79 0 temp 63 8648K 8718K 166960K 30857 0 kqueue 15 24K 28K 166960K 174 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 89 0 86 1 0 1 1 0 8 0 rtentry 176 209 0 135 5 0 5 5 0 8 0 unpcb 144 418 0 397 3 1 2 2 0 8 1 syncache 336 5 0 5 2 2 0 1 0 8 0 tcpcb 736 178 0 174 1 0 1 1 0 8 0 arp 128 22 0 12 1 0 1 1 0 8 0 inpcb 328 711 0 700 5 2 3 4 0 8 2 nd6 144 37 0 23 1 0 1 1 0 8 0 pkpcb 40 7 0 7 1 1 0 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1192 40 0 40 1 0 1 1 0 8 1 pppxif 1504 5 0 5 3 2 1 1 0 8 1 pffrag 232 7 0 2 1 0 1 1 0 482 0 pffrnode 88 7 0 2 1 0 1 1 0 8 0 pffrent 40 35 0 30 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 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 8 0 8 1 1 0 1 0 8 0 pftag 88 2 0 1 1 0 1 1 0 8 0 pfstitem 24 66 0 24 1 0 1 1 0 8 0 pfstkey 128 68 0 26 2 0 2 2 0 8 0 pfstate 384 67 0 25 6 0 6 6 0 8 0 pfrule 1344 28 0 23 2 1 1 2 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 1077 0 682 52 24 28 52 0 8 2 art_table 40 1080 0 682 9 3 6 9 0 8 0 art_node 32 208 0 144 2 0 2 2 0 8 0 sysvmsgpl 40 10 0 6 1 0 1 1 0 8 0 semupl 112 3 0 3 2 2 0 1 0 8 0 semapl 112 55 0 46 1 0 1 1 0 8 0 shmpl 112 15 0 0 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2856 0 1346 96 0 96 96 0 8 0 ffsino 296 2856 0 1346 118 0 118 118 0 8 0 nchpl 144 3985 0 2288 64 0 64 64 0 8 0 rtmask 32 9 0 9 2 2 0 1 0 8 0 uvmvnodes 80 3160 0 0 65 0 65 65 0 8 0 vnodes 216 3160 0 0 176 0 176 176 0 8 0 namei 1024 13153 0 13153 2 1 1 2 0 8 1 percpumem 16 99 0 52 1 0 1 1 0 8 0 kstatmem 264 92 0 70 3 1 2 3 0 8 0 scsiplug 72 4 0 4 1 0 1 1 0 8 1 scxspl 216 19157 0 19157 13 10 3 8 1 8 3 plimitpl 152 295 0 278 1 0 1 1 0 8 0 sigapl 424 1134 0 1058 9 0 9 9 0 8 0 knotepl 120 526 0 0 16 0 16 16 0 8 0 kqueuepl 224 377 0 366 6 5 1 5 0 8 0 pipepl 344 190 0 163 3 0 3 3 0 8 0 fdescpl 528 1088 0 1056 3 0 3 3 0 8 0 filepl 160 5989 0 5756 14 1 13 13 0 8 3 lockfpl 104 251 0 249 1 0 1 1 0 8 0 lockfspl 48 103 0 101 1 0 1 1 0 8 0 sessionpl 144 25 0 16 1 0 1 1 0 8 0 pgrppl 48 43 0 26 1 0 1 1 0 8 0 ucredpl 104 754 0 739 1 0 1 1 0 8 0 zombiepl 144 1242 0 1239 1 0 1 1 0 8 0 processpl 1232 1134 0 1058 6 0 6 6 0 8 0 procpl 664 2292 0 2207 8 0 8 8 0 8 0 sosppl 168 5 0 5 2 2 0 1 0 8 0 sockpl 752 1241 0 1205 8 1 7 7 0 8 3 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 126 0 0 16 0 16 16 0 8 0 mcl2k 2048 40 0 0 5 0 5 5 0 8 0 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 292 0 0 19 0 19 19 0 8 0 bufpl 280 7245 0 1102 439 0 439 439 0 8 0 anonpl 32 13189 0 0 107 0 107 107 0 246 0 amapchunkpl 152 29757 0 29233 41 16 25 33 0 158 4 amappl16 200 3603 0 3552 42 26 16 28 0 8 9 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 119 0 106 1 0 1 1 0 8 0 amappl13 176 5 0 4 1 0 1 1 0 8 0 amappl12 168 1770 0 1738 4 1 3 3 0 8 0 amappl11 160 51 0 37 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 257 0 257 1 1 0 1 0 8 0 amappl8 136 19 0 17 1 0 1 1 0 8 0 amappl7 128 115 0 103 1 0 1 1 0 8 0 amappl6 120 190 0 187 1 0 1 1 0 8 0 amappl5 112 129 0 119 1 0 1 1 0 8 0 amappl4 104 307 0 287 1 0 1 1 0 8 0 amappl3 96 5757 0 5635 5 1 4 4 0 8 0 amappl2 88 680 0 617 2 0 2 2 0 8 0 amappl1 80 11369 0 10754 17 2 15 15 0 8 0 amappl 88 8279 0 8104 5 0 5 5 0 92 0 dma16384 16384 1 0 1 1 1 0 1 0 8 0 dma8192 8192 2 0 2 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 2 2 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 17 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1088 0 1056 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1088 0 1056 1 0 1 1 0 8 0 vmmpekpl 168 10021 0 9985 2 0 2 2 0 8 0 vmmpepl 168 73679 0 71596 119 14 105 112 0 357 6 vmsppl 488 1087 0 1056 6 1 5 5 0 8 0 rwobjpl 80 24661 0 20511 91 2 89 89 0 8 4 pdppl 4096 2183 0 2112 103 32 71 83 0 8 0 pvpl 32 20494 0 0 166 0 166 166 0 265 0 pmappl 256 1087 0 1056 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 317 0 65 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace sys_semop(ffff80002ebfba28,ffff80003c4a3270,ffff80003c4a31c0) at sys_semop+0x352 sys/kern/sysv_sem.c:622 syscall(ffff80003c4a3270) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4a3270) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x708c5665850, count: -3 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299edff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -5