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(ffff80002a7c14d8,ffff800033507c30,ffff800033507b80) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff800033507c30) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800033507c30) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3994625360, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff800033507b60 rbx 0xdeadbeefdeadbeef rdx 0xffff800001434f40 rcx 0 rax 0xdeadbeefdeadbeef r8 0x7f7fffffc000 r9 0 r10 0xc90e87f765e95e3 r11 0x3db9b05082ae27ea r12 0 r13 0xfffffd806b9f4bd0 r14 0xffff800033507c30 r15 0 rip 0xffffffff817fbc15 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800033507a70 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=118711 pid=3867 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=78, usrpri=78, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7c1ca0,0xffff80002a7c0a88 process=0xffff8000ffff56a0 user=0xffff800033502000, vmspace=0xfffffd806c2528b0 estcpu=28, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 71966 156436 18166 0 2 0 syz-executor 71966 410684 18166 0 3 0x4000080 fsleep syz-executor 71966 506455 18166 0 2 0x4000000 syz-executor 71966 330501 18166 0 2 0x4000000 syz-executor 3867 298172 43044 0 2 0 syz-executor * 3867 118711 43044 0 7 0x4000000 syz-executor 3867 27662 43044 0 3 0x4000080 fsleep syz-executor 37076 516989 53547 0 2 0 syz-executor 37076 185435 53547 0 3 0x4000080 fsleep syz-executor 37076 51754 53547 0 2 0x4000000 syz-executor 23451 507541 28130 0 2 0 syz-executor 23451 341775 28130 0 2 0x4000000 syz-executor 23451 42930 28130 0 3 0x4000080 fsleep syz-executor 38882 403516 37931 0 2 0 syz-executor 38882 167305 37931 0 2 0x4000000 syz-executor 38882 370693 37931 0 3 0x4000080 fsleep syz-executor 30467 419350 0 0 3 0x14200 acct acct 13460 397566 0 0 3 0x14200 bored sosplice 63865 125975 0 0 3 0x14280 nfsidl nfsio 90094 300962 0 0 3 0x14280 nfsidl nfsio 58577 159356 0 0 3 0x14280 nfsidl nfsio 79376 431409 0 0 3 0x14280 nfsidl nfsio 69721 70991 0 0 3 0x14280 nfsidl nfsio 15449 467315 0 0 3 0x14280 nfsidl nfsio 94263 271621 0 0 3 0x14280 nfsidl nfsio 11950 505578 0 0 3 0x14280 nfsidl nfsio 70865 267880 0 0 3 0x14280 nfsidl nfsio 42604 471931 0 0 3 0x14280 nfsidl nfsio 39836 353233 0 0 3 0x14280 nfsidl nfsio 49707 895 0 0 3 0x14280 nfsidl nfsio 90551 107578 0 0 3 0x14280 nfsidl nfsio 88128 159534 0 0 3 0x14280 nfsidl nfsio 25738 69247 0 0 3 0x14280 nfsidl nfsio 88179 209180 0 0 3 0x14280 nfsidl nfsio 91870 495935 0 0 3 0x14280 nfsidl nfsio 29779 155519 0 0 3 0x14280 nfsidl nfsio 65864 384918 0 0 3 0x14280 nfsidl nfsio 93431 273316 0 0 3 0x14280 nfsidl nfsio 53547 481204 49736 0 3 0x82 nanoslp syz-executor 18166 404218 49736 0 3 0x82 nanoslp syz-executor 50857 44152 49736 0 3 0x82 wait syz-executor 37931 499728 49736 0 3 0x82 nanoslp syz-executor 15297 84358 49736 0 3 0x82 wait syz-executor 28130 117253 49736 0 3 0x82 nanoslp syz-executor 43044 335891 49736 0 3 0x82 nanoslp syz-executor 12443 386150 49736 0 2 0x2 syz-executor 49736 350983 97247 0 3 0x82 kqread syz-executor 97247 279719 9168 0 3 0x10008a sigsusp ksh 9168 276545 27274 0 3 0x98 kqread sshd-session 27274 93270 35336 0 3 0x92 kqread sshd-session 46806 416306 1 0 3 0x100083 ttyin getty 35336 236709 1 0 3 0x88 kqread sshd 34527 309182 54297 73 3 0x1100090 kqread syslogd 54297 366635 1 0 3 0x100082 sbwait syslogd 90239 51842 1 0 3 0x100080 kqread resolvd 47500 464856 3672 77 3 0x100092 kqread dhcpleased 76670 178251 3672 77 3 0x100092 kqread dhcpleased 3672 159980 1 0 3 0x80 kqread dhcpleased 63366 377022 0 0 3 0x14200 bored smr 77053 521832 0 0 2 0x14200 zerothread 62593 101807 0 0 3 0x14200 aiodoned aiodoned 30767 505696 0 0 3 0x14200 syncer update 22685 66654 0 0 3 0x14200 cleaner cleaner 3559 321703 0 0 3 0x14200 reaper reaper 32081 32176 0 0 3 0x14200 pgdaemon pagedaemon 44225 482489 0 0 3 0x14200 bored viomb 84943 139334 0 0 3 0x40014200 acpi0 acpi0 77427 520390 0 0 3 0x14200 bored softnet0 94493 128583 0 0 3 0x14200 bored systqmp 73267 230162 0 0 3 0x14200 bored systq 53871 511366 0 0 3 0x40014200 tmoslp softclock 95169 254264 0 0 3 0x40014200 idle0 1 470566 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 10175 11041K 11304K 166960K 11578 0 pcb 17 16K 21K 166960K 312 0 rtable 247 9K 9K 166960K 615 0 pf 30 12K 13K 166960K 50 0 ifaddr 42 7K 8K 166960K 60 0 ifgroup 50 2K 2K 166960K 72 0 sysctl 3 1K 9K 166960K 9 0 counters 32 17K 18K 166960K 47 0 ioctlops 0 0K 4K 166960K 67 0 iov 0 0K 14K 166960K 21 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1340 84K 85K 166960K 1683 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 8 0K 0K 166960K 11 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 394 0 sigio 0 0K 0K 166960K 9 0 proc 60 59K 108K 166960K 502 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 0 0K 0K 166960K 26 0 in_multi 99 7K 7K 166960K 123 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 5 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 386 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 231 143K 160K 166960K 5283 0 UVM aobj 12 2K 4K 166960K 14 0 pinsyscall 39 78K 96K 166960K 1482 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 19 0 NDP 11 0K 2K 166960K 35 0 temp 45 8640K 8704K 166960K 9823 0 kqueue 15 24K 30K 166960K 82 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 54 0 51 1 0 1 1 0 8 0 rtentry 136 187 0 84 4 0 4 4 0 8 0 unpcb 144 288 0 273 3 2 1 3 0 8 0 syncache 336 7 0 7 1 1 0 1 0 8 0 tcpcb 736 76 0 70 1 0 1 1 0 8 0 arp 96 20 0 0 1 0 1 1 0 8 0 inpcb 328 430 0 419 15 11 4 12 0 8 2 ip6q 72 5 0 4 2 1 1 1 0 8 0 ip6af 40 11 0 10 2 1 1 1 0 8 0 nd6 112 26 0 1 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 13 0 13 1 0 1 1 0 8 1 pppxif 1384 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 566 0 151 32 1 31 32 0 8 3 art_table 40 568 0 151 6 0 6 6 0 8 0 art_node 32 187 0 94 2 1 1 2 0 8 0 sysvmsgpl 40 5 0 2 1 0 1 1 0 8 0 semapl 112 7 0 2 1 0 1 1 0 8 0 shmpl 112 11 0 2 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2166 0 662 95 0 95 95 0 8 0 ffsino 256 2166 0 662 95 0 95 95 0 8 0 nchpl 144 2723 0 1037 63 0 63 63 0 8 0 rtmask 32 3 0 3 1 0 1 1 0 8 1 vnodes 216 2355 0 0 131 0 131 131 0 8 0 namei 1024 8736 0 8735 2 1 1 2 0 8 0 kstatmem 264 38 0 16 2 0 2 2 0 8 0 scsiplug 72 3 0 3 2 1 1 1 0 8 1 scxspl 216 9221 0 9221 8 7 1 8 1 8 1 plimitpl 152 275 0 257 1 0 1 1 0 8 0 sigapl 424 706 0 641 8 0 8 8 0 8 0 knotepl 120 12863 0 12813 10 7 3 10 0 8 1 kqueuepl 184 102 0 91 1 0 1 1 0 8 0 pipepl 304 125 0 98 3 0 3 3 0 8 0 fdescpl 448 671 0 641 5 1 4 5 0 8 0 filepl 120 3889 0 3675 11 2 9 11 0 8 1 lockfpl 104 98 0 96 1 0 1 1 0 8 0 lockfspl 48 45 0 43 1 0 1 1 0 8 0 sessionpl 144 25 0 17 1 0 1 1 0 8 0 pgrppl 48 36 0 20 1 0 1 1 0 8 0 ucredpl 104 822 0 809 1 0 1 1 0 8 0 zombiepl 144 694 0 692 1 0 1 1 0 8 0 processpl 1152 706 0 641 5 0 5 5 0 8 0 procpl 664 1121 0 1045 7 0 7 7 0 8 0 sockpl 552 814 0 785 14 9 5 12 0 8 2 mcl64k 65536 13 0 13 2 1 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 11 0 10 2 1 1 1 0 8 0 mcl4k 4096 2834 0 2783 14 6 8 13 0 8 1 mcl2k 2048 659 0 659 2 1 1 2 0 8 1 mtagpl 96 6 0 6 2 1 1 1 0 8 1 mbufpl 256 6941 0 6771 12 0 12 12 0 8 0 bufpl 280 3903 0 120 271 0 271 271 0 8 0 anonpl 24 142860 0 139739 64 18 46 46 0 187 15 amapchunkpl 152 16817 0 16331 35 8 27 28 0 158 7 amappl16 200 3120 0 3096 32 18 14 15 0 8 10 amappl15 192 33 0 32 1 0 1 1 0 8 0 amappl14 184 4 0 4 1 1 0 1 0 8 0 amappl13 176 405 0 404 1 0 1 1 0 8 0 amappl12 168 1016 0 978 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 43 0 33 1 0 1 1 0 8 0 amappl9 144 249 0 249 1 1 0 1 0 8 0 amappl8 136 23 0 22 1 0 1 1 0 8 0 amappl7 128 81 0 80 1 0 1 1 0 8 0 amappl6 120 287 0 275 1 0 1 1 0 8 0 amappl5 112 78 0 71 1 0 1 1 0 8 0 amappl4 104 394 0 371 1 0 1 1 0 8 0 amappl3 96 2741 0 2649 3 0 3 3 0 8 0 amappl2 88 809 0 740 2 0 2 2 0 8 0 amappl1 80 10940 0 10410 14 1 13 14 0 8 0 amappl 88 4512 0 4349 5 1 4 5 0 92 0 uvmvnodes 80 2355 0 0 49 0 49 49 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 dma256 256 7 0 7 1 1 0 1 0 8 0 dma128 128 254 0 254 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 2 1 0 1 1 0 8 0 uaddrrnd 24 671 0 641 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 671 0 641 1 0 1 1 0 8 0 vmmpekpl 168 7427 0 7397 2 0 2 2 0 8 0 vmmpepl 168 51655 0 49884 98 7 91 91 0 357 8 vmsppl 368 670 0 641 4 1 3 4 0 8 0 rwobjpl 40 20250 0 17052 36 1 35 35 0 8 1 pdppl 4096 1349 0 1282 107 40 67 83 0 8 0 pvpl 32 334910 0 325463 136 23 113 113 0 265 12 pmappl 216 670 0 641 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 383 0 56 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a7c14d8,ffff800033507c30,ffff800033507b80) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff800033507c30) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800033507c30) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3994625360, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a7c14d8,ffff800033507c30,ffff800033507b80) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff800033507c30) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800033507c30) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3994625360, count: -3