kernel: protection fault trap, code=0 Stopped at sys_semop+0x384: movzwl 0(%rbx),%r15d ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace sys_semop(ffff80002a780a80,ffff800037d25a50,ffff800037d259a0) at sys_semop+0x384 sys/kern/sysv_sem.c:606 syscall(ffff800037d25a50) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800037d25a50) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x14423852a60, count: -3 ddb> show registers rdi 0 rsi 0xfffc __ALIGN_SIZE+0xeffc rbp 0xffff800037d25980 rbx 0xdeaf4152deaf4152 rdx 0 rcx 0 rax 0xffff80002a780a80 r8 0x7f7fffffc000 r9 0 r10 0x93e721aeaeefe3be r11 0x30a652fb5c7fdb00 r12 0xfffffffc r13 0xfffffd8068a0f7e0 r14 0xffff800037d25a50 r15 0 rip 0xffffffff81cfc9b4 sys_semop+0x384 cs 0x8 rflags 0x10286 __ALIGN_SIZE+0xf286 rsp 0xffff800037d25890 ss 0x10 sys_semop+0x384: movzwl 0(%rbx),%r15d ddb> show proc PROC (syz-executor) tid=100905 pid=56573 tcnt=3 stat=onproc flags process=10 proc=4000000 runpri=80, usrpri=80, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7814e0,0xffff80002a746a78 process=0xffff8000ffff9b18 user=0xffff800037d20000, vmspace=0xfffffd806cb15e70 estcpu=30, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 68533 18152 85752 0 2 0 syz-executor 68533 416174 85752 0 3 0x4000080 fsleep syz-executor 57954 96675 68728 0 2 0x10 syz-executor 57954 89774 68728 0 3 0x4000090 fsleep syz-executor 57954 315650 68728 0 2 0x4000010 syz-executor 6706 112214 3284 0 2 0 syz-executor 6706 367016 3284 0 3 0x4000080 fsleep syz-executor 6706 413892 3284 0 2 0x4000000 syz-executor 56573 479535 70935 0 2 0x10 syz-executor *56573 100905 70935 0 7 0x4000010 syz-executor 56573 370300 70935 0 3 0x4000090 fsleep syz-executor 70730 353295 50863 -1 2 0x10 syz-executor 70730 168371 50863 -1 2 0x4000010 syz-executor 60328 195562 71570 0 2 0 syz-executor 60328 186029 71570 0 3 0x4000080 fsleep syz-executor 60328 333665 71570 0 3 0x4000080 fsleep syz-executor 30700 460638 55999 0 2 0x2 syz-executor 83920 258522 1 0 3 0x100083 ttyin getty 50863 46987 55999 0 2 0xc82 syz-executor 70935 20085 55999 0 2 0xc82 syz-executor 85752 499334 55999 0 2 0xc82 syz-executor 8262 251757 55999 0 2 0x2 syz-executor 68728 212387 55999 0 2 0xc82 syz-executor 3284 277385 55999 0 2 0xc82 syz-executor 71570 504255 55999 0 2 0xc82 syz-executor 55999 27920 11824 0 3 0x82 kqread syz-executor 11824 86983 6163 0 3 0x10008a sigsusp ksh 6163 278809 54562 0 3 0x98 kqread sshd-session 54562 245909 33863 0 3 0x92 kqread sshd-session 33863 34444 1 0 3 0x88 kqread sshd 78712 396631 514 73 3 0x1100090 kqread syslogd 514 473332 1 0 3 0x100082 sbwait syslogd 43612 314652 1 0 3 0x100080 kqread resolvd 12968 398563 37562 77 3 0x100092 kqread dhcpleased 28178 374534 37562 77 3 0x100092 kqread dhcpleased 37562 205119 1 0 3 0x80 kqread dhcpleased 64076 437076 0 0 3 0x14200 bored smr 98960 241069 0 0 2 0x14200 zerothread 29663 258932 0 0 3 0x14200 aiodoned aiodoned 63502 24283 0 0 3 0x14200 syncer update 60166 185239 0 0 3 0x14200 cleaner cleaner 45426 291654 0 0 3 0x14200 reaper reaper 25498 498054 0 0 3 0x14200 pgdaemon pagedaemon 80633 72832 0 0 3 0x14200 bored viomb 726 212027 0 0 3 0x40014200 acpi0 acpi0 25588 471007 0 0 2 0x14200 softnet0 44858 422976 0 0 3 0x14200 bored systqmp 79708 196109 0 0 3 0x14200 bored systq 96399 67603 0 0 3 0x40014200 tmoslp softclock 58688 72145 0 0 3 0x40014200 idle0 1 214025 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 11037 12107K 12497K 166960K 12442 0 pcb 17 12K 12K 166960K 61 0 rtable 253 8K 8K 166960K 652 0 pf 33 13K 14K 166960K 67 0 ifaddr 43 7K 7K 166960K 86 0 ifgroup 52 2K 2K 166960K 103 0 sysctl 3 1K 9K 166960K 7 0 counters 34 17K 18K 166960K 49 0 ioctlops 0 0K 4K 166960K 71 0 iov 0 0K 12K 166960K 8 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1295 81K 82K 166960K 1631 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 8 0K 0K 166960K 10 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 89K 166960K 465 0 sigio 0 0K 0K 166960K 3 0 proc 60 59K 83K 166960K 758 0 subproc 72 4K 4K 166960K 144 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 29 0 in_multi 99 7K 7K 166960K 193 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 16 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 556 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 212 150K 161K 166960K 5644 0 UVM aobj 17 5K 5K 166960K 18 0 pinsyscall 39 78K 92K 166960K 1765 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 6 0 NDP 13 0K 2K 166960K 58 0 temp 76 9076K 9141K 166960K 8856 0 kqueue 14 22K 26K 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 78 0 75 1 0 1 1 0 8 0 rtentry 136 207 0 96 4 0 4 4 0 8 0 unpcb 144 286 0 264 6 0 6 6 0 8 5 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpcb 736 227 0 223 7 0 7 7 0 8 6 arp 96 35 0 18 1 0 1 1 0 8 0 inpcb 328 402 0 395 7 0 7 7 0 8 6 nd6 112 49 0 25 1 0 1 1 0 8 0 kcovpl 48 16 0 8 1 0 1 1 0 8 0 ppxss 1072 6 0 5 2 1 1 1 0 8 0 pppxif 1416 2 0 2 1 0 1 1 0 8 1 pfsrclim 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 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 pfrule 1360 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 846 0 382 32 0 32 32 0 8 3 art_table 40 849 0 382 6 0 6 6 0 8 1 art_node 32 207 0 106 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semapl 112 7 0 2 1 0 1 1 0 8 0 shmpl 112 15 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1996 0 526 93 0 93 93 0 8 0 ffsino 256 1996 0 526 93 0 93 93 0 8 0 nchpl 144 2487 0 768 64 0 64 64 0 8 0 vnodes 216 2245 0 0 125 0 125 125 0 8 0 namei 1024 8507 0 8507 4 1 3 3 0 8 3 kstatmem 264 50 0 26 2 0 2 2 0 8 0 scxspl 216 8191 0 8191 10 2 8 8 1 8 8 plimitpl 152 59 0 42 1 0 1 1 0 8 0 sigapl 424 743 0 702 6 1 5 6 0 8 0 knotepl 120 10975 0 10927 9 0 9 9 0 8 7 kqueuepl 184 91 0 80 1 0 1 1 0 8 0 pipepl 304 156 0 129 3 0 3 3 0 8 0 fdescpl 448 732 0 702 5 0 5 5 0 8 1 filepl 120 3426 0 3217 14 2 12 12 0 8 4 lockfpl 104 64 0 62 1 0 1 1 0 8 0 lockfspl 48 31 0 29 1 0 1 1 0 8 0 sessionpl 144 36 0 28 1 0 1 1 0 8 0 pgrppl 48 59 0 43 1 0 1 1 0 8 0 ucredpl 104 398 0 384 1 0 1 1 0 8 0 zombiepl 144 862 0 862 2 1 1 1 0 8 1 processpl 1152 745 0 702 4 0 4 4 0 8 0 procpl 664 1156 0 1103 6 0 6 6 0 8 1 sockpl 552 773 0 741 12 2 10 12 0 8 7 mcl64k 65536 7 0 7 1 0 1 1 0 8 1 mcl16k 16384 11 0 11 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 7 0 7 2 1 1 1 0 8 1 mcl4k 4096 2809 0 2757 16 8 8 15 0 8 1 mcl2k 2048 432 0 431 3 1 2 2 0 8 1 mtagpl 96 9 0 5 2 1 1 1 0 8 0 mbufpl 256 7158 0 6973 18 1 17 17 0 8 5 bufpl 280 2791 0 167 188 0 188 188 0 8 0 anonpl 24 134005 0 130907 44 12 32 32 0 187 9 amapchunkpl 152 17203 0 16766 29 5 24 24 0 158 5 amappl16 200 2088 0 2062 7 4 3 5 0 8 1 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 505 0 504 1 0 1 1 0 8 0 amappl13 176 131 0 120 1 0 1 1 0 8 0 amappl12 168 1014 0 987 2 0 2 2 0 8 0 amappl11 160 7 0 7 1 1 0 1 0 8 0 amappl10 152 60 0 50 1 0 1 1 0 8 0 amappl9 144 264 0 263 1 0 1 1 0 8 0 amappl8 136 137 0 136 1 0 1 1 0 8 0 amappl7 128 153 0 142 1 0 1 1 0 8 0 amappl6 120 319 0 317 1 0 1 1 0 8 0 amappl5 112 88 0 80 1 0 1 1 0 8 0 amappl4 104 284 0 267 1 0 1 1 0 8 0 amappl3 96 3192 0 3089 4 0 4 4 0 8 1 amappl2 88 562 0 509 2 0 2 2 0 8 0 amappl1 80 10861 0 10310 13 0 13 13 0 8 1 amappl 88 4794 0 4645 5 0 5 5 0 92 1 uvmvnodes 80 101 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 17 0 1 1 0 1 1 0 8 0 uaddrrnd 24 730 0 702 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 730 0 702 1 0 1 1 0 8 0 vmmpekpl 168 7384 0 7341 3 0 3 3 0 8 0 vmmpepl 168 53614 0 51881 85 2 83 83 0 357 4 vmsppl 368 729 0 702 4 1 3 4 0 8 0 rwobjpl 40 17565 0 16611 12 1 11 11 0 8 0 pdppl 4096 1466 0 1404 120 52 68 78 0 8 6 pvpl 32 332444 0 324160 118 15 103 103 0 265 24 pmappl 216 729 0 702 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 411 0 68 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a780a80,ffff800037d25a50,ffff800037d259a0) at sys_semop+0x384 sys/kern/sysv_sem.c:606 syscall(ffff800037d25a50) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800037d25a50) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x14423852a60, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a780a80,ffff800037d25a50,ffff800037d259a0) at sys_semop+0x384 sys/kern/sysv_sem.c:606 syscall(ffff800037d25a50) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800037d25a50) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x14423852a60, count: -3