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(ffff80003c986a68,ffff80003c97f320,ffff80003c97f270) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003c986a68,ffff80003c97f320,ffff80003c97f270) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c97f320) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c97f320) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb9878d0c0, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff80003c97f240 rbx 0 rdx 0xffff800001467280 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x8c0aaa3b0bf71308 r11 0xa8b4e5e46e8371a1 r12 0xfffffd806a875ee0 r13 0xdeafbeaddeafbead r14 0xffff80000149de00 r15 0xa rip 0xffffffff821650e2 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003c97f1a0 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=263741 pid=37734 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=72, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c9874a8,0xffff80003c987228 process=0xffff800035d16d68 user=0xffff80003c97a000, vmspace=0xfffffd8070fa1e18 estcpu=22, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 80967 80223 63852 0 2 0 syz-executor 80967 27268 63852 0 3 0x4000080 fsleep syz-executor 92799 298175 48252 0 2 0 syz-executor 92799 111553 48252 0 3 0x4000080 fsleep syz-executor 95022 237978 60961 0 2 0 syz-executor 95022 366872 60961 0 3 0x4000080 fsleep syz-executor 50808 282667 95628 0 2 0 syz-executor 50808 418796 95628 0 3 0x4000080 fsleep syz-executor 19501 74581 6061 0 2 0 syz-executor 19501 165360 6061 0 3 0x4000080 ttyin syz-executor 19501 16663 6061 0 3 0x4000080 fsleep syz-executor 19501 500735 6061 0 3 0x4000080 fsleep syz-executor 37734 317360 92539 0 2 0 syz-executor *37734 263741 92539 0 7 0x4000000 syz-executor 37734 523462 92539 0 3 0x4000080 fsleep syz-executor 37734 376138 92539 0 2 0x4000000 syz-executor 77351 518203 45062 0 3 0x3000 suspend syz-executor 77351 224535 45062 0 2 0x4081000 syz-executor 84962 333622 0 0 3 0x14200 bored sosplice 16559 200970 65033 0 3 0x82 nanoslp syz-executor 60961 302289 65033 0 3 0x82 nanoslp syz-executor 48252 372834 65033 0 3 0x82 nanoslp syz-executor 45062 146743 65033 0 3 0x82 nanoslp syz-executor 92539 446830 65033 0 3 0x82 nanoslp syz-executor 63852 197952 65033 0 3 0x82 nanoslp syz-executor 6061 382992 65033 0 3 0x82 nanoslp syz-executor 95628 403898 65033 0 3 0x82 nanoslp syz-executor 65033 461292 87581 0 3 0x82 kqread syz-executor 87581 237616 1216 0 3 0x10008a sigsusp ksh 1216 372199 96660 0 3 0x98 kqread sshd-session 96660 349411 6114 0 3 0x92 kqread sshd-session 5269 463995 1 0 3 0x100083 ttyin getty 6114 502434 1 0 3 0x88 kqread sshd 29541 518169 38009 73 3 0x1100090 kqread syslogd 38009 136672 1 0 3 0x100082 sbwait syslogd 49371 31467 1 0 3 0x100080 kqread resolvd 28033 408705 73177 77 3 0x100092 kqread dhcpleased 62991 492179 73177 77 3 0x100092 kqread dhcpleased 73177 514224 1 0 3 0x80 kqread dhcpleased 7885 522128 0 0 3 0x14200 bored smr 58997 42719 0 0 2 0x14200 zerothread 92716 518262 0 0 3 0x14200 aiodoned aiodoned 52158 458191 0 0 3 0x14200 syncer update 48477 457761 0 0 3 0x14200 cleaner cleaner 85308 352350 0 0 3 0x14200 reaper reaper 88843 84568 0 0 3 0x14200 pgdaemon pagedaemon 26663 446738 0 0 3 0x14200 bored viomb 23406 513495 0 0 3 0x40014200 acpi0 acpi0 89554 127877 0 0 3 0x14200 bored softnet3 65887 181146 0 0 3 0x14200 bored softnet2 9855 244349 0 0 3 0x14200 bored softnet1 46982 355752 0 0 3 0x14200 bored softnet0 84333 334197 0 0 3 0x14200 bored systqmp 48544 92251 0 0 3 0x14200 bored systq 20173 175472 0 0 3 0x40014200 tmoslp softclock 18469 421917 0 0 3 0x40014200 idle0 1 102839 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 10177 11059K 12226K 166960K 11810 0 pcb 17 12K 12K 166960K 43 0 rtable 243 8K 8K 166960K 369 0 pf 30 12K 13K 166960K 41 0 ifaddr 42 7K 7K 166960K 51 0 ifgroup 50 2K 2K 166960K 62 0 sysctl 3 1K 9K 166960K 8 0 counters 32 17K 18K 166960K 41 0 ioctlops 0 0K 2K 166960K 174 0 iov 0 0K 12K 166960K 138 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1430 90K 90K 166960K 1601 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 7 0K 0K 166960K 9 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 293 0 sigio 0 0K 0K 166960K 2 0 proc 60 59K 124K 166960K 499 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 15 0 in_multi 99 7K 7K 166960K 101 0 ether_multi 1 0K 0K 166960K 3 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 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 354 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 234 151K 163K 166960K 4162 0 UVM aobj 38 2K 2K 166960K 38 0 pinsyscall 39 78K 96K 166960K 1315 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 17 0 NDP 11 0K 2K 166960K 32 0 temp 43 8668K 8732K 166960K 4588 0 kqueue 13 20K 29K 166960K 62 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 43 0 40 1 0 1 1 0 8 0 rtentry 136 111 0 1 4 0 4 4 0 8 0 unpcb 144 172 0 154 3 2 1 3 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 43 0 38 1 0 1 1 0 8 0 arp 88 18 0 0 1 0 1 1 0 8 0 ipq 40 4 0 0 1 0 1 1 0 8 0 ipqe 40 4 0 0 1 0 1 1 0 8 0 inpcb 344 231 0 222 4 2 2 4 0 8 1 nd6 104 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 8 0 8 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 453 0 0 29 0 29 29 0 8 0 art_table 32 454 0 0 4 0 4 4 0 8 0 art_node 16 110 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 5 2 1 1 1 0 8 1 semapl 112 6 0 1 1 0 1 1 0 8 0 shmpl 112 35 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1851 0 348 95 0 95 95 0 8 0 ffsino 248 1851 0 348 95 0 95 95 0 8 0 nchpl 144 2257 0 578 63 0 63 63 0 8 0 rtmask 32 3 0 3 1 1 0 1 0 8 0 uvmvnodes 80 2129 0 0 44 0 44 44 0 8 0 vnodes 216 2129 0 0 119 0 119 119 0 8 0 namei 1024 7249 0 7249 2 1 1 2 0 8 1 kstatmem 264 32 0 10 2 0 2 2 0 8 0 scxspl 216 7578 0 7578 8 7 1 8 1 8 1 plimitpl 152 47 0 30 1 0 1 1 0 8 0 sigapl 424 571 0 524 7 1 6 7 0 8 0 knotepl 120 9258 0 9211 10 1 9 10 0 8 6 kqueuepl 184 74 0 65 1 0 1 1 0 8 0 pipepl 296 104 0 77 3 0 3 3 0 8 0 fdescpl 440 554 0 524 5 1 4 5 0 8 0 filepl 120 2398 0 2182 10 1 9 10 0 8 0 lockfpl 104 54 0 51 1 0 1 1 0 8 0 lockfspl 48 23 0 20 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 30 0 14 1 0 1 1 0 8 0 ucredpl 104 243 0 232 1 0 1 1 0 8 0 zombiepl 144 530 0 528 1 0 1 1 0 8 0 processpl 1160 571 0 524 4 0 4 4 0 8 0 procpl 656 820 0 762 6 0 6 6 0 8 0 sockpl 528 454 0 424 5 2 3 5 0 8 0 mcl64k 65536 11 0 11 1 1 0 1 0 8 0 mcl8k 8192 4 0 4 1 1 0 1 0 8 0 mcl4k 4096 2627 0 2577 14 7 7 14 0 8 0 mcl2k 2048 255 0 255 1 0 1 1 0 8 1 mtagpl 96 16 0 5 1 0 1 1 0 8 0 mbufpl 256 5564 0 5414 15 4 11 15 0 8 0 bufpl 280 2641 0 124 180 0 180 180 0 8 0 anonpl 24 115862 0 112697 32 10 22 32 0 187 0 amapchunkpl 152 12842 0 12332 26 5 21 26 0 158 1 amappl16 200 2225 0 2199 5 3 2 5 0 8 0 amappl15 192 1 0 1 1 1 0 1 0 8 0 amappl14 184 111 0 101 1 0 1 1 0 8 0 amappl13 176 9 0 9 1 1 0 1 0 8 0 amappl12 168 1161 0 1131 3 1 2 3 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 19 0 19 1 1 0 1 0 8 0 amappl9 144 252 0 252 1 1 0 1 0 8 0 amappl8 136 26 0 25 1 0 1 1 0 8 0 amappl7 128 99 0 89 1 0 1 1 0 8 0 amappl6 120 170 0 166 1 0 1 1 0 8 0 amappl5 112 111 0 104 1 0 1 1 0 8 0 amappl4 104 279 0 264 1 0 1 1 0 8 0 amappl3 96 2216 0 2101 3 0 3 3 0 8 0 amappl2 88 599 0 546 2 0 2 2 0 8 0 amappl1 80 8383 0 7833 14 2 12 14 0 8 0 amappl 88 3495 0 3325 5 0 5 5 0 92 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 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 37 0 0 1 0 1 1 0 8 0 uaddrrnd 24 554 0 524 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 554 0 524 1 0 1 1 0 8 0 vmmpekpl 168 5954 0 5923 2 0 2 2 0 8 0 vmmpepl 168 41097 0 39210 84 1 83 83 0 357 0 vmsppl 360 553 0 524 4 1 3 4 0 8 0 rwobjpl 32 15921 0 12902 25 0 25 25 0 8 0 pdppl 4096 1114 0 1048 108 42 66 82 0 8 0 pvpl 32 272024 0 263616 90 10 80 90 0 265 2 pmappl 216 553 0 524 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 275 0 59 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80003c986a68,ffff80003c97f320,ffff80003c97f270) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003c986a68,ffff80003c97f320,ffff80003c97f270) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c97f320) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c97f320) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb9878d0c0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80003c986a68,ffff80003c97f320,ffff80003c97f270) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003c986a68,ffff80003c97f320,ffff80003c97f270) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c97f320) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c97f320) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb9878d0c0, count: -3