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(ffff80003766af58,ffff8000323fd510,ffff8000323fd460) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003766af58,ffff8000323fd510,ffff8000323fd460) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000323fd510) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76ee6337180, count: -3 ddb> show registers rdi 0 rsi 0x20001208 rbp 0xffff8000323fd430 rbx 0 rdx 0xffff800001282540 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0xd620bb7ba08c5763 r11 0x785d7e07ede9818f r12 0xfffffd806aae9f28 r13 0xdeafbeaddeafbead r14 0xffff8000012aef00 r15 0xa rip 0xffffffff82ea78e2 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000323fd390 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=228980 pid=91251 tcnt=4 stat=onproc flags process=10 proc=4000000 runpri=36, usrpri=53, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003766a7c0,0xffff80003766a038 process=0xffff800030df4460 user=0xffff8000323f8000, vmspace=0xfffffd806c21eb10 estcpu=3, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 72722 310286 18605 0 2 0 syz-executor 72722 339375 18605 0 3 0x4000080 fsleep syz-executor 20579 209931 56939 0 2 0 syz-executor 87740 2302 86561 0 2 0 syz-executor 87740 450386 86561 0 2 0x4000000 syz-executor 87740 259213 86561 0 2 0x4000000 syz-executor 83095 307857 84876 0 2 0 syz-executor 83095 429133 84876 0 3 0x4000080 fsleep syz-executor 73142 184656 59845 0 2 0 syz-executor 73142 159589 59845 0 3 0x4000080 fsleep syz-executor 19213 99645 31109 0 2 0 syz-executor 19213 76590 31109 0 2 0x4000000 syz-executor 91251 356545 1036 0 2 0x10 syz-executor *91251 228980 1036 0 7 0x4000010 syz-executor 91251 183012 1036 0 3 0x4000090 fsleep syz-executor 91251 330008 1036 0 2 0x4000010 syz-executor 65986 132742 0 0 3 0x14200 bored sosplice 25761 434614 0 0 3 0x14200 acct acct 92614 423866 20373 0 2 0x2 syz-executor 1036 208830 20373 0 3 0x82 nanoslp syz-executor 18605 200744 20373 0 3 0x82 nanoslp syz-executor 84876 415460 20373 0 3 0x82 nanoslp syz-executor 56939 173434 20373 0 2 0x3 syz-executor 59845 491883 20373 0 2 0x3 syz-executor 31109 147053 20373 0 3 0x82 nanoslp syz-executor 86561 469499 20373 0 3 0x82 nanoslp syz-executor 20373 440825 11860 0 3 0x82 kqread syz-executor 11860 306479 58031 0 3 0x10008a sigsusp ksh 58031 185281 77660 0 3 0x98 kqread sshd-session 77660 308930 64491 0 3 0x92 kqread sshd-session 19903 41458 1 0 3 0x100083 ttyin getty 64491 57321 1 0 3 0x88 kqread sshd 71019 142774 8580 73 3 0x1100090 kqread syslogd 8580 349090 1 0 3 0x100082 sbwait syslogd 44742 367219 1 0 3 0x100080 kqread resolvd 7106 301615 26435 77 3 0x100092 kqread dhcpleased 23290 165180 26435 77 3 0x100092 kqread dhcpleased 26435 420975 1 0 3 0x80 kqread dhcpleased 26564 76299 0 0 3 0x14200 bored smr 16892 277348 0 0 2 0x14200 zerothread 46611 373192 0 0 3 0x14200 aiodoned aiodoned 83783 154260 0 0 3 0x14200 syncer update 12814 261777 0 0 3 0x14200 cleaner cleaner 331 286059 0 0 3 0x14200 reaper reaper 52463 224936 0 0 3 0x14200 pgdaemon pagedaemon 82447 278715 0 0 3 0x14200 bored viomb 79368 132627 0 0 3 0x40014200 acpi0 acpi0 12199 330994 0 0 3 0x14200 bored softnet3 26758 346367 0 0 3 0x14200 bored softnet2 76500 201957 0 0 3 0x14200 bored softnet1 59801 397026 0 0 3 0x14200 bored softnet0 61939 56290 0 0 3 0x14200 bored systqmp 48701 183839 0 0 3 0x14200 bored systq 35131 170073 0 0 3 0x40014200 tmoslp softclock 15523 88077 0 0 3 0x40014200 idle0 1 27587 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 10172 11043K 11238K 166960K 11305 0 pcb 17 12K 12K 166960K 37 0 rtable 236 6K 6K 166960K 356 0 pf 30 12K 13K 166960K 32 0 ifaddr 43 7K 7K 166960K 46 0 ifgroup 50 2K 2K 166960K 52 0 counters 30 17K 17K 166960K 31 0 ioctlops 0 0K 2K 166960K 34 0 iov 0 0K 12K 166960K 5 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1370 86K 86K 166960K 1414 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 3 0K 0K 166960K 3 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 17 61K 93K 166960K 186 0 sigio 0 0K 0K 166960K 1 0 proc 59 59K 91K 166960K 477 0 subproc 104 6K 6K 166960K 104 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 5 0 in_multi 103 7K 7K 166960K 103 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 351 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 218 72K 76K 166960K 3060 0 UVM aobj 3 2K 2K 166960K 4 0 pinsyscall 38 76K 95K 166960K 1189 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 4 0 NDP 11 0K 2K 166960K 28 0 temp 38 6806K 6870K 166960K 7136 0 kqueue 13 20K 30K 166960K 42 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 39 0 36 1 0 1 1 0 8 0 rtentry 112 115 0 4 4 0 4 4 0 8 0 unpcb 144 61 0 46 1 0 1 1 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 13 0 9 1 0 1 1 0 8 0 arp 88 19 0 1 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 1 1 0 1 1 0 8 0 inpcb 336 100 0 87 3 1 2 2 0 8 0 nd6 104 25 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 459 0 2 29 0 29 29 0 8 0 art_table 32 460 0 2 4 0 4 4 0 8 0 art_node 16 114 0 13 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 2 1 0 1 1 0 8 0 semapl 112 1 0 0 1 0 1 1 0 8 0 shmpl 112 1 0 1 1 1 0 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1631 0 130 95 0 95 95 0 8 0 ffsino 240 1631 0 130 89 0 89 89 0 8 0 nchpl 144 1897 0 222 63 0 63 63 0 8 0 uvmvnodes 80 1767 0 0 37 0 37 37 0 8 0 vnodes 216 1767 0 0 99 0 99 99 0 8 0 namei 1024 5444 0 5442 3 2 1 2 0 8 0 kstatmem 264 24 0 2 2 0 2 2 0 8 0 scxspl 216 5351 0 5351 2 1 1 2 1 8 1 plimitpl 152 39 0 23 1 0 1 1 0 8 0 sigapl 424 462 0 415 6 0 6 6 0 8 0 futexpl 64 799 0 795 1 0 1 1 0 8 0 knotepl 120 5324 0 5277 22 6 16 22 0 8 13 kqueuepl 184 43 0 34 1 0 1 1 0 8 0 pipepl 288 105 0 78 3 0 3 3 0 8 1 fdescpl 432 444 0 415 5 1 4 5 0 8 0 filepl 120 1551 0 1308 8 0 8 8 0 8 0 lockfpl 104 14 0 12 1 0 1 1 0 8 0 lockfspl 48 8 0 6 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 29 0 13 1 0 1 1 0 8 0 ucredpl 104 87 0 74 1 0 1 1 0 8 0 zombiepl 144 430 0 430 2 1 1 1 0 8 1 processpl 1096 462 0 415 4 0 4 4 0 8 0 procpl 648 547 0 490 6 0 6 6 0 8 0 sockpl 504 201 0 170 5 0 5 5 0 8 0 mcl64k 65536 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 7 0 7 1 1 0 1 0 8 0 mcl4k 4096 2646 0 2592 15 7 8 15 0 8 0 mcl2k 2048 172 0 169 3 0 3 3 0 8 2 mtagpl 96 8 0 4 1 0 1 1 0 8 0 mbufpl 256 4710 0 4550 14 1 13 13 0 8 0 bufpl 280 2268 0 95 156 0 156 156 0 8 0 anonpl 24 131719 0 128596 24 3 21 23 0 187 0 amapchunkpl 152 9924 0 9452 21 0 21 21 0 158 1 amappl16 200 3282 0 3265 6 4 2 5 0 8 1 amappl15 192 9 0 8 1 0 1 1 0 8 0 amappl14 184 104 0 94 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 1046 0 1017 2 0 2 2 0 8 0 amappl11 160 57 0 47 1 0 1 1 0 8 0 amappl10 152 11 0 11 1 1 0 1 0 8 0 amappl9 144 154 0 154 1 1 0 1 0 8 0 amappl8 136 21 0 20 1 0 1 1 0 8 0 amappl7 128 91 0 81 1 0 1 1 0 8 0 amappl6 120 158 0 157 1 0 1 1 0 8 0 amappl5 112 121 0 113 1 0 1 1 0 8 0 amappl4 104 272 0 257 1 0 1 1 0 8 0 amappl3 96 1857 0 1768 3 0 3 3 0 8 0 amappl2 88 696 0 620 2 0 2 2 0 8 0 amappl1 80 7291 0 6767 13 0 13 13 0 8 1 amappl 88 2718 0 2553 5 0 5 5 0 92 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 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 3 0 1 1 0 1 1 0 8 0 uaddrrnd 24 444 0 415 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 444 0 415 1 0 1 1 0 8 0 vmmpekpl 168 4992 0 4960 2 0 2 2 0 8 0 vmmpepl 168 34830 0 33116 79 0 79 79 0 357 2 vmsppl 352 443 0 415 4 0 4 4 0 8 1 rwobjpl 24 15586 0 12988 16 0 16 16 0 8 0 pdppl 4096 894 0 830 94 26 68 80 0 8 4 pvpl 32 250773 0 242502 74 0 74 74 0 265 2 pmappl 216 443 0 415 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 364 0 42 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80003766af58,ffff8000323fd510,ffff8000323fd460) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003766af58,ffff8000323fd510,ffff8000323fd460) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000323fd510) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76ee6337180, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80003766af58,ffff8000323fd510,ffff8000323fd460) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003766af58,ffff8000323fd510,ffff8000323fd460) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000323fd510) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76ee6337180, count: -3