kernel: protection fault trap, code=0 Stopped at sys_semop+0x3d5: 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(ffff80003c8f34e0,ffff80003c943a50,ffff80003c9439a0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003c943a50) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c943a50) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x60b909fc610, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c943980 rbx 0xdeadbeefdeadbeef rdx 0 rcx 0 rax 0xdeadbeefdeadbeef r8 0x7f7fffffc000 r9 0 r10 0x89a0884b699c6800 r11 0x2cee50d431ee3507 r12 0 r13 0xfffffd805d6aca80 r14 0xffff80003c943a50 r15 0 rip 0xffffffff8326a7e5 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c943890 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=445474 pid=48111 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=74, usrpri=74, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c8f2d18,0xffff80002a746018 process=0xffff8000ffff9698 user=0xffff80003c93e000, vmspace=0xfffffd806ccf0180 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 41203 164161 88564 0 2 0 syz-executor 41203 517147 88564 0 3 0x4000080 fsleep syz-executor 48111 46213 33695 0 2 0 syz-executor *48111 445474 33695 0 7 0x4000000 syz-executor 48111 61627 33695 0 3 0x4000080 fsleep syz-executor 35946 29469 71040 60928 2 0x10 syz-executor 35946 509031 71040 60928 3 0x4000090 fsleep syz-executor 35946 322331 71040 60928 3 0x4000090 fsleep syz-executor 33458 501232 57661 0 3 0x80 nanoslp syz-executor 33458 452842 57661 0 3 0x4000080 ttyout syz-executor 33458 198629 57661 0 3 0x4000080 fsleep syz-executor 24822 211836 25607 0 3 0x3000 suspend syz-executor 24822 123155 25607 0 2 0x4081000 syz-executor 24822 387338 25607 0 3 0x4081000 inode syz-executor 24822 400847 25607 0 3 0x4081000 inode syz-executor 89880 59671 69550 0 3 0x3000 suspend syz-executor 89880 189321 69550 0 2 0x4081000 syz-executor 89880 429820 69550 0 3 0x4081000 inode syz-executor 89880 95612 69550 0 3 0x4081000 inode syz-executor 89880 332790 69550 0 3 0x4081000 inode syz-executor 58922 290287 29923 0 3 0x3000 suspend syz-executor 58922 370080 29923 0 2 0x4081000 syz-executor 47954 120569 0 0 3 0x14200 acct acct 71040 82353 87371 0 3 0x82 nanoslp syz-executor 33695 150300 87371 0 3 0x82 nanoslp syz-executor 25607 311574 87371 0 3 0x82 nanoslp syz-executor 69550 469709 87371 0 3 0x82 nanoslp syz-executor 47214 7065 87371 0 3 0x82 wait syz-executor 57661 339143 87371 0 3 0x82 nanoslp syz-executor 88564 168109 87371 0 3 0x82 nanoslp syz-executor 29923 444090 87371 0 3 0x82 wait syz-executor 87371 246789 65008 0 3 0x82 kqread syz-executor 65008 493801 46805 0 3 0x10008a sigsusp ksh 46805 338027 55206 0 3 0x98 kqread sshd-session 55206 498393 486 0 3 0x92 kqread sshd-session 76814 208052 1 0 3 0x100083 ttyin getty 486 156914 1 0 3 0x88 kqread sshd 71770 169292 35840 73 3 0x1100090 kqread syslogd 35840 369062 1 0 3 0x100082 sbwait syslogd 81041 104060 1 0 3 0x100080 kqread resolvd 55154 25809 18309 77 3 0x100092 kqread dhcpleased 90351 128848 18309 77 3 0x100092 kqread dhcpleased 18309 138794 1 0 3 0x80 kqread dhcpleased 74941 189831 0 0 3 0x14200 bored smr 68929 244284 0 0 2 0x14200 zerothread 9568 385975 0 0 3 0x14200 aiodoned aiodoned 83281 225148 0 0 3 0x14200 syncer update 32112 113393 0 0 3 0x14200 cleaner cleaner 26527 177296 0 0 3 0x14200 reaper reaper 25493 408777 0 0 3 0x14200 pgdaemon pagedaemon 59895 183311 0 0 3 0x14200 bored viomb 67832 3294 0 0 3 0x40014200 acpi0 acpi0 65061 125297 0 0 3 0x14200 bored softnet0 7155 332705 0 0 3 0x14200 bored systqmp 57357 265035 0 0 3 0x14200 bored systq 69486 297 0 0 3 0x40014200 tmoslp softclock 67349 288809 0 0 3 0x40014200 idle0 1 257434 0 0 3 0x80082 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 11051 12243K 12434K 166960K 12619 0 pcb 19 12K 12K 166960K 76 0 rtable 232 7K 8K 166960K 406 0 pf 32 13K 15K 166960K 52 0 ifaddr 40 7K 8K 166960K 60 0 ifgroup 51 2K 2K 166960K 79 0 sysctl 3 1K 9K 166960K 8 0 counters 33 17K 18K 166960K 47 0 ioctlops 0 0K 4K 166960K 113 0 iov 0 0K 16K 166960K 11 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1352 85K 85K 166960K 1684 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 7 0K 0K 166960K 73 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 444 0 sigio 0 0K 0K 166960K 1 0 proc 60 59K 75K 166960K 535 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 75 0 in_multi 88 6K 7K 166960K 120 0 ether_multi 1 0K 0K 166960K 4 0 mrt 1 0K 0K 166960K 19 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 393 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 241 147K 174K 166960K 5523 0 UVM aobj 13 2K 2K 166960K 14 0 pinsyscall 39 78K 92K 166960K 1519 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 17 0 NDP 11 0K 2K 166960K 35 0 temp 48 9068K 9133K 166960K 9894 0 kqueue 14 22K 28K 166960K 80 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 52 0 49 1 0 1 1 0 8 0 rtentry 136 124 0 22 4 0 4 4 0 8 0 unpcb 144 222 0 205 2 0 2 2 0 8 1 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 265 0 261 13 6 7 7 0 8 6 arp 96 19 0 2 1 0 1 1 0 8 0 inpcb 328 534 0 524 17 10 7 12 0 8 6 nd6 112 25 0 3 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 9 0 9 2 1 1 1 0 8 1 pppxif 1416 3 0 3 2 1 1 1 0 8 1 pffrag 232 2 0 1 1 0 1 1 0 482 0 pffrnode 88 2 0 1 1 0 1 1 0 8 0 pffrent 40 3 0 2 1 0 1 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfstitem 24 1 0 0 1 0 1 1 0 8 0 pfstkey 128 1 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 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 482 0 65 31 1 30 30 0 8 3 art_table 40 484 0 65 5 0 5 5 0 8 0 art_node 32 123 0 31 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 4 1 0 1 1 0 8 0 semapl 112 70 0 66 1 0 1 1 0 8 0 shmpl 112 11 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2123 0 671 92 0 92 92 0 8 0 ffsino 256 2123 0 671 92 0 92 92 0 8 0 nchpl 144 2718 0 1025 64 0 64 64 0 8 0 rtmask 32 1 0 1 1 1 0 1 0 8 0 vnodes 216 2416 0 0 135 0 135 135 0 8 0 namei 1024 8759 0 8754 3 1 2 2 0 8 1 kstatmem 264 38 0 16 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 20654 0 20654 10 2 8 8 1 8 8 plimitpl 152 92 0 73 1 0 1 1 0 8 0 sigapl 424 715 0 671 6 0 6 6 0 8 1 knotepl 120 18139 0 18084 24 13 11 17 0 8 8 kqueuepl 184 127 0 117 2 0 2 2 0 8 1 pipepl 304 143 0 115 3 0 3 3 0 8 0 fdescpl 448 700 0 670 5 1 4 5 0 8 0 filepl 120 3783 0 3558 15 4 11 12 0 8 3 lockfpl 104 201 0 197 1 0 1 1 0 8 0 lockfspl 48 94 0 90 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 34 0 18 1 0 1 1 0 8 0 ucredpl 104 404 0 392 1 0 1 1 0 8 0 zombiepl 144 765 0 761 1 0 1 1 0 8 0 processpl 1152 715 0 671 4 0 4 4 0 8 0 procpl 664 1195 0 1136 6 0 6 6 0 8 0 sosppl 176 5 0 5 1 1 0 1 0 8 0 sockpl 552 820 0 790 16 9 7 12 0 8 4 mcl64k 65536 14 0 14 2 1 1 1 0 8 1 mcl8k 8192 5 0 5 2 1 1 1 0 8 1 mcl4k 4096 2899 0 2850 15 7 8 14 0 8 1 mcl2k 2048 415 0 415 2 1 1 2 0 8 1 mtagpl 96 12 0 5 1 0 1 1 0 8 0 mbufpl 256 6973 0 6814 17 5 12 15 0 8 1 bufpl 280 8737 0 2523 445 0 445 445 0 8 0 anonpl 24 137421 0 128480 113 41 72 72 0 187 18 amapchunkpl 152 17576 0 16981 46 19 27 41 0 158 0 amappl16 200 3018 0 2699 47 30 17 27 0 8 0 amappl15 192 4 0 3 1 0 1 1 0 8 0 amappl14 184 429 0 428 1 0 1 1 0 8 0 amappl13 176 113 0 102 1 0 1 1 0 8 0 amappl12 168 938 0 909 2 0 2 2 0 8 0 amappl11 160 10 0 10 1 1 0 1 0 8 0 amappl10 152 175 0 165 1 0 1 1 0 8 0 amappl9 144 247 0 247 1 1 0 1 0 8 0 amappl8 136 119 0 118 1 0 1 1 0 8 0 amappl7 128 141 0 129 1 0 1 1 0 8 0 amappl6 120 153 0 151 1 0 1 1 0 8 0 amappl5 112 89 0 81 1 0 1 1 0 8 0 amappl4 104 278 0 262 1 0 1 1 0 8 0 amappl3 96 3336 0 3215 4 0 4 4 0 8 0 amappl2 88 525 0 472 2 0 2 2 0 8 0 amappl1 80 10690 0 10138 15 2 13 15 0 8 0 amappl 88 4764 0 4585 5 0 5 5 0 92 0 uvmvnodes 80 108 0 0 3 0 3 3 0 8 0 dma4096 4096 2 0 2 2 1 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 2 1 1 1 0 8 1 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 13 0 1 1 0 1 1 0 8 0 uaddrrnd 24 700 0 670 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 700 0 670 1 0 1 1 0 8 0 vmmpekpl 168 7379 0 7337 3 0 3 3 0 8 0 vmmpepl 168 52997 0 50841 116 17 99 101 0 357 5 vmsppl 368 699 0 670 4 1 3 4 0 8 0 rwobjpl 40 17939 0 16651 18 3 15 15 0 8 0 pdppl 4096 1406 0 1340 104 38 66 80 0 8 0 pvpl 32 334344 0 317647 207 50 157 157 0 265 20 pmappl 216 699 0 670 3 1 2 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 394 0 67 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80003c8f34e0,ffff80003c943a50,ffff80003c9439a0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003c943a50) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c943a50) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x60b909fc610, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80003c8f34e0,ffff80003c943a50,ffff80003c9439a0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:619 syscall(ffff80003c943a50) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c943a50) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x60b909fc610, count: -3