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(ffff80002a7f02b0,ffff80003c951080,ffff80003c950fd0) at sys_semop+0x384 sys/kern/sysv_sem.c:604 syscall(ffff80003c951080) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c951080) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb660d5dd00, count: -3 ddb> show registers rdi 0 rsi 0xfff3 __ALIGN_SIZE+0xeff3 rbp 0xffff80003c950fb0 rbx 0xdeadbeefdeadbeef rdx 0 rcx 0 rax 0xffff80002a7f02b0 r8 0x7f7fffffc000 r9 0 r10 0x9c6c63115c3500b1 r11 0xc0021382457d36fb r12 0xfffffff3 r13 0xfffffd806a4f8cb0 r14 0xffff80003c951080 r15 0 rip 0xffffffff82c445f4 sys_semop+0x384 cs 0x8 rflags 0x10286 __ALIGN_SIZE+0xf286 rsp 0xffff80003c950ec0 ss 0x10 sys_semop+0x384: movzwl 0(%rbx),%r15d ddb> show proc PROC (syz-executor) tid=60955 pid=92311 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=65, usrpri=65, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7f1240,0xffff80002a7f14e8 process=0xffff8000ffff9b18 user=0xffff80003c94c000, vmspace=0xfffffd806ba138b0 estcpu=15, cpticks=2, pctcpu=0.0, user=1, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 60019 152184 29836 0 3 0x80 fsleep syz-executor 60019 219457 29836 0 2 0x4000000 syz-executor 93062 431064 76159 0 3 0x80 fsleep syz-executor 93062 323236 76159 0 2 0x4000000 syz-executor 70026 158372 30277 0 3 0x3000 suspend syz-executor 70026 316074 30277 0 2 0x4081000 syz-executor 70026 488491 30277 0 3 0x4081000 inode syz-executor 92311 294666 6518 0 3 0x80 nanoslp syz-executor *92311 60955 6518 0 7 0x4000000 syz-executor 92311 286879 6518 0 3 0x4000080 fsleep syz-executor 22737 292280 69580 0 2 0 syz-executor 22737 143701 69580 0 3 0x4000080 fsleep syz-executor 51486 443302 26690 0 2 0x10 syz-executor 51486 243194 26690 0 2 0x4000010 syz-executor 61279 373073 86097 0 3 0x80 nanoslp syz-executor 61279 321120 86097 0 3 0x4000080 kqpoll syz-executor 61279 295237 86097 0 3 0x4000080 fsleep syz-executor 61279 228964 86097 0 3 0x4000080 fsleep syz-executor 43367 187880 0 0 3 0x14200 bored sosplice 77904 186015 0 0 3 0x14200 acct acct 29836 369407 29681 0 3 0x82 nanoslp syz-executor 30277 112347 29681 0 3 0x82 nanoslp syz-executor 26690 135601 29681 0 3 0x82 nanoslp syz-executor 86097 184001 29681 0 3 0x82 nanoslp syz-executor 91381 483072 29681 0 2 0x2 syz-executor 69580 282031 29681 0 3 0x82 nanoslp syz-executor 76159 26274 29681 0 3 0x82 nanoslp syz-executor 6518 4903 29681 0 3 0x82 nanoslp syz-executor 29681 481760 68594 0 3 0x82 kqread syz-executor 68594 242892 11935 0 3 0x10008a sigsusp ksh 11935 487315 91267 0 3 0x98 kqread sshd-session 91267 93633 15255 0 3 0x92 kqread sshd-session 98069 385652 1 0 3 0x100083 ttyin getty 15255 414034 1 0 3 0x88 kqread sshd 5899 58787 8862 73 3 0x1100090 kqread syslogd 8862 145031 1 0 3 0x100082 sbwait syslogd 45501 347726 1 0 3 0x100080 kqread resolvd 77178 331963 90516 77 3 0x100092 kqread dhcpleased 96770 86172 90516 77 3 0x100092 kqread dhcpleased 90516 169839 1 0 3 0x80 kqread dhcpleased 54476 293179 0 0 3 0x14200 bored smr 59308 87464 0 0 2 0x14200 zerothread 6634 34443 0 0 3 0x14200 aiodoned aiodoned 78435 52894 0 0 3 0x14200 syncer update 31758 49850 0 0 3 0x14200 cleaner cleaner 36527 367179 0 0 3 0x14200 reaper reaper 62804 231878 0 0 3 0x14200 pgdaemon pagedaemon 86137 55784 0 0 3 0x14200 bored viomb 92541 313139 0 0 3 0x40014200 acpi0 acpi0 36206 193841 0 0 3 0x14200 bored softnet0 30289 426058 0 0 3 0x14200 bored systqmp 11585 41727 0 0 3 0x14200 bored systq 33895 185843 0 0 3 0x40014200 tmoslp softclock 86861 135542 0 0 3 0x40014200 idle0 1 215608 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 10207 11122K 11333K 166960K 11454 0 pcb 17 14K 16K 166960K 162 0 rtable 216 6K 6K 166960K 282 0 pf 30 12K 13K 166960K 39 0 ifaddr 43 7K 8K 166960K 51 0 ifgroup 50 2K 2K 166960K 61 0 sysctl 3 1K 9K 166960K 8 0 counters 32 17K 17K 166960K 37 0 ioctlops 0 0K 4K 166960K 46 0 iov 0 0K 8K 166960K 7 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1371 86K 86K 166960K 1579 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 4 9K 9K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 9 0K 0K 166960K 76 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 93K 166960K 294 0 proc 61 59K 108K 166960K 501 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 2 0K 0K 166960K 21 0 in_multi 103 7K 7K 166960K 108 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 2K 166960K 365 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 222 143K 152K 166960K 4099 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 38 76K 94K 166960K 1316 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 5 0 NDP 11 0K 1K 166960K 32 0 temp 41 8635K 8699K 166960K 4855 0 kqueue 13 20K 26K 166960K 54 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 48 0 45 1 0 1 1 0 8 0 rtentry 136 104 0 6 4 0 4 4 0 8 0 unpcb 144 213 0 198 3 0 3 3 0 8 2 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 42 0 36 1 0 1 1 0 8 0 arp 96 11 0 1 1 0 1 1 0 8 0 inpcb 328 259 0 250 7 0 7 7 0 8 6 ip6q 72 3 0 1 1 0 1 1 0 8 0 ip6af 40 4 0 2 1 0 1 1 0 8 0 nd6 112 20 0 1 1 0 1 1 0 8 0 pkpcb 40 2 0 2 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 4 0 4 2 1 1 1 0 8 1 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 501 0 36 32 2 30 30 0 8 0 art_table 40 502 0 36 5 0 5 5 0 8 0 art_node 32 104 0 17 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 1 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 73 0 67 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1923 0 420 95 0 95 95 0 8 0 ffsino 256 1925 0 420 95 0 95 95 0 8 0 nchpl 144 2351 0 676 63 0 63 63 0 8 0 uvmvnodes 80 2091 0 0 43 0 43 43 0 8 0 vnodes 216 2092 0 0 117 0 117 117 0 8 0 namei 1024 7311 0 7306 3 2 1 2 0 8 0 kstatmem 264 30 0 8 2 0 2 2 0 8 0 scxspl 216 8295 0 8295 15 7 8 8 1 8 8 plimitpl 152 49 0 33 1 0 1 1 0 8 0 sigapl 424 570 0 526 6 0 6 6 0 8 0 knotepl 120 8781 0 8734 16 7 9 9 0 8 7 kqueuepl 184 72 0 61 1 0 1 1 0 8 0 pipepl 304 110 0 82 3 0 3 3 0 8 0 fdescpl 448 555 0 526 5 1 4 5 0 8 0 filepl 120 2862 0 2617 15 1 14 15 0 8 6 lockfpl 104 62 0 59 1 0 1 1 0 8 0 lockfspl 48 27 0 24 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 29 0 13 1 0 1 1 0 8 0 ucredpl 104 520 0 508 1 0 1 1 0 8 0 zombiepl 144 593 0 592 2 1 1 1 0 8 0 processpl 1152 570 0 526 4 0 4 4 0 8 0 procpl 664 845 0 790 6 0 6 6 0 8 0 sockpl 552 527 0 500 10 0 10 10 0 8 8 mcl64k 65536 14 0 14 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 6 0 6 2 1 1 1 0 8 1 mcl4k 4096 2703 0 2651 17 9 8 16 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 388 0 382 2 0 2 2 0 8 1 mtagpl 96 4 0 4 1 1 0 1 0 8 0 mbufpl 256 5557 0 5368 29 7 22 28 0 8 8 bufpl 280 3437 0 126 237 0 237 237 0 8 0 anonpl 24 110009 0 106889 34 1 33 33 0 187 10 amapchunkpl 152 12810 0 12337 26 0 26 26 0 158 7 amappl16 200 1870 0 1844 5 2 3 5 0 8 0 amappl15 192 7 0 6 1 0 1 1 0 8 0 amappl14 184 101 0 91 1 0 1 1 0 8 0 amappl13 176 7 0 5 1 0 1 1 0 8 0 amappl12 168 1186 0 1157 3 1 2 3 0 8 0 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 250 0 250 1 1 0 1 0 8 0 amappl8 136 24 0 23 1 0 1 1 0 8 0 amappl7 128 99 0 89 1 0 1 1 0 8 0 amappl6 120 186 0 183 1 0 1 1 0 8 0 amappl5 112 118 0 110 1 0 1 1 0 8 0 amappl4 104 258 0 243 1 0 1 1 0 8 0 amappl3 96 2089 0 1996 3 0 3 3 0 8 0 amappl2 88 840 0 769 2 0 2 2 0 8 0 amappl1 80 8593 0 8043 13 1 12 13 0 8 0 amappl 88 3445 0 3286 4 0 4 4 0 92 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 7 0 7 2 1 1 1 0 8 1 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 555 0 526 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 555 0 526 1 0 1 1 0 8 0 vmmpekpl 168 5839 0 5805 2 0 2 2 0 8 0 vmmpepl 168 41225 0 39384 84 0 84 84 0 357 3 vmsppl 368 554 0 526 4 1 3 4 0 8 0 rwobjpl 40 15634 0 12695 30 0 30 30 0 8 0 pdppl 4096 1117 0 1052 101 34 67 81 0 8 2 pvpl 32 263254 0 255055 110 5 105 105 0 265 30 pmappl 216 554 0 526 3 1 2 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 395 0 60 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a7f02b0,ffff80003c951080,ffff80003c950fd0) at sys_semop+0x384 sys/kern/sysv_sem.c:604 syscall(ffff80003c951080) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c951080) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb660d5dd00, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a7f02b0,ffff80003c951080,ffff80003c950fd0) at sys_semop+0x384 sys/kern/sysv_sem.c:604 syscall(ffff80003c951080) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c951080) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb660d5dd00, count: -3