kernel: protection fault trap, code=0 Stopped at sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace sys_semop(ffff80003c456d30,ffff80003c4513b0,ffff80003c451300) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003c4513b0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4513b0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x738662b2240, count: -3 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c4512d0 rbx 0xdeafbeaddeafbead rdx 0 rcx 0xffff80003c456d30 rax 0xdeafbeaddeafbead r8 0x7f7fffffc000 r9 0x1 r10 0x8419efa79630e003 r11 0xa19783899c5cbee9 r12 0 r13 0xfffffd806c471620 r14 0xffff80003c4513b0 r15 0 rip 0xffffffff8120f0b5 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c4511e0 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb{1}> show proc PROC (syz-executor) tid=183445 pid=13405 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=83, usrpri=83, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c3e6fb8,0xffff80003c457270 process=0xffff80003c5ab9f0 user=0xffff80003c44c000, vmspace=0xfffffd806c7d1208 estcpu=33, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 14738 238168 23283 0 2 0 syz-executor 14738 262046 23283 0 3 0x4000080 fsleep syz-executor 14738 444239 23283 0 3 0x4000080 fsleep syz-executor 14738 214032 23283 0 3 0x4000080 fsleep syz-executor 13405 458060 46219 0 2 0 syz-executor *13405 183445 46219 0 7 0x4000000 syz-executor 13405 297987 46219 0 3 0x4000080 fsleep syz-executor 13405 60930 46219 0 3 0x4000080 fsleep syz-executor 12074 448318 47686 0 2 0 syz-executor 12074 415296 47686 0 3 0x4000080 fsleep syz-executor 90429 263141 37995 0 7 0 syz-executor 90429 263894 37995 0 3 0x4000080 ttyopn syz-executor 90429 388895 37995 0 3 0x4000080 ttyretype syz-executor 90429 222935 37995 0 2 0x4000000 syz-executor 54654 461279 70184 0 2 0 syz-executor 54654 482486 70184 0 3 0x4000080 fsleep syz-executor 54654 436438 70184 0 3 0x4000080 fsleep syz-executor 89650 452144 82761 0 3 0x80 nanoslp syz-executor 89650 278479 82761 0 3 0x4000080 netcon syz-executor 89650 523836 82761 0 3 0x4000080 fsleep syz-executor 46499 280477 13887 0 3 0x3000 suspend syz-executor 46499 511486 13887 0 3 0x4081000 biowait syz-executor 6493 60220 1 0 3 0x100083 ttyin getty 30754 291319 0 0 3 0x14280 nfsidl nfsio 71698 269261 0 0 3 0x14280 nfsidl nfsio 71446 311754 0 0 3 0x14280 nfsidl nfsio 86438 429355 0 0 3 0x14280 nfsidl nfsio 74723 210807 0 0 3 0x14280 nfsidl nfsio 5372 159701 0 0 3 0x14280 nfsidl nfsio 84449 393677 0 0 3 0x14280 nfsidl nfsio 31722 508607 0 0 3 0x14280 nfsidl nfsio 48175 438999 0 0 3 0x14280 nfsidl nfsio 10725 43946 0 0 3 0x14280 nfsidl nfsio 62398 387702 0 0 3 0x14280 nfsidl nfsio 21314 287497 0 0 3 0x14280 nfsidl nfsio 3696 481220 0 0 3 0x14280 nfsidl nfsio 20455 143358 0 0 3 0x14280 nfsidl nfsio 69219 275210 0 0 3 0x14280 nfsidl nfsio 58894 284233 0 0 3 0x14280 nfsidl nfsio 40359 212333 0 0 3 0x14280 nfsidl nfsio 85021 385023 0 0 3 0x14280 nfsidl nfsio 38399 132732 0 0 3 0x14280 nfsidl nfsio 68723 384477 0 0 3 0x14280 nfsidl nfsio 25550 208150 0 0 3 0x14200 acct acct 13887 87689 24474 0 3 0x82 nanoslp syz-executor 37995 392737 24474 0 3 0x82 nanoslp syz-executor 46219 218980 24474 0 3 0x82 nanoslp syz-executor 99071 281887 24474 0 3 0x2 biowait syz-executor 70184 195839 24474 0 3 0x82 nanoslp syz-executor 82761 23840 24474 0 3 0x82 nanoslp syz-executor 23283 403495 24474 0 3 0x82 nanoslp syz-executor 47686 209940 24474 0 3 0x82 nanoslp syz-executor 24474 116484 26512 0 3 0x82 kqread syz-executor 26512 507120 54205 0 3 0x10008a sigsusp ksh 54205 480555 86068 0 3 0x98 kqread sshd-session 86068 134622 13967 0 3 0x92 kqread sshd-session 13967 123772 1 0 3 0x88 kqread sshd 27867 28797 92168 74 3 0x1100092 bpf pflogd 92168 263289 1 0 3 0x80 sbwait pflogd 15697 330932 81558 73 3 0x1100090 kqread syslogd 81558 126966 1 0 3 0x100082 sbwait syslogd 1771 343768 1 0 3 0x100080 kqread resolvd 13576 372075 68486 77 3 0x100092 kqread dhcpleased 23877 330778 68486 77 3 0x100092 kqread dhcpleased 68486 341054 1 0 3 0x80 kqread dhcpleased 53698 421763 0 0 3 0x14200 bored smr 53565 70873 0 0 2 0x14200 zerothread 78882 307902 0 0 3 0x14200 aiodoned aiodoned 1856 360063 0 0 3 0x14200 syncer update 19101 349890 0 0 3 0x14200 cleaner cleaner 45291 267685 0 0 3 0x14200 reaper reaper 67559 366001 0 0 3 0x14200 pgdaemon pagedaemon 31818 256388 0 0 3 0x14200 bored viomb 89696 426987 0 0 3 0x40014200 acpi0 acpi0 8319 83248 0 0 3 0x40014200 idle1 19405 26073 0 0 3 0x14200 bored softnet1 61490 109964 0 0 3 0x14200 bored softnet0 46622 450587 0 0 3 0x14200 bored systqmp 70093 368920 0 0 3 0x14200 bored systq 64698 491006 0 0 3 0x14200 tmoslp softclockmp 27982 440449 0 0 3 0x40014200 tmoslp softclock 64980 99325 0 0 3 0x40014200 idle0 1 337435 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 13405 (syz-executor) thread 0xffff80003c456d30 (183445) Process 46499 (syz-executor) thread 0xffff80003c457a28 (511486) Process 99071 (syz-executor) thread 0xffff8000fffeefa8 (281887) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11095 12106K 12403K 166960K 13053 0 pcb 17 13K 14K 166960K 183 0 rtable 227 10K 10K 166960K 486 0 pf 35 17K 80K 166960K 126 0 ifaddr 42 7K 8K 166960K 96 0 ifgroup 52 2K 2K 166960K 151 0 sysctl 4 1K 9K 166960K 12 0 counters 76 37K 38K 166960K 188 0 ioctlops 0 0K 4K 166960K 1658 0 iov 0 0K 16K 166960K 40 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1291 81K 82K 166960K 1957 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 9K 166960K 14 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 41 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 236K 166960K 908 0 sigio 0 0K 0K 166960K 11 0 proc 73 115K 164K 166960K 653 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 116 0 in_multi 91 6K 7K 166960K 141 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 18 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 235 1049K 1049K 166960K 235 0 exec 0 0K 1K 166960K 484 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 256 168K 193K 166960K 10469 0 UVM aobj 25 14K 14K 166960K 26 0 pinsyscall 42 84K 106K 166960K 2106 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 65 0 NDP 13 0K 2K 166960K 63 0 temp 68 9081K 9206K 166960K 35140 0 kqueue 15 24K 30K 166960K 178 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> 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 85 0 82 1 0 1 1 0 8 0 rtentry 176 147 0 52 6 0 6 6 0 8 0 unpcb 144 621 0 598 9 5 4 6 0 8 3 syncache 336 7 0 7 3 3 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 230 0 224 5 4 1 4 0 8 0 arp 136 22 0 5 1 0 1 1 0 8 0 inpcb 328 859 0 849 9 2 7 7 0 8 5 nd6 152 31 0 7 2 0 2 2 0 8 0 pkpcb 40 137 0 137 3 2 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 1 0 1 0 8 0 ppxss 1192 49 0 45 2 1 1 1 0 8 0 pppxif 1504 7 0 7 2 2 0 1 0 8 0 pffrag 232 25 0 20 1 0 1 1 0 482 0 pffrnode 88 25 0 20 1 0 1 1 0 8 0 pffrent 40 48 0 43 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 pfstitem 24 56 0 21 1 0 1 1 0 8 0 pfstkey 128 56 0 21 2 0 2 2 0 8 0 pfstate 448 56 0 21 5 0 5 5 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 642 0 234 31 5 26 29 0 8 0 art_table 40 644 0 234 5 0 5 5 0 8 0 art_node 32 146 0 62 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 13 1 0 1 1 0 8 0 semupl 112 3 0 3 3 2 1 1 0 8 1 semapl 112 37 0 28 1 0 1 1 0 8 0 shmpl 112 18 0 1 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 3038 0 1576 93 0 93 93 0 8 0 ffsino 296 3038 0 1576 114 0 114 114 0 8 0 nchpl 144 4302 0 2595 64 0 64 64 0 8 0 rtmask 32 10 0 8 2 1 1 1 0 8 0 vnodes 216 3425 0 0 191 0 191 191 0 8 0 namei 1024 14263 0 14263 2 1 1 1 0 8 1 percpumem 16 109 0 56 1 0 1 1 0 8 0 vcpupl 3968 5 0 0 1 0 1 1 0 8 0 vmpool 848 5 0 0 1 0 1 1 0 8 0 kstatmem 264 92 0 64 3 0 3 3 0 8 0 scsiplug 72 4 0 4 3 2 1 1 0 8 1 scxspl 216 27700 0 27698 13 11 2 8 1 8 1 plimitpl 152 190 0 171 1 0 1 1 0 8 0 sigapl 424 1237 0 1169 9 1 8 8 0 8 0 knotepl 120 512 0 0 16 0 16 16 0 8 0 kqueuepl 224 329 0 317 3 0 3 3 0 8 2 pipepl 344 216 0 189 6 3 3 6 0 8 0 fdescpl 528 1199 0 1168 3 0 3 3 0 8 0 filepl 160 7081 0 6852 21 5 16 18 0 8 3 lockfpl 104 441 0 439 2 1 1 2 0 8 0 lockfspl 48 140 0 138 1 0 1 1 0 8 0 sessionpl 144 29 0 20 1 0 1 1 0 8 0 pgrppl 48 109 0 92 1 0 1 1 0 8 0 ucredpl 104 1114 0 1100 1 0 1 1 0 8 0 zombiepl 144 1501 0 1500 1 0 1 1 0 8 0 processpl 1232 1237 0 1169 7 1 6 6 0 8 0 procpl 664 2574 0 2491 8 0 8 8 0 8 0 sosppl 176 10 0 10 2 1 1 1 0 8 1 sockpl 752 1755 0 1719 26 16 10 17 0 8 6 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 118 0 0 15 0 15 15 0 8 0 mcl2k 2048 37 0 0 5 0 5 5 0 8 0 mtagpl 96 8 0 0 1 0 1 1 0 8 0 mbufpl 256 1172 0 0 74 0 74 74 0 8 0 bufpl 280 11140 0 5010 439 0 439 439 0 8 0 anonpl 32 12387 0 0 100 0 100 100 0 246 0 amapchunkpl 152 34484 0 33934 39 12 27 31 0 158 4 amappl16 200 5470 0 5142 39 15 24 27 0 8 4 amappl15 192 19 0 19 1 1 0 1 0 8 0 amappl14 184 438 0 437 1 0 1 1 0 8 0 amappl13 176 163 0 151 1 0 1 1 0 8 0 amappl12 168 1457 0 1427 2 0 2 2 0 8 0 amappl11 160 22 0 22 1 1 0 1 0 8 0 amappl10 152 66 0 52 1 0 1 1 0 8 0 amappl9 144 263 0 263 1 1 0 1 0 8 0 amappl8 136 105 0 103 1 0 1 1 0 8 0 amappl7 128 159 0 146 1 0 1 1 0 8 0 amappl6 120 173 0 172 1 0 1 1 0 8 0 amappl5 112 128 0 118 1 0 1 1 0 8 0 amappl4 104 317 0 295 1 0 1 1 0 8 0 amappl3 96 6756 0 6632 4 0 4 4 0 8 0 amappl2 88 591 0 529 2 0 2 2 0 8 0 amappl1 80 14416 0 13801 21 7 14 17 0 8 0 amappl 88 9555 0 9371 5 0 5 5 0 92 0 uvmvnodes 80 127 0 0 3 0 3 3 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 6 0 6 1 1 0 1 0 8 0 dma128 128 254 0 254 2 2 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 25 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1199 0 1168 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1199 0 1168 1 0 1 1 0 8 0 vmmpekpl 168 12110 0 12069 3 0 3 3 0 8 0 vmmpepl 168 86500 0 84248 127 21 106 109 0 357 0 vmsppl 488 1198 0 1168 5 0 5 5 0 8 0 rwobjpl 80 27585 0 26170 39 7 32 33 0 8 0 pdppl 4096 2415 0 2341 116 40 76 85 0 8 2 pvpl 32 20263 0 0 165 1 164 164 0 265 0 pmappl 256 1203 0 1168 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 367 0 58 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff8388aff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153 __mp_lock(ffffffff8396a900) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff8396a900) at __mp_lock+0x1a3 sys/kern/kern_lock.c:173 intr_handler(ffff80002a2a89f0,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x7f15d7e45f70, count: -7 ddb{0}> machine ddbcpu 1 Stopped at sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb{1}> trace sys_semop(ffff80003c456d30,ffff80003c4513b0,ffff80003c451300) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003c4513b0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4513b0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x738662b2240, count: -3