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(ffff800035d13230,ffff800036935bf0,ffff800036935b40) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff800036935bf0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800036935bf0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:637 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8732bc13910, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff800036935b10 rbx 0 rdx 0 rcx 0x1800 __ALIGN_SIZE+0x800 rax 0xdead4110deada110 r8 0x7f7fffffc000 r9 0 r10 0x3f6de300f61d9b4c r11 0x74ce45772eee2287 r12 0xffff80000142a604 r13 0 r14 0xffff800036935bf0 r15 0 rip 0xffffffff828b2b1b sys_semop+0x45b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000369359f0 ss 0x10 sys_semop+0x45b: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=15975 pid=18785 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a8e7c68,0xffff800035d12570 process=0xffff800035d156c0 user=0xffff800036930000, vmspace=0xfffffd807b3d72e8 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 18785 365272 15246 0 2 0 syz-executor *18785 15975 15246 0 7 0x4000000 syz-executor 18785 260880 15246 0 3 0x4000080 fsleep syz-executor 18785 94145 15246 0 3 0x4000080 fsleep syz-executor 85745 292343 64850 0 3 0x80 fsleep syz-executor 85745 413934 64850 0 3 0x4000080 kqsel syz-executor 91285 197467 53648 0 3 0x80 fsleep syz-executor 91285 369740 53648 0 3 0x4000080 kqsel syz-executor 50735 208000 68027 0 3 0x80 fsleep syz-executor 50735 219129 68027 0 3 0x4000080 kqsel syz-executor 44748 48688 68356 0 3 0x80 fsleep syz-executor 44748 349546 68356 0 3 0x4000080 ttyin syz-executor 46458 478262 48618 -1 3 0x90 fsleep syz-executor 46458 328336 48618 -1 3 0x4000090 sbwait syz-executor 44768 504574 94459 0 3 0x80 fsleep syz-executor 44768 462847 94459 0 3 0x4000080 kqsel syz-executor 60881 191069 0 0 3 0x14200 acct acct 68356 418857 40374 0 3 0x82 nanoslp syz-executor 15946 298287 0 0 3 0x14280 nfsidl nfsio 74646 174687 0 0 3 0x14280 nfsidl nfsio 47927 282901 0 0 3 0x14280 nfsidl nfsio 5290 53502 0 0 3 0x14280 nfsidl nfsio 39586 117145 0 0 3 0x14280 nfsidl nfsio 35122 474116 0 0 3 0x14280 nfsidl nfsio 13955 31800 0 0 3 0x14280 nfsidl nfsio 61120 503240 0 0 3 0x14280 nfsidl nfsio 81201 280063 0 0 3 0x14280 nfsidl nfsio 76713 473233 0 0 3 0x14280 nfsidl nfsio 41271 190879 0 0 3 0x14280 nfsidl nfsio 10743 356124 0 0 3 0x14280 nfsidl nfsio 20513 69453 0 0 3 0x14280 nfsidl nfsio 35386 271834 0 0 3 0x14280 nfsidl nfsio 82324 506608 0 0 3 0x14280 nfsidl nfsio 94949 439566 0 0 3 0x14280 nfsidl nfsio 52198 520539 0 0 3 0x14280 nfsidl nfsio 99901 197789 0 0 3 0x14280 nfsidl nfsio 92591 353971 0 0 3 0x14280 nfsidl nfsio 1398 5806 0 0 3 0x14280 nfsidl nfsio 64850 22611 40374 0 3 0x82 nanoslp syz-executor 86116 476364 0 0 3 0x14200 bored sosplice 94459 192957 40374 0 3 0x82 nanoslp syz-executor 15246 289948 40374 0 3 0x82 nanoslp syz-executor 53648 52974 40374 0 3 0x82 nanoslp syz-executor 48618 169491 40374 0 3 0x82 nanoslp syz-executor 68027 114288 40374 0 3 0x82 nanoslp syz-executor 93606 474061 40374 0 3 0x82 wait syz-executor 40374 452457 66809 0 3 0x82 kqread syz-executor 66809 38303 41150 0 3 0x10008a sigsusp ksh 41150 150665 2303 0 3 0x98 kqread sshd-session 2303 337526 68876 0 3 0x92 kqread sshd-session 88613 508335 1 0 3 0x100083 ttyin getty 68876 330888 1 0 3 0x88 kqread sshd 2558 63513 86939 73 3 0x1100090 kqread syslogd 86939 477187 1 0 3 0x100082 sbwait syslogd 99998 73363 1 0 3 0x100080 kqread resolvd 26600 459517 73296 77 3 0x100092 kqread dhcpleased 58490 173537 73296 77 3 0x100092 kqread dhcpleased 73296 222588 1 0 3 0x80 kqread dhcpleased 44998 426446 0 0 3 0x14200 bored smr 32494 234078 0 0 3 0x14200 pgzero zerothread 31333 489847 0 0 3 0x14200 aiodoned aiodoned 33281 136295 0 0 3 0x14200 syncer update 16630 254602 0 0 3 0x14200 cleaner cleaner 75970 64665 0 0 3 0x14200 reaper reaper 94406 169543 0 0 3 0x14200 pgdaemon pagedaemon 11442 271820 0 0 3 0x14200 bored viomb 38107 267336 0 0 3 0x40014200 acpi0 acpi0 71399 493262 0 0 3 0x14200 bored softnet3 81817 215065 0 0 3 0x14200 bored softnet2 27750 73583 0 0 3 0x14200 bored softnet1 85231 21457 0 0 3 0x14200 bored softnet0 89638 109695 0 0 3 0x14200 bored systqmp 55324 332787 0 0 3 0x14200 bored systq 69525 250252 0 0 3 0x40014200 tmoslp softclock 69722 437733 0 0 3 0x40014200 idle0 1 490362 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 10186 11043K 12165K 166960K 12238 0 pcb 20 17K 19K 166960K 221 0 rtable 207 9K 10K 166960K 488 0 pf 33 13K 16K 166960K 62 0 ifaddr 39 6K 7K 166960K 67 0 ifgroup 52 2K 2K 166960K 83 0 sysctl 1 1K 9K 166960K 5 0 counters 33 17K 18K 166960K 52 0 ioctlops 0 0K 4K 166960K 161 0 iov 0 0K 20K 166960K 26 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1432 90K 90K 166960K 1945 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 0K 166960K 18 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 602 0 sigio 0 0K 0K 166960K 4 0 proc 60 59K 100K 166960K 594 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 46 0 in_multi 84 6K 7K 166960K 139 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 413 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 230 155K 165K 166960K 6795 0 UVM aobj 15 2K 2K 166960K 16 0 pinsyscall 39 78K 96K 166960K 1691 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 43 0 temp 54 8681K 8747K 166960K 12255 0 kqueue 16 24K 30K 166960K 112 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 71 0 67 1 0 1 1 0 8 0 rtentry 136 147 0 58 4 0 4 4 0 8 0 unpcb 144 253 0 238 1 0 1 1 0 8 0 syncache 336 6 0 6 2 1 1 1 0 8 1 tcpcb 736 281 0 277 7 0 7 7 0 8 6 arp 88 22 0 6 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 0 1 0 1 1 0 8 0 inpcb 328 814 0 803 12 3 9 12 0 8 8 ip6q 72 3 0 1 1 0 1 1 0 8 0 ip6af 40 6 0 3 1 0 1 1 0 8 0 nd6 104 32 0 11 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 17 0 16 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1344 1 0 1 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 645 0 281 29 0 29 29 0 8 4 art_table 32 649 0 281 4 0 4 4 0 8 0 art_node 16 143 0 63 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 5 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 12 0 4 1 0 1 1 0 8 0 shmpl 112 13 0 1 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2482 0 981 95 0 95 95 0 8 0 ffsino 248 2482 0 981 95 0 95 95 0 8 0 nchpl 144 3258 0 1570 63 0 63 63 0 8 0 rtmask 32 4 0 4 1 0 1 1 0 8 1 uvmvnodes 80 2892 0 0 60 0 60 60 0 8 0 vnodes 216 2892 0 0 161 0 161 161 0 8 0 namei 1024 11722 0 11722 5 1 4 4 0 8 4 kstatmem 264 46 0 22 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 0 1 1 0 8 1 scxspl 216 10175 0 10175 9 1 8 8 1 8 8 plimitpl 152 88 0 70 1 0 1 1 0 8 0 sigapl 424 900 0 832 9 1 8 8 0 8 0 knotepl 120 19862 0 19810 18 8 10 10 0 8 7 kqueuepl 184 235 0 219 4 0 4 4 0 8 3 pipepl 296 237 0 210 3 0 3 3 0 8 0 fdescpl 440 862 0 832 5 1 4 5 0 8 0 filepl 120 5223 0 4995 13 0 13 13 0 8 4 lockfpl 104 233 0 230 2 0 2 2 0 8 1 lockfspl 48 70 0 67 1 0 1 1 0 8 0 sessionpl 144 26 0 18 1 0 1 1 0 8 0 pgrppl 48 44 0 28 1 0 1 1 0 8 0 ucredpl 104 938 0 926 1 0 1 1 0 8 0 zombiepl 144 1090 0 1089 2 1 1 1 0 8 0 processpl 1160 900 0 832 5 0 5 5 0 8 0 procpl 656 1652 0 1575 9 1 8 8 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 528 1157 0 1127 11 1 10 11 0 8 7 mcl64k 65536 19 0 19 2 1 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 6 0 6 2 1 1 1 0 8 1 mcl4k 4096 3035 0 2982 17 9 8 17 0 8 0 mcl2k 2048 763 0 757 9 1 8 8 0 8 7 mtagpl 96 31 0 9 1 0 1 1 0 8 0 mbufpl 256 9383 0 9201 27 7 20 26 0 8 7 bufpl 280 2978 0 123 204 0 204 204 0 8 0 anonpl 24 107553 0 104353 46 1 45 45 0 187 18 amapchunkpl 152 21075 0 20592 26 0 26 26 0 158 7 amappl16 200 1336 0 1304 19 6 13 15 0 8 8 amappl15 192 1 0 1 1 1 0 1 0 8 0 amappl14 184 108 0 98 1 0 1 1 0 8 0 amappl13 176 115 0 115 1 1 0 1 0 8 0 amappl12 168 1503 0 1472 3 1 2 3 0 8 0 amappl11 160 82 0 72 1 0 1 1 0 8 0 amappl10 152 2 0 2 1 1 0 1 0 8 0 amappl9 144 253 0 253 1 1 0 1 0 8 0 amappl8 136 16 0 15 1 0 1 1 0 8 0 amappl7 128 99 0 88 1 0 1 1 0 8 0 amappl6 120 187 0 184 1 0 1 1 0 8 0 amappl5 112 117 0 110 1 0 1 1 0 8 0 amappl4 104 296 0 280 1 0 1 1 0 8 0 amappl3 96 4323 0 4213 4 0 4 4 0 8 1 amappl2 88 652 0 597 2 0 2 2 0 8 0 amappl1 80 10730 0 10175 14 0 14 14 0 8 0 amappl 88 6017 0 5854 5 0 5 5 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 255 0 255 2 1 1 1 0 8 1 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 20 0 19 1 0 1 1 0 8 0 aobjpl 72 15 0 1 1 0 1 1 0 8 0 uaddrrnd 24 862 0 832 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 862 0 832 1 0 1 1 0 8 0 vmmpekpl 168 9020 0 8973 3 0 3 3 0 8 0 vmmpepl 168 60005 0 58116 94 0 94 94 0 357 3 vmsppl 360 861 0 832 4 1 3 4 0 8 0 rwobjpl 32 19968 0 16213 32 0 32 32 0 8 0 pdppl 4096 1730 0 1664 106 40 66 82 0 8 0 pvpl 32 354421 0 344498 123 0 123 123 0 265 32 pmappl 216 861 0 832 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 313 0 63 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff800035d13230,ffff800036935bf0,ffff800036935b40) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff800036935bf0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800036935bf0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:637 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8732bc13910, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff800035d13230,ffff800036935bf0,ffff800036935b40) at sys_semop+0x45b sys/kern/sysv_sem.c:615 syscall(ffff800036935bf0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800036935bf0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:637 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8732bc13910, count: -3