login: 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(ffff80002a822d20,ffff80003ca2d640,ffff80003ca2d590) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003ca2d640) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca2d640) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3735ff9e760, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003ca2d570 rbx 0xdeaf4152deaf4152 rdx 0xffff800001437f00 rcx 0 rax 0xdeaf4152deaf4152 r8 0x7f7fffffc000 r9 0 r10 0xbf3e5e33e38aa4ed r11 0xbaf43b327f46e9f3 r12 0 r13 0xfffffd806c36fe70 r14 0xffff80003ca2d640 r15 0 rip 0xffffffff829c1255 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003ca2d480 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=484604 pid=48754 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=82, usrpri=83, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7cd770,0xffff800031103a20 process=0xffff80003c9e9fa0 user=0xffff80003ca28000, vmspace=0xfffffd806c1aa468 estcpu=33, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 60805 97027 94424 0 2 0 syz-executor 60805 306404 94424 0 3 0x4000080 fsleep syz-executor 60805 6757 94424 0 3 0x4000080 fsleep syz-executor 51317 259680 47901 0 2 0 syz-executor 22083 47903 44558 0 3 0 vmmaplk syz-executor 22083 153365 44558 0 3 0x4000080 piperd syz-executor 22083 273131 44558 0 2 0x4000000 syz-executor 72523 97830 94736 0 2 0 syz-executor 72523 200470 94736 0 2 0x4000000 syz-executor 59818 502593 22429 0 2 0 syz-executor 59818 189597 22429 0 2 0x4000000 syz-executor 59818 182434 22429 0 3 0x4000000 vmmaplk syz-executor 48754 63010 41435 0 2 0 syz-executor 48754 225943 41435 0 3 0x4000080 kqsel syz-executor *48754 484604 41435 0 7 0x4000000 syz-executor 48754 308038 41435 0 3 0x4000080 fsleep syz-executor 39883 199144 92068 0 3 0x3000 suspend syz-executor 39883 497984 92068 0 2 0x4081000 syz-executor 878 291121 48240 0 3 0 vmmaplk syz-executor 878 195365 48240 0 2 0x4000000 syz-executor 878 212853 48240 0 3 0x4000000 inode syz-executor 878 184995 48240 0 3 0x4000080 fsleep syz-executor 878 236923 48240 0 3 0x4000000 vmmaplk syz-executor 45248 298788 0 0 3 0x14200 acct acct 30612 486349 1 0 3 0x100083 ttyin getty 44558 204607 73423 0 3 0x82 nanoslp syz-executor 23474 328148 0 0 3 0x14280 nfsidl nfsio 27219 490271 0 0 3 0x14280 nfsidl nfsio 49772 503947 0 0 3 0x14280 nfsidl nfsio 26319 452110 0 0 3 0x14280 nfsidl nfsio 79758 15587 0 0 3 0x14280 nfsidl nfsio 3410 316117 0 0 3 0x14280 nfsidl nfsio 62788 38801 0 0 3 0x14280 nfsidl nfsio 79029 339961 0 0 3 0x14280 nfsidl nfsio 59507 190377 0 0 3 0x14280 nfsidl nfsio 2671 148571 0 0 3 0x14280 nfsidl nfsio 54947 133776 0 0 3 0x14280 nfsidl nfsio 40960 144551 0 0 3 0x14280 nfsidl nfsio 74458 417826 0 0 3 0x14280 nfsidl nfsio 6928 445430 0 0 3 0x14280 nfsidl nfsio 82805 360039 0 0 3 0x14280 nfsidl nfsio 10839 318674 0 0 3 0x14280 nfsidl nfsio 94788 351789 0 0 3 0x14280 nfsidl nfsio 4236 232419 0 0 3 0x14280 nfsidl nfsio 20019 42959 0 0 3 0x14280 nfsidl nfsio 11063 215010 0 0 3 0x14280 nfsidl nfsio 47901 425339 73423 0 3 0x82 nanoslp syz-executor 22429 131307 73423 0 3 0x82 nanoslp syz-executor 94736 363772 73423 0 3 0x82 nanoslp syz-executor 48240 276690 73423 0 3 0x82 nanoslp syz-executor 94424 223130 73423 0 3 0x82 nanoslp syz-executor 92068 131901 73423 0 3 0x82 nanoslp syz-executor 41435 515761 73423 0 3 0x82 nanoslp syz-executor 73423 303413 95532 0 3 0x82 kqread syz-executor 95532 34739 24435 0 3 0x10008a sigsusp ksh 24435 516757 11786 0 3 0x98 kqread sshd-session 11786 404382 42367 0 3 0x92 kqread sshd-session 42367 60422 1 0 3 0x88 kqread sshd 55496 144022 46265 73 3 0x1100090 kqread syslogd 46265 245940 1 0 3 0x100082 sbwait syslogd 48121 176923 1 0 3 0x100080 kqread resolvd 98394 180396 39660 77 3 0x100092 kqread dhcpleased 81370 68842 39660 77 3 0x100092 kqread dhcpleased 39660 430314 1 0 3 0x80 kqread dhcpleased 4892 482524 0 0 3 0x14200 bored smr 69530 102206 0 0 2 0x14200 zerothread 65835 168552 0 0 3 0x14200 aiodoned aiodoned 91150 376289 0 0 3 0x14200 syncer update 3166 152479 0 0 3 0x14200 cleaner cleaner 75422 23737 0 0 3 0x14200 reaper reaper 24262 110055 0 0 3 0x14200 pgdaemon pagedaemon 95414 297668 0 0 3 0x14200 bored viomb 60626 147028 0 0 3 0x40014200 acpi0 acpi0 64909 379405 0 0 3 0x14200 bored softnet0 48399 72579 0 0 3 0x14200 bored systqmp 40461 11026 0 0 3 0x14200 bored systq 1032 62060 0 0 3 0x40014200 tmoslp softclock 49242 35549 0 0 3 0x40014200 idle0 1 7586 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 10207 11189K 12131K 166960K 14745 0 pcb 17 15K 16K 166960K 687 0 rtable 234 11K 12K 166960K 729 0 pf 30 13K 17K 166960K 237 0 ifaddr 39 7K 8K 166960K 131 0 ifgroup 46 2K 2K 166960K 212 0 sysctl 4 1K 9K 166960K 14 0 counters 31 17K 18K 166960K 119 0 ioctlops 0 0K 4K 166960K 596 0 iov 0 0K 32K 166960K 185 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1455 91K 92K 166960K 3089 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 32 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 336 0 dirhash 12 2K 2K 166960K 36 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 232K 166960K 1855 0 sigio 0 0K 0K 166960K 104 0 proc 60 59K 100K 166960K 740 0 subproc 72 4K 4K 166960K 92 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 281 0 in_multi 83 6K 7K 166960K 196 0 ether_multi 1 0K 0K 166960K 20 0 mrt 1 0K 0K 166960K 20 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 778 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 253 156K 184K 166960K 18413 0 UVM aobj 119 5K 5K 166960K 125 0 pinsyscall 39 78K 96K 166960K 2981 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 154 0 NDP 10 0K 2K 166960K 87 0 temp 81 8652K 8740K 166960K 89492 0 kqueue 17 26K 34K 166960K 401 0 SYN cache 2 8K 16K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 308 0 305 3 2 1 3 0 8 0 rtentry 136 188 0 100 4 0 4 4 0 8 0 unpcb 144 2414 0 2398 9 7 2 8 0 8 1 syncache 336 9 0 9 1 1 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 729 0 724 7 6 1 7 0 8 0 arp 96 31 0 13 1 0 1 1 0 8 0 ipq 40 3 0 1 1 0 1 1 0 8 0 ipqe 40 5 0 3 1 0 1 1 0 8 0 inpcb 328 2055 0 2047 10 5 5 7 0 8 4 ip6q 72 7 0 3 1 0 1 1 0 8 0 ip6af 40 11 0 7 1 0 1 1 0 8 0 nd6 112 32 0 12 1 0 1 1 0 8 0 pkpcb 40 20 0 20 1 1 0 1 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 3 0 3 1 1 0 1 0 8 0 ppxss 1072 68 0 68 1 0 1 1 0 8 1 pppxif 1384 5 0 5 1 1 0 1 0 8 0 rttmr 136 4 0 4 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 876 0 520 31 4 27 31 0 8 0 art_table 40 878 0 520 6 0 6 6 0 8 0 art_node 32 182 0 111 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 4 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 295 0 286 1 0 1 1 0 8 0 shmpl 112 122 0 6 4 0 4 4 0 8 0 dirhash 1024 33 0 16 3 0 3 3 0 8 0 dino2pl 256 4886 0 3393 95 0 95 95 0 8 0 ffsino 256 4886 0 3393 95 0 95 95 0 8 0 nchpl 144 7461 0 5767 64 0 64 64 0 8 0 rtmask 32 15 0 15 1 1 0 1 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 28239 0 28239 3 2 1 2 0 8 1 kstatmem 264 132 0 112 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 7 0 7 2 1 1 1 0 8 1 scxspl 216 29277 0 29277 15 7 8 8 1 8 8 plimitpl 152 624 0 607 1 0 1 1 0 8 0 sigapl 424 2160 0 2096 8 0 8 8 0 8 0 knotepl 120 392774 0 392721 36 26 10 17 0 8 8 kqueuepl 184 892 0 879 7 6 1 7 0 8 0 pipepl 304 482 0 454 3 0 3 3 0 8 0 fdescpl 448 2116 0 2086 5 1 4 5 0 8 0 filepl 120 16627 0 16406 16 7 9 15 0 8 0 lockfpl 104 1161 0 1158 2 1 1 2 0 8 0 lockfspl 48 332 0 329 1 0 1 1 0 8 0 sessionpl 144 25 0 17 1 0 1 1 0 8 0 pgrppl 48 127 0 111 1 0 1 1 0 8 0 ucredpl 104 2521 0 2509 1 0 1 1 0 8 0 zombiepl 144 2198 0 2197 1 0 1 1 0 8 0 processpl 1152 2160 0 2096 5 0 5 5 0 8 0 procpl 664 4800 0 4721 9 1 8 8 0 8 1 sosppl 176 19 0 19 1 1 0 1 0 8 0 sockpl 552 4925 0 4898 31 25 6 17 0 8 4 mcl64k 65536 496 0 496 4 3 1 3 0 8 1 mcl16k 16384 12 0 12 2 1 1 1 0 8 1 mcl12k 12288 4 0 4 1 1 0 1 0 8 0 mcl9k 9216 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 95 0 95 2 1 1 1 0 8 1 mcl4k 4096 4774 0 4720 15 7 8 15 0 8 0 mcl2k2 2112 2 0 2 1 1 0 1 0 8 0 mcl2k 2048 2794 0 2789 4 2 2 4 0 8 0 mtagpl 96 5 0 5 1 1 0 1 0 8 0 mbufpl 256 29111 0 29024 295 225 70 75 0 8 59 bufpl 280 13932 0 7710 445 0 445 445 0 8 0 anonpl 24 368252 0 358920 116 36 80 104 0 187 11 amapchunkpl 152 65430 0 64814 51 20 31 45 0 158 4 amappl16 200 7894 0 7588 64 36 28 39 0 8 6 amappl15 192 19 0 19 1 1 0 1 0 8 0 amappl14 184 6 0 6 1 1 0 1 0 8 0 amappl13 176 432 0 431 1 0 1 1 0 8 0 amappl12 168 2558 0 2519 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 44 0 34 1 0 1 1 0 8 0 amappl9 144 246 0 245 1 0 1 1 0 8 0 amappl8 136 33 0 31 1 0 1 1 0 8 0 amappl7 128 85 0 84 1 0 1 1 0 8 0 amappl6 120 288 0 276 1 0 1 1 0 8 0 amappl5 112 75 0 67 1 0 1 1 0 8 0 amappl4 104 406 0 381 1 0 1 1 0 8 0 amappl3 96 10853 0 10761 3 0 3 3 0 8 0 amappl2 88 2235 0 2161 2 0 2 2 0 8 0 amappl1 80 16317 0 15771 14 2 12 14 0 8 0 amappl 88 17332 0 17148 5 0 5 5 0 92 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 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 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 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 124 0 6 3 0 3 3 0 8 0 uaddrrnd 24 2116 0 2086 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2116 0 2086 1 0 1 1 0 8 0 vmmpekpl 168 17562 0 17530 2 0 2 2 0 8 0 vmmpepl 168 137431 0 135275 118 13 105 106 0 357 8 vmsppl 368 2115 0 2086 4 1 3 4 0 8 0 rwobjpl 40 42550 0 35364 75 0 75 75 0 8 0 pdppl 4096 4239 0 4172 105 38 67 81 0 8 0 pvpl 32 983423 0 968454 219 57 162 200 0 265 19 pmappl 216 2115 0 2086 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 679 0 297 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a822d20,ffff80003ca2d640,ffff80003ca2d590) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003ca2d640) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca2d640) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3735ff9e760, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a822d20,ffff80003ca2d640,ffff80003ca2d590) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80003ca2d640) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca2d640) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3735ff9e760, count: -3