kernel: protection fault trap, code=0 Stopped at sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace sys_msgrcv(ffff80002a7d0f78,ffff80003152bdb0,ffff80003152bd00) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7d0f78,ffff80003152bdb0,ffff80003152bd00) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003152bdb0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003152bdb0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2d8ad28b660, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff80003152bcd0 rbx 0 rdx 0xffff80000146f640 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0xdb1cbac1837598c5 r11 0x133afef5c5433cdb r12 0xfffffd805cf9feb0 r13 0xdeaf4152deaf4152 r14 0xffff8000014e0300 r15 0xa rip 0xffffffff8105cd62 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003152bc30 ss 0 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=353693 pid=25434 tcnt=5 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=83, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7d0ce8,0xffff80002a7e9c60 process=0xffff80002a7f36d0 user=0xffff800031526000, vmspace=0xfffffd80737662e8 estcpu=33, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 89435 254800 65827 0 2 0 syz-executor 89435 348912 65827 0 3 0x4000080 fsleep syz-executor 89435 285845 65827 0 3 0x4000080 fsleep syz-executor 85097 133716 47198 0 2 0 syz-executor 85097 412365 47198 0 2 0x4000000 syz-executor 90767 64083 91534 0 2 0 syz-executor 90767 346178 91534 0 2 0x4000000 syz-executor 90767 439999 91534 0 3 0x4000080 fsleep syz-executor 51347 302758 82842 0 2 0 syz-executor 51347 146586 82842 0 3 0x4000080 fsleep syz-executor 51347 408169 82842 0 2 0x4000000 syz-executor 51347 55481 82842 0 3 0x4000080 fsleep syz-executor 25434 92741 2257 0 2 0 syz-executor *25434 353693 2257 0 7 0x4000000 syz-executor 25434 293617 2257 0 3 0x4000080 fsleep syz-executor 25434 111019 2257 0 2 0x4000000 syz-executor 25434 472807 2257 0 2 0x4000000 syz-executor 9941 260937 0 0 3 0x14200 acct acct 91534 126990 47789 0 2 0x3 syz-executor 82842 384336 47789 0 2 0x3 syz-executor 81421 309887 47789 0 2 0x2 syz-executor 47594 75992 1 0 3 0x100083 ttyopn getty 65827 177152 47789 0 2 0x3 syz-executor 45275 132952 0 0 3 0x14200 bored sosplice 2257 15924 47789 0 2 0x3 syz-executor 47198 41389 47789 0 2 0x3 syz-executor 46622 288442 47789 0 2 0x2 syz-executor 9707 417336 47789 0 2 0x2 syz-executor 47789 444576 56386 0 3 0x82 kqread syz-executor 56386 281801 17954 0 3 0x10008a sigsusp ksh 17954 100724 34694 0 3 0x98 kqread sshd-session 34694 333814 68955 0 3 0x92 kqread sshd-session 68955 122044 1 0 3 0x88 kqread sshd 11028 503701 6292 73 3 0x1100090 kqread syslogd 6292 190755 1 0 3 0x100082 sbwait syslogd 9733 47346 1 0 3 0x100080 kqread resolvd 39179 41709 77649 77 3 0x100092 kqread dhcpleased 98869 322595 77649 77 3 0x100092 kqread dhcpleased 77649 385536 1 0 3 0x80 kqread dhcpleased 83029 159867 0 0 3 0x14200 bored smr 34905 117250 0 0 2 0x14200 zerothread 16526 423302 0 0 3 0x14200 aiodoned aiodoned 15657 222914 0 0 3 0x14200 syncer update 88837 426048 0 0 3 0x14200 cleaner cleaner 82196 64359 0 0 3 0x14200 reaper reaper 54195 130201 0 0 3 0x14200 pgdaemon pagedaemon 27878 274259 0 0 3 0x14200 bored viomb 76290 193508 0 0 3 0x40014200 acpi0 acpi0 88458 171000 0 0 3 0x14200 bored softnet7 49493 193923 0 0 3 0x14200 bored softnet6 61008 60404 0 0 3 0x14200 bored softnet5 87629 87680 0 0 3 0x14200 bored softnet4 2724 319590 0 0 3 0x14200 bored softnet3 42754 384923 0 0 3 0x14200 bored softnet2 16574 271073 0 0 3 0x14200 bored softnet1 16099 61666 0 0 2 0x14200 softnet0 16464 301145 0 0 3 0x14200 bored systqmp 80435 477964 0 0 3 0x14200 bored systq 90311 235634 0 0 3 0x40014200 tmoslp softclock 71161 99480 0 0 3 0x40014200 idle0 1 37434 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 10197 11072K 11648K 166960K 13618 0 pcb 17 16K 17K 166960K 264 0 rtable 192 10K 10K 166960K 527 0 pf 35 14K 21K 166960K 166 0 ifaddr 38 6K 8K 166960K 120 0 ifgroup 54 2K 2K 166960K 196 0 sysctl 4 1K 9K 166960K 14 0 counters 33 17K 18K 166960K 105 0 ioctlops 0 0K 4K 166960K 366 0 iov 0 0K 16K 166960K 131 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1458 92K 92K 166960K 3016 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 17 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 70 0 dirhash 12 2K 3K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 97K 166960K 1286 0 sigio 0 0K 0K 166960K 26 0 proc 60 59K 124K 166960K 671 0 subproc 72 4K 4K 166960K 108 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 140 0 in_multi 77 5K 7K 166960K 186 0 ether_multi 1 0K 0K 166960K 9 0 mrt 2 0K 0K 166960K 10 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 472 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 221 152K 171K 166960K 12770 0 UVM aobj 33 2K 2K 166960K 36 0 pinsyscall 36 72K 96K 166960K 2451 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 64 0 NDP 12 0K 2K 166960K 81 0 temp 71 8674K 8740K 166960K 51566 0 kqueue 14 22K 30K 166960K 248 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 128 0 125 1 0 1 1 0 8 0 rtentry 136 175 0 108 4 0 4 4 0 8 0 unpcb 144 967 0 950 11 5 6 6 0 8 5 syncache 336 8 0 8 2 1 1 1 0 8 1 tcpqe 32 3 0 3 2 1 1 1 0 8 1 tcpcb 736 362 0 351 10 6 4 7 0 8 3 arp 88 19 0 8 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 1 1 0 1 1 0 8 0 inpcb 328 1142 0 1124 12 5 7 7 0 8 5 ip6q 72 9 0 3 1 0 1 1 0 8 0 ip6af 40 14 0 8 1 0 1 1 0 8 0 nd6 104 35 0 24 1 0 1 1 0 8 0 pkpcb 40 13 0 13 2 1 1 1 0 8 1 kcovpl 48 12 0 4 1 0 1 1 0 8 0 mppekey 1024 3 0 3 2 1 1 1 0 8 1 ppxss 1072 52 0 52 2 1 1 1 0 8 1 pppxif 1384 8 0 8 2 1 1 1 0 8 1 pfstscr 40 1 0 0 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 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pftag 88 3 0 1 1 0 1 1 0 8 0 pfstitem 24 3 0 0 1 0 1 1 0 8 0 pfstkey 128 3 0 0 1 0 1 1 0 8 0 pfstate 384 2 0 0 1 0 1 1 0 8 0 pfrule 1344 8 0 7 1 0 1 1 0 8 0 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 833 0 472 28 0 28 28 0 8 5 art_table 40 837 0 472 5 0 5 5 0 8 0 art_node 32 173 0 115 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 12 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 66 0 56 1 0 1 1 0 8 0 shmpl 112 33 0 3 1 0 1 1 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 3903 0 2399 95 0 95 95 0 8 0 ffsino 256 3903 0 2399 95 0 95 95 0 8 0 nchpl 144 5628 0 3932 64 0 64 64 0 8 0 rtmask 32 12 0 12 2 1 1 1 0 8 1 uvmvnodes 80 4978 0 0 102 0 102 102 0 8 0 vnodes 216 4978 0 0 277 0 277 277 0 8 0 namei 1024 19727 0 19726 3 2 1 2 0 8 0 kstatmem 264 114 0 90 2 0 2 2 0 8 0 scsiplug 72 20 0 20 2 1 1 1 0 8 1 scxspl 216 19395 0 19395 9 7 2 8 1 8 2 plimitpl 152 334 0 317 1 0 1 1 0 8 0 sigapl 424 1571 0 1522 8 1 7 7 0 8 0 knotepl 120 267445 0 267398 28 18 10 15 0 8 8 kqueuepl 184 569 0 559 7 6 1 7 0 8 0 pipepl 304 188 0 161 3 0 3 3 0 8 0 fdescpl 448 1548 0 1521 5 1 4 5 0 8 0 filepl 120 10241 0 10018 18 5 13 14 0 8 4 lockfpl 104 1083 0 1077 3 1 2 2 0 8 1 lockfspl 48 436 0 430 1 0 1 1 0 8 0 sessionpl 144 31 0 23 1 0 1 1 0 8 0 pgrppl 48 52 0 36 1 0 1 1 0 8 0 ucredpl 104 2081 0 2070 1 0 1 1 0 8 0 zombiepl 144 1767 0 1767 1 0 1 1 0 8 1 processpl 1168 1571 0 1522 5 1 4 5 0 8 0 procpl 656 3280 0 3219 7 0 7 7 0 8 0 sosppl 168 6 0 4 1 0 1 1 0 8 0 sockpl 552 2290 0 2252 20 9 11 12 0 8 8 mcl64k 65536 108 0 108 2 1 1 1 0 8 1 mcl16k 16384 21 0 21 2 1 1 1 0 8 1 mcl12k 12288 4 0 4 1 1 0 1 0 8 0 mcl9k 9216 5 0 5 2 1 1 1 0 8 1 mcl8k 8192 34 0 34 2 1 1 1 0 8 1 mcl4k 4096 4073 0 4022 16 8 8 15 0 8 0 mcl2k2 2112 4 0 4 2 1 1 1 0 8 1 mcl2k 2048 1797 0 1791 5 1 4 4 0 8 2 mtagpl 96 96 0 62 2 0 2 2 0 8 0 mbufpl 256 18100 0 17921 129 105 24 75 0 8 8 bufpl 280 7029 0 801 446 0 446 446 0 8 0 anonpl 24 228354 0 221242 89 7 82 82 0 187 19 amapchunkpl 152 43330 0 42833 41 12 29 38 0 158 6 amappl16 200 4148 0 3939 26 2 24 24 0 8 2 amappl15 192 26 0 26 1 1 0 1 0 8 0 amappl14 184 124 0 114 1 0 1 1 0 8 0 amappl13 176 3 0 3 1 1 0 1 0 8 0 amappl12 168 2227 0 2200 3 1 2 3 0 8 0 amappl11 160 46 0 36 1 0 1 1 0 8 0 amappl10 152 7 0 6 1 0 1 1 0 8 0 amappl9 144 249 0 249 1 1 0 1 0 8 0 amappl8 136 50 0 48 1 0 1 1 0 8 0 amappl7 128 115 0 102 1 0 1 1 0 8 0 amappl6 120 223 0 220 1 0 1 1 0 8 0 amappl5 112 150 0 143 1 0 1 1 0 8 0 amappl4 104 347 0 332 1 0 1 1 0 8 0 amappl3 96 8630 0 8535 4 0 4 4 0 8 0 amappl2 88 716 0 657 2 0 2 2 0 8 0 amappl1 80 13677 0 13142 13 0 13 13 0 8 0 amappl 88 11838 0 11683 5 0 5 5 0 92 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 267 0 267 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 35 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1548 0 1521 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1548 0 1521 1 0 1 1 0 8 0 vmmpekpl 168 12680 0 12636 3 0 3 3 0 8 0 vmmpepl 168 101882 0 99934 111 8 103 103 0 357 5 vmsppl 368 1547 0 1521 4 1 3 4 0 8 0 rwobjpl 40 31815 0 25789 63 1 62 62 0 8 0 pdppl 4096 3103 0 3042 119 52 67 83 0 8 6 pvpl 32 675971 0 663775 191 26 165 165 0 265 40 pmappl 216 1547 0 1521 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 535 0 185 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a7d0f78,ffff80003152bdb0,ffff80003152bd00) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7d0f78,ffff80003152bdb0,ffff80003152bd00) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003152bdb0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003152bdb0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2d8ad28b660, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a7d0f78,ffff80003152bdb0,ffff80003152bd00) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7d0f78,ffff80003152bdb0,ffff80003152bd00) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003152bdb0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003152bdb0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2d8ad28b660, count: -3