kernel: protection fault trap, code=0 Stopped at sys_semop+0x352: movzwl 0x8(%rbx),%r15d ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace sys_semop(ffff80002a786a68,ffff80003c973120,ffff80003c973070) at sys_semop+0x352 sys/kern/sysv_sem.c:622 syscall(ffff80003c973120) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c973120) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x31c54239820, count: -3 ddb> show registers rdi 0 rsi 0x6966 __ALIGN_SIZE+0x5966 rbp 0xffff80003c973050 rbx 0xdeafbeaddeb1f4d5 rdx 0 rcx 0 rax 0xffff80002a786a68 r8 0x7f7fffffc000 r9 0 r10 0x43b49ac15c4b95d3 r11 0x8f28203b26322bb7 r12 0x6966 __ALIGN_SIZE+0x5966 r13 0xfffffd80767e54d0 r14 0xffff80003c973120 r15 0x6966 __ALIGN_SIZE+0x5966 rip 0xffffffff81662ac2 sys_semop+0x352 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c972f60 ss 0x10 sys_semop+0x352: movzwl 0x8(%rbx),%r15d ddb> show proc PROC (syz-executor) tid=36850 pid=33823 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=82, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002f101770,0xffff80003c94a7f8 process=0xffff8000ffffb618 user=0xffff80003c96e000, vmspace=0xfffffd806c252b90 estcpu=36, cpticks=19, pctcpu=0.0, user=0, sys=19, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 8286 255840 63065 0 2 0 syz-executor 99166 149507 42445 0 2 0 syz-executor 99166 29146 42445 0 3 0x4000080 fsleep syz-executor 25916 194509 89661 0 2 0 syz-executor 25916 18689 89661 0 2 0x4000000 syz-executor 87136 347443 10004 0 2 0x10 syz-executor 87136 309136 10004 0 3 0x4000090 fsleep syz-executor 33823 250418 57931 0 2 0 syz-executor *33823 36850 57931 0 7 0x4000000 syz-executor 33823 493329 57931 0 3 0x4000080 fsleep syz-executor 33823 384386 57931 0 3 0x4000080 fsleep syz-executor 60581 330443 24746 0 2 0 syz-executor 60581 389594 24746 0 3 0x4000000 inode syz-executor 60581 258540 24746 0 2 0x4000000 syz-executor 60581 164463 24746 0 2 0x4000000 syz-executor 8101 501131 11423 0 2 0 syz-executor 8101 200465 11423 0 3 0x4000080 fsleep syz-executor 8101 105736 11423 0 3 0x4000080 fsleep syz-executor 8101 321105 11423 0 3 0x4000080 fsleep syz-executor 42445 423915 97582 0 2 0xc82 syz-executor 57931 247809 97582 0 2 0xc82 syz-executor 41100 286984 0 0 3 0x14280 nfsidl nfsio 9654 353461 0 0 3 0x14280 nfsidl nfsio 70376 437100 0 0 3 0x14280 nfsidl nfsio 3464 504907 0 0 3 0x14280 nfsidl nfsio 95956 20235 0 0 3 0x14280 nfsidl nfsio 73963 374190 0 0 3 0x14280 nfsidl nfsio 24339 213050 0 0 3 0x14280 nfsidl nfsio 47621 513932 0 0 3 0x14280 nfsidl nfsio 33091 452967 0 0 3 0x14280 nfsidl nfsio 31358 259422 0 0 3 0x14280 nfsidl nfsio 92859 157111 0 0 3 0x14280 nfsidl nfsio 85683 295927 0 0 3 0x14280 nfsidl nfsio 25953 49925 0 0 3 0x14280 nfsidl nfsio 47236 194413 0 0 3 0x14280 nfsidl nfsio 19171 36471 0 0 3 0x14280 nfsidl nfsio 24251 75426 0 0 3 0x14280 nfsidl nfsio 93653 438213 0 0 3 0x14280 nfsidl nfsio 16572 77072 0 0 3 0x14280 nfsidl nfsio 11352 45170 0 0 3 0x14280 nfsidl nfsio 52303 142167 0 0 3 0x14280 nfsidl nfsio 8712 287966 0 0 3 0x14200 bored sosplice 10004 365933 97582 0 2 0xc82 syz-executor 11423 491334 97582 0 2 0xc82 syz-executor 63065 456888 97582 0 2 0xc82 syz-executor 89661 509151 97582 0 2 0xc82 syz-executor 24746 122752 97582 0 2 0xc82 syz-executor 20502 125948 97582 0 2 0x2 syz-executor 97582 362963 9313 0 3 0x82 kqread syz-executor 9313 181589 70152 0 3 0x10008a sigsusp ksh 70152 368109 25675 0 3 0x98 kqread sshd-session 25675 12991 52651 0 3 0x92 kqread sshd-session 97362 284023 1 0 3 0x100083 ttyopn getty 52651 214441 1 0 3 0x88 kqread sshd 57514 359456 14900 73 3 0x1100090 kqread syslogd 14900 346178 1 0 3 0x100082 sbwait syslogd 36530 490117 1 0 3 0x100080 kqread resolvd 81770 17959 93090 77 3 0x100092 kqread dhcpleased 7229 347796 93090 77 3 0x100092 kqread dhcpleased 93090 220321 1 0 3 0x80 kqread dhcpleased 95463 484929 0 0 3 0x14200 bored smr 17705 113429 0 0 2 0x14200 zerothread 21318 96112 0 0 3 0x14200 aiodoned aiodoned 12873 170090 0 0 3 0x14200 syncer update 95145 247168 0 0 3 0x14200 cleaner cleaner 83209 476182 0 0 3 0x14200 reaper reaper 77718 243675 0 0 3 0x14200 pgdaemon pagedaemon 16307 27409 0 0 3 0x14200 bored viomb 23720 274392 0 0 3 0x40014200 acpi0 acpi0 93593 167848 0 0 3 0x14200 bored softnet0 12981 394273 0 0 3 0x14200 bored systqmp 51869 40584 0 0 3 0x14200 bored systq 53501 391089 0 0 2 0x40014200 softclock 65040 82836 0 0 3 0x40014200 idle0 1 469575 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 10199 11148K 11442K 166960K 12511 0 pcb 19 20K 23K 166960K 380 0 rtable 251 9K 9K 166960K 592 0 pf 36 14K 67481K 166960K 92 0 ifaddr 43 7K 8K 166960K 75 0 ifgroup 54 2K 2K 166960K 95 0 sysctl 4 1K 9K 166960K 17 0 counters 33 17K 18K 166960K 56 0 ioctlops 0 0K 4K 166960K 225 0 iov 0 0K 24K 166960K 68 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1432 90K 91K 166960K 2276 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 10K 166960K 17 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 47 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 1030 0 sigio 0 0K 0K 166960K 18 0 proc 60 59K 124K 166960K 612 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 242 0 in_multi 99 7K 7K 166960K 160 0 ether_multi 1 0K 0K 166960K 11 0 mrt 1 0K 0K 166960K 14 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 557 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 65 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 228 152K 167K 166960K 10917 0 UVM aobj 26 4K 4K 166960K 29 0 pinsyscall 39 78K 96K 166960K 2098 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 34 0 NDP 12 0K 2K 166960K 49 0 temp 65 8649K 8754K 166960K 42079 0 kqueue 13 20K 30K 166960K 176 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 2 0 2 2 0 8 1 rtentry 136 152 0 49 4 0 4 4 0 8 0 unpcb 144 577 0 560 4 0 4 4 0 8 3 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpcb 736 468 0 463 16 7 9 10 0 8 8 arp 96 25 0 6 1 0 1 1 0 8 0 ipq 40 5 0 4 1 0 1 1 0 8 0 ipqe 40 6 0 5 1 0 1 1 0 8 0 inpcb 328 1333 0 1321 10 1 9 10 0 8 8 nd6 112 34 0 7 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 1 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 20 0 20 2 1 1 1 0 8 1 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pfstscr 40 2 0 1 1 0 1 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 2 1 0 1 1 0 8 0 pfstate 384 3 0 1 1 0 1 1 0 8 0 pfrule 1344 7 0 7 1 0 1 1 0 8 1 rttmr 136 3 0 3 1 0 1 1 0 8 1 art_heap8 4096 4 0 1 4 0 4 4 0 8 1 art_heap4 256 681 0 255 32 2 30 30 0 8 2 art_table 40 685 0 256 5 0 5 5 0 8 0 art_node 32 152 0 60 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 11 1 0 1 1 0 8 0 semupl 112 3 0 3 2 1 1 1 0 8 1 semapl 112 39 0 30 1 0 1 1 0 8 0 shmpl 112 26 0 3 1 0 1 1 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 3229 0 1730 95 0 95 95 0 8 0 ffsino 256 3229 0 1730 95 0 95 95 0 8 0 nchpl 144 4628 0 2935 64 0 64 64 0 8 0 rtmask 32 2 0 2 2 1 1 1 0 8 1 vnodes 216 3837 0 0 214 0 214 214 0 8 0 namei 1024 16113 0 16112 4 1 3 3 0 8 2 kstatmem 264 58 0 34 2 0 2 2 0 8 0 scsiplug 72 4 0 4 1 0 1 1 0 8 1 scxspl 216 14295 0 14295 9 1 8 8 1 8 8 plimitpl 152 272 0 256 1 0 1 1 0 8 0 sigapl 424 1285 0 1221 8 0 8 8 0 8 0 knotepl 120 52078 0 52030 17 7 10 10 0 8 8 kqueuepl 184 336 0 327 4 0 4 4 0 8 3 pipepl 304 219 0 192 3 0 3 3 0 8 0 fdescpl 448 1247 0 1217 5 1 4 5 0 8 0 filepl 120 8279 0 8062 12 0 12 12 0 8 3 lockfpl 104 479 0 477 1 0 1 1 0 8 0 lockfspl 48 193 0 191 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 45 0 29 1 0 1 1 0 8 0 ucredpl 104 1159 0 1147 1 0 1 1 0 8 0 zombiepl 144 1807 0 1807 1 0 1 1 0 8 1 processpl 1152 1285 0 1221 5 0 5 5 0 8 0 procpl 664 2787 0 2711 8 0 8 8 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 552 2179 0 2147 10 0 10 10 0 8 7 mcl64k 65536 204 0 204 2 1 1 1 0 8 1 mcl16k 16384 7 0 7 2 1 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 12 0 12 2 1 1 1 0 8 1 mcl4k 4096 3643 0 3593 14 6 8 13 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 1505 0 1499 3 0 3 3 0 8 1 mtagpl 96 78 0 7 3 1 2 2 0 8 0 mbufpl 256 13449 0 13240 23 3 20 23 0 8 4 bufpl 280 5203 0 121 363 0 363 363 0 8 0 anonpl 24 211417 0 207892 85 23 62 62 0 187 35 amapchunkpl 152 36243 0 35771 40 4 36 36 0 158 16 amappl16 200 4389 0 4357 43 31 12 25 0 8 8 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 8 0 8 1 1 0 1 0 8 0 amappl13 176 431 0 430 1 0 1 1 0 8 0 amappl12 168 1596 0 1559 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 42 0 32 1 0 1 1 0 8 0 amappl9 144 264 0 263 2 1 1 1 0 8 0 amappl8 136 66 0 64 1 0 1 1 0 8 0 amappl7 128 83 0 82 1 0 1 1 0 8 0 amappl6 120 286 0 274 1 0 1 1 0 8 0 amappl5 112 75 0 68 1 0 1 1 0 8 0 amappl4 104 389 0 362 1 0 1 1 0 8 0 amappl3 96 6201 0 6119 3 0 3 3 0 8 0 amappl2 88 1373 0 1299 2 0 2 2 0 8 0 amappl1 80 12456 0 11917 13 1 12 13 0 8 0 amappl 88 10056 0 9897 5 0 5 5 0 92 0 uvmvnodes 80 3836 0 0 79 0 79 79 0 8 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 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 254 0 254 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 28 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1247 0 1217 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1247 0 1217 1 0 1 1 0 8 0 vmmpekpl 168 11415 0 11372 3 0 3 3 0 8 0 vmmpepl 168 85287 0 83458 105 9 96 96 0 357 15 vmsppl 368 1246 0 1217 4 1 3 4 0 8 0 rwobjpl 40 28620 0 23919 48 0 48 48 0 8 0 pdppl 4096 2500 0 2434 106 40 66 82 0 8 0 pvpl 32 565038 0 556364 158 26 132 132 0 265 45 pmappl 216 1246 0 1217 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 417 0 67 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_semop(ffff80002a786a68,ffff80003c973120,ffff80003c973070) at sys_semop+0x352 sys/kern/sysv_sem.c:622 syscall(ffff80003c973120) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c973120) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x31c54239820, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_semop(ffff80002a786a68,ffff80003c973120,ffff80003c973070) at sys_semop+0x352 sys/kern/sysv_sem.c:622 syscall(ffff80003c973120) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c973120) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x31c54239820, count: -3