kernel: protection fault trap, code=0 Stopped at sys_semop+0x45b: 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(ffff80002a7ad728,ffff80003653bc90,ffff80003653bbe0) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003653bc90) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003653bc90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x94ac7f99c80, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003653bbb0 rbx 0 rdx 0 rcx 0 rax 0xdead4110dead4110 r8 0x7f7fffffc000 r9 0 r10 0x63091a2f77172568 r11 0xe0744e32df1e1f43 r12 0xffff8000014c5784 r13 0 r14 0xffff80003653bc90 r15 0 rip 0xffffffff810f016b sys_semop+0x45b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003653ba90 ss 0x10 sys_semop+0x45b: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=99376 pid=81120 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=81, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800038132f88,0xffff800038133228 process=0xffff800035d156c0 user=0xffff800036536000, vmspace=0xfffffd8063fb05b8 estcpu=31, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 44833 523433 49377 0 2 0 syz-executor 48654 501574 2572 0 2 0 syz-executor 48654 434113 2572 0 2 0x4000000 syz-executor 48654 107350 2572 0 3 0x4000000 vmmaplk syz-executor 28560 515061 33086 0 2 0 syz-executor 28560 347788 33086 0 2 0x4000000 syz-executor 28560 61102 33086 0 2 0x4000000 syz-executor 28560 415700 33086 0 2 0x4000000 syz-executor 81120 233524 54080 0 2 0 syz-executor 81120 456018 54080 0 3 0x4000080 fsleep syz-executor *81120 99376 54080 0 7 0x4000000 syz-executor 81120 437410 54080 0 3 0x4000080 fsleep syz-executor 95242 308627 84041 0 2 0 syz-executor 95242 359560 84041 0 3 0x4000080 fsleep syz-executor 95242 156807 84041 0 3 0x4000080 fsleep syz-executor 41454 320168 84892 0 2 0 syz-executor 41454 27875 84892 0 3 0x4000080 fsleep syz-executor 41454 204332 84892 0 3 0x4000080 fsleep syz-executor 85495 42811 5318 0 2 0 syz-executor 85495 261413 5318 0 3 0x4000080 fsleep syz-executor 85495 320054 5318 0 3 0x4000080 fsleep syz-executor 96812 371080 28949 0 2 0x2 syz-executor 71298 114074 0 0 3 0x14200 acct acct 52726 137589 0 0 3 0x14200 bored sosplice 49377 142310 28949 0 3 0x82 nanoslp syz-executor 2572 298831 28949 0 3 0x82 nanoslp syz-executor 33086 71585 28949 0 3 0x82 nanoslp syz-executor 54080 121737 28949 0 3 0x82 nanoslp syz-executor 84041 162399 28949 0 3 0x82 nanoslp syz-executor 84892 209707 28949 0 3 0x82 nanoslp syz-executor 5318 347913 28949 0 3 0x82 nanoslp syz-executor 28949 295517 41148 0 2 0x2 syz-executor 41148 190196 15658 0 3 0x10008a sigsusp ksh 15658 436118 5348 0 3 0x98 kqread sshd-session 5348 504743 99053 0 3 0x92 kqread sshd-session 96824 61371 1 0 3 0x100083 ttyopn getty 99053 292416 1 0 3 0x88 kqread sshd 46504 432426 88493 73 3 0x1100090 kqread syslogd 88493 90490 1 0 3 0x100082 sbwait syslogd 59043 111999 1 0 3 0x100080 kqread resolvd 51404 87908 89940 77 3 0x100092 kqread dhcpleased 50942 235157 89940 77 3 0x100092 kqread dhcpleased 89940 406884 1 0 3 0x80 kqread dhcpleased 91769 252759 0 0 3 0x14200 bored smr 1675 408431 0 0 2 0x14200 zerothread 77834 56849 0 0 3 0x14200 aiodoned aiodoned 4658 510202 0 0 3 0x14200 syncer update 82682 227116 0 0 3 0x14200 cleaner cleaner 55509 134378 0 0 3 0x14200 reaper reaper 96245 70598 0 0 3 0x14200 pgdaemon pagedaemon 48436 494319 0 0 3 0x14200 bored viomb 78535 405229 0 0 3 0x40014200 acpi0 acpi0 18613 76520 0 0 3 0x14200 bored softnet3 84696 122126 0 0 3 0x14200 bored softnet2 34639 508949 0 0 3 0x14200 bored softnet1 79210 506100 0 0 3 0x14200 bored softnet0 11686 413642 0 0 3 0x14200 bored systqmp 72276 445511 0 0 3 0x14200 bored systq 29382 508343 0 0 3 0x40014200 tmoslp softclock 73473 496421 0 0 3 0x40014200 idle0 1 365233 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10187 11045K 11840K 166960K 12621 0 pcb 17 13K 13K 166960K 153 0 rtable 184 8K 8K 166960K 399 0 pf 33 13K 15K 166960K 112 0 ifaddr 34 5K 7K 166960K 88 0 ifgroup 48 2K 2K 166960K 154 0 sysctl 3 1K 9K 166960K 12 0 counters 33 17K 18K 166960K 73 0 ioctlops 0 0K 4K 166960K 203 0 iov 0 0K 24K 166960K 69 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1428 90K 91K 166960K 2313 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 16 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 36 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 212K 166960K 906 0 sigio 0 0K 0K 166960K 9 0 proc 60 59K 124K 166960K 725 0 subproc 67 4K 4K 166960K 193 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 57 0 in_multi 66 4K 7K 166960K 124 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 7 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 469 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 239 152K 173K 166960K 9293 0 UVM aobj 16 2K 2K 166960K 17 0 pinsyscall 38 76K 96K 166960K 2029 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 11 0K 2K 166960K 57 0 temp 51 8669K 8735K 166960K 42970 0 kqueue 13 20K 32K 166960K 138 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 104 0 101 1 0 1 1 0 8 0 rtentry 136 124 0 57 4 0 4 4 0 8 0 unpcb 144 750 0 734 9 5 4 6 0 8 3 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 239 0 233 7 6 1 7 0 8 0 arp 88 16 0 3 1 0 1 1 0 8 0 ipq 40 4 0 0 1 0 1 1 0 8 0 ipqe 40 4 0 0 1 0 1 1 0 8 0 inpcb 328 618 0 609 8 6 2 7 0 8 1 ip6q 72 2 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 104 20 0 8 1 0 1 1 0 8 0 pkpcb 40 7 0 7 2 1 1 1 0 8 1 kcovpl 48 21 0 14 1 0 1 1 0 8 0 ppxss 1072 21 0 19 1 0 1 1 0 8 0 pppxif 1384 7 0 7 1 1 0 1 0 8 0 pfrktable 1344 2 0 0 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 0 1 0 1 1 0 8 0 pfstate 384 2 0 0 1 0 1 1 0 8 0 pfrule 1344 11 0 5 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 594 0 280 28 5 23 28 0 8 1 art_table 40 596 0 280 5 0 5 5 0 8 0 art_node 32 121 0 64 1 0 1 1 0 8 0 sysvmsgpl 40 41 0 6 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 33 0 24 1 0 1 1 0 8 0 shmpl 112 14 0 1 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2924 0 1417 95 0 95 95 0 8 0 ffsino 248 2924 0 1417 95 0 95 95 0 8 0 nchpl 144 4070 0 2377 63 0 63 63 0 8 0 rtmask 32 3 0 2 1 0 1 1 0 8 0 uvmvnodes 80 3649 0 0 75 0 75 75 0 8 0 vnodes 216 3649 0 0 203 0 203 203 0 8 0 namei 1024 14236 0 14235 4 2 2 2 0 8 1 kstatmem 264 82 0 60 3 1 2 3 0 8 0 scsiplug 72 5 0 5 1 1 0 1 0 8 0 scxspl 216 15069 0 15069 9 7 2 8 1 8 2 plimitpl 152 278 0 262 1 0 1 1 0 8 0 sigapl 424 1148 0 1101 7 1 6 7 0 8 0 knotepl 120 304979 0 304931 18 8 10 10 0 8 8 kqueuepl 184 324 0 315 4 3 1 4 0 8 0 pipepl 296 200 0 173 3 0 3 3 0 8 0 fdescpl 440 1129 0 1100 5 1 4 5 0 8 0 filepl 120 6535 0 6332 13 5 8 12 0 8 1 lockfpl 104 646 0 643 1 0 1 1 0 8 0 lockfspl 48 241 0 238 1 0 1 1 0 8 0 sessionpl 144 34 0 26 1 0 1 1 0 8 0 pgrppl 48 61 0 45 1 0 1 1 0 8 0 ucredpl 104 985 0 974 1 0 1 1 0 8 0 zombiepl 144 1183 0 1183 2 1 1 1 0 8 1 processpl 1160 1148 0 1101 4 0 4 4 0 8 0 procpl 656 2226 0 2165 7 1 6 6 0 8 0 sockpl 528 1596 0 1568 17 10 7 12 0 8 5 mcl64k 65536 58 0 58 2 1 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 86 0 86 2 1 1 1 0 8 1 mcl4k 4096 3354 0 3303 15 6 9 14 0 8 1 mcl2k 2048 1179 0 1176 4 2 2 3 0 8 1 mtagpl 96 139 0 10 4 0 4 4 0 8 0 mbufpl 256 11337 0 10997 24 0 24 24 0 8 0 bufpl 280 6262 0 119 439 0 439 439 0 8 0 anonpl 24 192213 0 183991 95 0 95 95 0 187 0 amapchunkpl 152 30616 0 30025 31 7 24 29 0 158 1 amappl16 200 3598 0 3341 41 9 32 38 0 8 0 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 101 0 91 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 1809 0 1780 3 1 2 3 0 8 0 amappl11 160 48 0 37 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 251 0 251 1 1 0 1 0 8 0 amappl8 136 20 0 18 1 0 1 1 0 8 0 amappl7 128 98 0 88 1 0 1 1 0 8 0 amappl6 120 228 0 225 1 0 1 1 0 8 0 amappl5 112 139 0 131 1 0 1 1 0 8 0 amappl4 104 266 0 249 1 0 1 1 0 8 0 amappl3 96 5821 0 5708 4 1 3 4 0 8 0 amappl2 88 669 0 613 2 0 2 2 0 8 0 amappl1 80 11015 0 10471 13 1 12 13 0 8 0 amappl 88 8468 0 8292 5 0 5 5 0 92 0 dma8192 8192 1 0 1 1 1 0 1 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 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 255 0 255 1 1 0 1 0 8 0 dma64 64 7 0 7 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 16 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1129 0 1100 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1129 0 1100 1 0 1 1 0 8 0 vmmpekpl 168 9872 0 9829 3 0 3 3 0 8 0 vmmpepl 168 78443 0 76339 112 8 104 112 0 357 0 vmsppl 360 1128 0 1100 4 1 3 4 0 8 0 rwobjpl 32 24888 0 20132 39 0 39 39 0 8 0 pdppl 4096 2264 0 2200 104 36 68 82 0 8 4 pvpl 32 507679 0 494495 155 0 155 155 0 265 1 pmappl 216 1128 0 1100 3 1 2 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 297 0 65 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a7ad728,ffff80003653bc90,ffff80003653bbe0) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003653bc90) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003653bc90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x94ac7f99c80, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a7ad728,ffff80003653bc90,ffff80003653bbe0) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff80003653bc90) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003653bc90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x94ac7f99c80, count: -3