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(ffff80002a7cc570,ffff80002a91f290,ffff80002a91f1e0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80002a91f290) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a91f290) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb04760d4ad0, count: -3 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a91f1c0 rbx 0xdeaf4152deaf4152 rdx 0 rcx 0 rax 0xdeaf4152deaf4152 r8 0x7f7fffffc000 r9 0 r10 0xb5a648d3f7753858 r11 0xbc788ee14814d39b r12 0 r13 0xfffffd806bb13620 r14 0xffff80002a91f290 r15 0 rip 0xffffffff82dbc6d5 sys_semop+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a91f0d0 ss 0x10 sys_semop+0x3d5: movzwl 0(%rax),%r15d ddb> show proc PROC (syz-executor) tid=79600 pid=85262 tcnt=3 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=0xffff80002a7ccd38,0xffff80002a7cd278 process=0xffff80003c9b1228 user=0xffff80002a91a000, vmspace=0xfffffd806c07fe78 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 85262 199935 46531 0 2 0 syz-executor *85262 79600 46531 0 7 0x4000000 syz-executor 85262 896 46531 0 3 0x4000080 fsleep syz-executor 39445 284867 64039 0 3 0x80 fsleep syz-executor 39445 445269 64039 0 2 0x4000000 syz-executor 21559 459575 25615 0 3 0x80 fsleep syz-executor 21559 256050 25615 0 3 0x4000080 ttyin syz-executor 4448 308811 53322 0 3 0x80 fsleep syz-executor 4448 91241 53322 0 3 0x4000080 ttyin syz-executor 30714 352324 22757 0 3 0x80 fsleep syz-executor 30714 109469 22757 0 3 0x4000080 msgwait syz-executor 30714 505186 22757 0 3 0x4000080 fsleep syz-executor 30714 372991 22757 0 3 0x4000080 msgwait syz-executor 94061 430966 33593 0 3 0x80 fsleep syz-executor 94061 166007 33593 0 3 0x4000080 kqread syz-executor 46531 165164 66267 0 3 0x82 nanoslp syz-executor 91878 10023 0 0 3 0x14280 nfsidl nfsio 10474 69289 0 0 3 0x14280 nfsidl nfsio 41178 73459 0 0 3 0x14280 nfsidl nfsio 62849 316200 0 0 3 0x14280 nfsidl nfsio 77469 397454 0 0 3 0x14280 nfsidl nfsio 78286 389873 0 0 3 0x14280 nfsidl nfsio 66833 25573 0 0 3 0x14280 nfsidl nfsio 95634 61012 0 0 3 0x14280 nfsidl nfsio 13314 272070 0 0 3 0x14280 nfsidl nfsio 80961 63865 0 0 3 0x14280 nfsidl nfsio 34715 142399 0 0 3 0x14280 nfsidl nfsio 43678 24364 0 0 3 0x14280 nfsidl nfsio 86400 151530 0 0 3 0x14280 nfsidl nfsio 85351 413858 0 0 3 0x14280 nfsidl nfsio 62891 153966 0 0 3 0x14280 nfsidl nfsio 62434 20487 0 0 3 0x14280 nfsidl nfsio 8442 129068 0 0 3 0x14280 nfsidl nfsio 25932 491627 0 0 3 0x14280 nfsidl nfsio 33205 85579 0 0 3 0x14280 nfsidl nfsio 90961 31344 0 0 3 0x14280 nfsidl nfsio 53322 242755 66267 0 3 0x82 nanoslp syz-executor 86236 487570 66267 0 2 0x2 syz-executor 64039 10781 66267 0 3 0x82 nanoslp syz-executor 43089 23128 66267 0 2 0x2 syz-executor 33593 154831 66267 0 3 0x82 nanoslp syz-executor 25615 133809 66267 0 3 0x82 nanoslp syz-executor 22757 267301 66267 0 3 0x82 nanoslp syz-executor 66267 506405 37171 0 2 0x2 syz-executor 37171 85017 46412 0 3 0x10008a sigsusp ksh 46412 47766 48230 0 3 0x98 kqread sshd-session 48230 99622 75030 0 3 0x92 kqread sshd-session 95435 5567 1 0 3 0x100083 ttyin getty 75030 174435 1 0 3 0x88 kqread sshd 8492 50630 23542 73 3 0x1100090 kqread syslogd 23542 205473 1 0 3 0x100082 sbwait syslogd 16012 94952 1 0 3 0x100080 kqread resolvd 74753 227349 77421 77 3 0x100092 kqread dhcpleased 4150 269789 77421 77 3 0x100092 kqread dhcpleased 77421 465325 1 0 3 0x80 kqread dhcpleased 15385 143125 0 0 3 0x14200 bored smr 65793 364597 0 0 2 0x14200 zerothread 12230 476719 0 0 3 0x14200 aiodoned aiodoned 69031 145757 0 0 3 0x14200 syncer update 77271 96701 0 0 3 0x14200 cleaner cleaner 61939 170699 0 0 3 0x14200 reaper reaper 64483 521753 0 0 3 0x14200 pgdaemon pagedaemon 62641 64274 0 0 3 0x14200 bored viomb 72222 140850 0 0 3 0x40014200 acpi0 acpi0 36730 72856 0 0 3 0x14200 bored softnet0 40033 133032 0 0 3 0x14200 bored systqmp 13629 370110 0 0 3 0x14200 bored systq 68659 157283 0 0 3 0x40014200 tmoslp softclock 89908 210807 0 0 3 0x40014200 idle0 1 270667 0 0 3 0x82 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 10190 11254K 11512K 166960K 12063 0 pcb 17 12K 12K 166960K 75 0 rtable 223 9K 9K 166960K 444 0 pf 32 13K 17K 166960K 69 0 ifaddr 40 7K 7K 166960K 65 0 ifgroup 50 2K 2K 166960K 86 0 sysctl 4 1K 9K 166960K 10 0 counters 32 17K 18K 166960K 57 0 ioctlops 0 0K 4K 166960K 86 0 iov 1 12K 24K 166960K 90 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1375 86K 87K 166960K 1712 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 89 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 93K 166960K 480 0 sigio 0 0K 0K 166960K 9 0 proc 60 59K 108K 166960K 548 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 38 0 in_multi 91 6K 7K 166960K 122 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 1 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 473 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 225 159K 176K 166960K 5995 0 UVM aobj 11 2K 2K 166960K 11 0 pinsyscall 38 76K 93K 166960K 1574 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 26 0 NDP 11 0K 2K 166960K 43 0 temp 54 8646K 8710K 166960K 17916 0 kqueue 16 22K 30K 166960K 89 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 129 0 126 3 2 1 3 0 8 0 rtentry 136 128 0 36 4 0 4 4 0 8 0 unpcb 144 411 0 396 8 2 6 6 0 8 5 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 93 0 89 1 0 1 1 0 8 0 arp 96 20 0 4 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 68 0 64 1 0 1 1 0 8 0 inpcb 328 302 0 295 3 1 2 2 0 8 1 ip6q 72 3 0 1 1 0 1 1 0 8 0 ip6af 40 4 0 2 1 0 1 1 0 8 0 nd6 112 29 0 6 1 0 1 1 0 8 0 pkpcb 40 2 0 2 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 22 0 22 2 1 1 1 0 8 1 pppxif 1384 2 0 2 1 0 1 1 0 8 1 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 2 1 1 0 1 0 8 0 pfstate 384 1 0 1 1 1 0 1 0 8 0 pfrule 1344 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 523 0 120 29 2 27 29 0 8 0 art_table 40 525 0 120 5 0 5 5 0 8 0 art_node 32 126 0 43 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 0 1 0 1 1 0 8 0 semapl 112 84 0 75 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 26 0 9 3 0 3 3 0 8 0 dino2pl 256 2191 0 695 95 0 95 95 0 8 0 ffsino 256 2191 0 695 95 0 95 95 0 8 0 nchpl 144 2876 0 1189 64 0 64 64 0 8 0 rtmask 32 7 0 7 1 1 0 1 0 8 0 vnodes 216 2499 0 0 139 0 139 139 0 8 0 namei 1024 8939 0 8938 2 1 1 2 0 8 0 kstatmem 264 50 0 28 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 11189 0 11189 10 7 3 8 1 8 3 plimitpl 152 71 0 53 1 0 1 1 0 8 0 sigapl 424 804 0 742 11 3 8 8 0 8 0 knotepl 120 14415 0 14363 16 7 9 9 0 8 6 kqueuepl 184 118 0 107 1 0 1 1 0 8 0 pipepl 304 146 0 118 3 0 3 3 0 8 0 fdescpl 448 751 0 722 5 1 4 5 0 8 0 filepl 120 3727 0 3512 14 3 11 11 0 8 4 lockfpl 104 172 0 170 1 0 1 1 0 8 0 lockfspl 48 66 0 64 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 34 0 18 1 0 1 1 0 8 0 ucredpl 104 532 0 521 1 0 1 1 0 8 0 zombiepl 144 854 0 853 1 0 1 1 0 8 0 processpl 1152 804 0 742 6 1 5 5 0 8 0 procpl 664 1346 0 1274 9 2 7 7 0 8 0 sosppl 176 3 0 3 2 1 1 1 0 8 1 sockpl 552 890 0 865 16 6 10 12 0 8 8 mcl64k 65536 46 0 46 2 1 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 1 0 1 0 8 0 mcl4k 4096 2904 0 2851 14 6 8 14 0 8 0 mcl2k 2048 689 0 682 2 0 2 2 0 8 1 mtagpl 96 12 0 8 1 0 1 1 0 8 0 mbufpl 256 7987 0 7738 31 10 21 27 0 8 4 bufpl 280 4975 0 121 347 0 347 347 0 8 0 anonpl 24 149985 0 146916 46 1 45 45 0 187 18 amapchunkpl 152 18710 0 18248 26 2 24 26 0 158 5 amappl16 200 3324 0 3289 21 9 12 15 0 8 8 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 3 0 3 1 1 0 1 0 8 0 amappl13 176 417 0 416 1 0 1 1 0 8 0 amappl12 168 1097 0 1058 3 1 2 3 0 8 0 amappl11 160 70 0 69 2 1 1 1 0 8 0 amappl10 152 42 0 32 1 0 1 1 0 8 0 amappl9 144 277 0 277 1 1 0 1 0 8 0 amappl8 136 36 0 35 1 0 1 1 0 8 0 amappl7 128 109 0 107 1 0 1 1 0 8 0 amappl6 120 279 0 267 1 0 1 1 0 8 0 amappl5 112 75 0 68 1 0 1 1 0 8 0 amappl4 104 383 0 359 1 0 1 1 0 8 0 amappl3 96 3198 0 3111 3 0 3 3 0 8 0 amappl2 88 871 0 801 2 0 2 2 0 8 0 amappl1 80 10131 0 9599 14 2 12 13 0 8 0 amappl 88 5234 0 5078 5 0 5 5 0 92 0 uvmvnodes 80 2499 0 0 51 0 51 51 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 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 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 10 0 0 1 0 1 1 0 8 0 uaddrrnd 24 751 0 722 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 751 0 722 1 0 1 1 0 8 0 vmmpekpl 168 7505 0 7474 2 0 2 2 0 8 0 vmmpepl 168 55528 0 53753 99 8 91 92 0 357 9 vmsppl 368 750 0 722 4 1 3 4 0 8 0 rwobjpl 40 20399 0 17057 35 0 35 35 0 8 0 pdppl 4096 1509 0 1444 103 36 67 81 0 8 2 pvpl 32 362858 0 354576 124 2 122 122 0 265 33 pmappl 216 750 0 722 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 395 0 64 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a7cc570,ffff80002a91f290,ffff80002a91f1e0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80002a91f290) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a91f290) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb04760d4ad0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a7cc570,ffff80002a91f290,ffff80002a91f1e0) at sys_semop+0x3d5 sys/kern/sysv_sem.c:617 syscall(ffff80002a91f290) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a91f290) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb04760d4ad0, count: -3