kernel: protection fault trap, code=0 Stopped at sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace sys_semop(ffff80003a8e74e8,ffff80002ccb9a60,ffff80002ccb99b0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80002ccb9a60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002ccb9a60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3caa1175c60, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002ccb9990 rbx 0xdeadbeefdeadbeef rdx 0 rcx 0 rax 0xdeadbeefdeadbeef r8 0x7f7fffffc000 r9 0 r10 0x25ff10a2f4ccce9d r11 0x94463f4b90bd22ff r12 0 r13 0xfffffd806ccc08c0 r14 0xffff80002ccb9a60 r15 0 rip 0xffffffff82100bd5 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002ccb98a0 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=156257 pid=654 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=78, usrpri=78, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003a8e6a88,0xffff80003a8e7260 process=0xffff8000ffff9f98 user=0xffff80002ccb4000, vmspace=0xfffffd80741aaa20 estcpu=28, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 21837 301637 2092 0 2 0 syz-executor 21837 17149 2092 0 3 0x4000080 fsleep syz-executor 6013 155486 72357 0 2 0 syz-executor 6013 414895 72357 0 3 0x4000080 fsleep syz-executor 60837 429261 6515 0 2 0 syz-executor 60837 460875 6515 0 3 0x4000080 fsleep syz-executor 76655 478487 91956 0 2 0 syz-executor 76655 367849 91956 0 3 0x4000080 fsleep syz-executor 654 106408 29401 0 2 0 syz-executor 654 77047 29401 0 2 0x4000000 syz-executor 654 21457 29401 0 3 0x4000080 fsleep syz-executor * 654 156257 29401 0 7 0x4000000 syz-executor 88654 353552 40340 0 3 0x80 nanoslp syz-executor 88654 112795 40340 0 3 0x4000080 kqpoll syz-executor 88654 92629 40340 0 3 0x4000080 fsleep syz-executor 4372 503815 78610 0 3 0x80 nanoslp syz-executor 4372 462468 78610 0 3 0x4000080 ttyout syz-executor 4372 151414 78610 0 3 0x4000080 fsleep syz-executor 4372 330141 78610 0 2 0x4000000 syz-executor 57783 100530 61034 0 2 0x4000000 syz-executor 57783 175238 61034 0 2 0x4000000 syz-executor 57783 453735 61034 0 3 0x4000080 fsleep syz-executor 72357 101681 97579 0 3 0x82 nanoslp syz-executor 40340 58548 97579 0 3 0x82 nanoslp syz-executor 6515 264124 97579 0 3 0x82 nanoslp syz-executor 91956 413264 97579 0 3 0x82 nanoslp syz-executor 78610 409816 97579 0 3 0x82 nanoslp syz-executor 2092 130632 97579 0 3 0x82 nanoslp syz-executor 61034 356422 97579 0 3 0x82 nanoslp syz-executor 29401 485693 97579 0 3 0x82 nanoslp syz-executor 97579 251467 49988 0 3 0x82 kqread syz-executor 49988 479681 77534 0 3 0x10008a sigsusp ksh 77534 154621 79038 0 3 0x98 kqread sshd-session 79038 134629 3377 0 3 0x92 kqread sshd-session 52869 32917 1 0 3 0x100083 ttyin getty 3377 353746 1 0 3 0x88 kqread sshd 78301 106120 31793 73 3 0x1100090 kqread syslogd 31793 66223 1 0 3 0x100082 sbwait syslogd 96273 256868 1 0 3 0x100080 kqread resolvd 18153 15451 67875 77 3 0x100092 kqread dhcpleased 89695 115913 67875 77 3 0x100092 kqread dhcpleased 67875 18515 1 0 3 0x80 kqread dhcpleased 50063 345918 0 0 3 0x14200 bored smr 41023 397609 0 0 2 0x14200 zerothread 14567 186304 0 0 3 0x14200 aiodoned aiodoned 42253 260286 0 0 3 0x14200 syncer update 44436 210933 0 0 3 0x14200 cleaner cleaner 25393 299535 0 0 3 0x14200 reaper reaper 98570 249726 0 0 3 0x14200 pgdaemon pagedaemon 76136 518321 0 0 3 0x14200 bored viomb 66378 392212 0 0 3 0x40014200 acpi0 acpi0 77064 363782 0 0 2 0x14200 softnet0 48869 390469 0 0 3 0x14200 bored systqmp 67094 383748 0 0 3 0x14200 bored systq 67721 71078 0 0 3 0x40014200 tmoslp softclock 14538 275273 0 0 3 0x40014200 idle0 1 218567 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11046 12124K 12371K 166960K 12454 0 pcb 17 12K 12K 166960K 59 0 rtable 221 6K 7K 166960K 410 0 pf 34 13K 19K 166960K 98 0 ifaddr 40 6K 7K 166960K 60 0 ifgroup 54 2K 2K 166960K 84 0 sysctl 3 1K 9K 166960K 8 0 counters 34 17K 18K 166960K 46 0 ioctlops 0 0K 4K 166960K 100 0 iov 0 0K 16K 166960K 9 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1299 82K 82K 166960K 1607 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 5 0K 0K 166960K 10 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 393 0 proc 60 59K 124K 166960K 518 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 63 0 in_multi 88 6K 7K 166960K 120 0 ether_multi 1 0K 0K 166960K 10 0 mrt 1 0K 0K 166960K 19 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 389 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 233 151K 165K 166960K 5098 0 UVM aobj 4 2K 2K 166960K 4 0 pinsyscall 39 78K 96K 166960K 1474 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 24 0 NDP 12 0K 2K 166960K 40 0 temp 41 9063K 9127K 166960K 5060 0 kqueue 14 22K 29K 166960K 66 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 52 0 48 1 0 1 1 0 8 0 rtentry 136 125 0 29 4 0 4 4 0 8 0 unpcb 144 262 0 247 1 0 1 1 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 74 0 69 1 0 1 1 0 8 0 arp 96 22 0 6 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 219 0 211 3 1 2 2 0 8 1 ip6q 72 11 0 2 1 0 1 1 0 8 0 ip6af 40 15 0 5 1 0 1 1 0 8 0 nd6 112 26 0 5 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 9 0 9 2 1 1 1 0 8 1 pfsrclim 320 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pftag 88 4 0 2 1 0 1 1 0 8 0 pfqueue 320 1 0 1 1 1 0 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 2 1 1 1 0 8 0 pfstate 384 2 0 1 2 1 1 1 0 8 0 pfrule 1360 13 0 11 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 463 0 61 29 1 28 29 0 8 0 art_table 40 465 0 61 5 0 5 5 0 8 0 art_node 32 125 0 41 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semapl 112 5 0 3 1 0 1 1 0 8 0 shmpl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2041 0 584 92 0 92 92 0 8 0 ffsino 256 2041 0 584 92 0 92 92 0 8 0 nchpl 144 2574 0 883 64 0 64 64 0 8 0 vnodes 216 2267 0 0 126 0 126 126 0 8 0 namei 1024 7587 0 7585 4 3 1 2 0 8 0 kstatmem 264 48 0 24 3 0 3 3 0 8 1 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 8076 0 8076 3 2 1 3 1 8 1 plimitpl 152 126 0 109 1 0 1 1 0 8 0 sigapl 424 683 0 640 6 1 5 6 0 8 0 knotepl 120 13372 0 13325 16 7 9 9 0 8 7 kqueuepl 184 93 0 82 1 0 1 1 0 8 0 pipepl 304 132 0 105 3 0 3 3 0 8 0 fdescpl 448 670 0 640 5 1 4 5 0 8 0 filepl 120 2915 0 2696 9 1 8 8 0 8 0 lockfpl 104 49 0 47 1 0 1 1 0 8 0 lockfspl 48 25 0 23 1 0 1 1 0 8 0 sessionpl 144 27 0 19 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 104 507 0 496 1 0 1 1 0 8 0 zombiepl 144 718 0 718 3 2 1 1 0 8 1 processpl 1152 683 0 640 4 0 4 4 0 8 0 procpl 664 1061 0 1004 6 0 6 6 0 8 1 sosppl 176 2 0 2 1 1 0 1 0 8 0 sockpl 552 537 0 510 4 0 4 4 0 8 2 mcl64k 65536 58 0 54 1 0 1 1 0 8 0 mcl16k 16384 8 0 8 2 1 1 1 0 8 1 mcl12k 12288 2 0 2 1 1 0 1 0 8 0 mcl9k 9216 4 0 4 2 1 1 1 0 8 1 mcl8k 8192 34 0 34 2 1 1 1 0 8 1 mcl4k 4096 2963 0 2911 15 7 8 14 0 8 1 mcl2k2 2112 6 0 6 1 0 1 1 0 8 1 mcl2k 2048 393 0 385 4 2 2 2 0 8 1 mtagpl 96 7 0 4 1 0 1 1 0 8 0 mbufpl 256 7033 0 6820 14 0 14 14 0 8 0 bufpl 280 2679 0 111 184 0 184 184 0 8 0 anonpl 24 113266 0 110025 33 12 21 32 0 187 0 amapchunkpl 152 15745 0 15234 33 11 22 29 0 158 2 amappl16 200 1837 0 1814 7 4 3 5 0 8 1 amappl15 192 42 0 42 1 1 0 1 0 8 0 amappl14 184 412 0 411 1 0 1 1 0 8 0 amappl13 176 111 0 101 1 0 1 1 0 8 0 amappl12 168 912 0 882 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 62 0 52 1 0 1 1 0 8 0 amappl9 144 265 0 265 1 1 0 1 0 8 0 amappl8 136 131 0 130 1 0 1 1 0 8 0 amappl7 128 139 0 128 1 0 1 1 0 8 0 amappl6 120 160 0 159 1 0 1 1 0 8 0 amappl5 112 84 0 76 1 0 1 1 0 8 0 amappl4 104 251 0 234 1 0 1 1 0 8 0 amappl3 96 3081 0 2964 4 0 4 4 0 8 1 amappl2 88 508 0 454 2 0 2 2 0 8 0 amappl1 80 9972 0 9417 13 1 12 13 0 8 0 amappl 88 4392 0 4222 5 0 5 5 0 92 1 uvmvnodes 80 99 0 0 3 0 3 3 0 8 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 670 0 640 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 670 0 640 1 0 1 1 0 8 0 vmmpekpl 168 6714 0 6684 2 0 2 2 0 8 0 vmmpepl 168 48978 0 47140 83 2 81 81 0 357 1 vmsppl 368 669 0 640 4 1 3 4 0 8 0 rwobjpl 40 15727 0 14770 11 1 10 11 0 8 0 pdppl 4096 1346 0 1280 96 30 66 82 0 8 0 pvpl 32 316673 0 307804 111 26 85 97 0 265 7 pmappl 216 669 0 640 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 371 0 50 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80003a8e74e8,ffff80002ccb9a60,ffff80002ccb99b0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80002ccb9a60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002ccb9a60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3caa1175c60, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80003a8e74e8,ffff80002ccb9a60,ffff80002ccb99b0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80002ccb9a60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002ccb9a60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3caa1175c60, count: -3