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(ffff80003c979218,ffff800036513bb0,ffff800036513b00) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003c979218,ffff800036513bb0,ffff800036513b00) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff800036513bb0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800036513bb0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8378a6df270, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff800036513ad0 rbx 0 rdx 0xffff800001441b40 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0xd546be2741d105df r11 0xc6f4f8ed19878082 r12 0xfffffd80649d8dc0 r13 0xdeadbeefdeadbeef r14 0xffff8000014dba00 r15 0xa rip 0xffffffff81473f42 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800036513a30 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=167155 pid=68287 tcnt=5 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=50, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c978a68,0xffff80003c978d08 process=0xffff800036516d68 user=0xffff80003650e000, vmspace=0xfffffd806c286448 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 33468 108016 29032 0 2 0 syz-executor 33468 65632 29032 0 3 0x4000080 fsleep syz-executor 54430 141683 31505 0 2 0 syz-executor 54430 433637 31505 0 3 0x4000080 fsleep syz-executor 21690 432036 65687 60929 3 0x90 nanoslp syz-executor 21690 120076 65687 60929 3 0x4000090 kqpoll syz-executor 21690 423969 65687 60929 3 0x4000090 kqpoll syz-executor 68287 391749 11694 0 2 0 syz-executor *68287 167155 11694 0 7 0x4000000 syz-executor 68287 12099 11694 0 3 0x4000080 fsleep syz-executor 68287 482839 11694 0 2 0x4000000 syz-executor 68287 337176 11694 0 2 0x4000000 syz-executor 83451 414242 0 0 3 0x14200 acct acct 65687 415646 76120 0 3 0x82 nanoslp syz-executor 17306 509327 0 0 3 0x14200 bored sosplice 31505 182776 76120 0 3 0x82 nanoslp syz-executor 82540 334329 76120 0 3 0x82 wait syz-executor 29032 242532 76120 0 3 0x82 nanoslp syz-executor 34637 188425 76120 0 3 0x82 nanoslp syz-executor 53978 122325 76120 0 3 0x82 nanoslp syz-executor 11694 232770 76120 0 3 0x82 nanoslp syz-executor 96907 219406 76120 0 3 0x82 nanoslp syz-executor 76120 11033 38036 0 3 0x82 kqread syz-executor 38036 284796 60639 0 3 0x10008a sigsusp ksh 60639 517459 34553 0 3 0x98 kqread sshd-session 34553 134226 73947 0 3 0x92 kqread sshd-session 10403 416518 1 0 3 0x100083 ttyin getty 73947 50504 1 0 3 0x88 kqread sshd 11101 298838 6774 73 3 0x1100090 kqread syslogd 6774 141757 1 0 3 0x100082 sbwait syslogd 72389 412826 1 0 3 0x100080 kqread resolvd 20048 287746 89031 77 3 0x100092 kqread dhcpleased 3601 109061 89031 77 3 0x100092 kqread dhcpleased 89031 188251 1 0 3 0x80 kqread dhcpleased 92577 135942 0 0 3 0x14200 bored smr 91744 285456 0 0 2 0x14200 zerothread 21647 444280 0 0 3 0x14200 aiodoned aiodoned 21011 33833 0 0 3 0x14200 syncer update 16683 178051 0 0 3 0x14200 cleaner cleaner 39364 421758 0 0 3 0x14200 reaper reaper 31453 74851 0 0 3 0x14200 pgdaemon pagedaemon 34158 448014 0 0 3 0x14200 bored viomb 16701 466961 0 0 3 0x40014200 acpi0 acpi0 99096 323037 0 0 3 0x14200 bored softnet3 64796 395343 0 0 3 0x14200 bored softnet2 17922 287495 0 0 3 0x14200 bored softnet1 15081 225099 0 0 3 0x14200 bored softnet0 45434 497900 0 0 3 0x14200 bored systqmp 75683 120912 0 0 3 0x14200 bored systq 10263 255311 0 0 3 0x40014200 tmoslp softclock 96956 123251 0 0 3 0x40014200 idle0 1 102105 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 10207 11059K 11427K 166960K 12718 0 pcb 17 14K 14K 166960K 220 0 rtable 245 9K 10K 166960K 509 0 pf 33 13K 20K 166960K 98 0 ifaddr 42 7K 7K 166960K 76 0 ifgroup 50 2K 2K 166960K 98 0 sysctl 3 1K 9K 166960K 14 0 counters 32 17K 18K 166960K 62 0 ioctlops 0 0K 4K 166960K 223 0 iov 0 0K 24K 166960K 109 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1406 88K 89K 166960K 2156 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 15 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 108 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 232K 166960K 933 0 sigio 0 0K 0K 166960K 21 0 proc 63 67K 124K 166960K 617 0 subproc 72 4K 4K 166960K 93 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 121 0 in_multi 99 7K 7K 166960K 147 0 ether_multi 1 0K 0K 166960K 7 0 mrt 1 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 706 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 247 156K 167K 166960K 10075 0 UVM aobj 56 2K 2K 166960K 58 0 pinsyscall 39 78K 96K 166960K 2009 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 50 0 NDP 11 0K 2K 166960K 50 0 temp 62 8668K 8732K 166960K 16697 0 kqueue 15 22K 28K 166960K 138 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 93 0 90 1 0 1 1 0 8 0 rtentry 136 151 0 47 4 0 4 4 0 8 0 unpcb 144 596 0 579 7 5 2 6 0 8 1 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 356 0 350 13 6 7 7 0 8 6 arp 88 24 0 5 1 0 1 1 0 8 0 inpcb 328 917 0 907 13 6 7 7 0 8 5 ip6q 72 4 0 2 2 1 1 1 0 8 0 ip6af 40 6 0 4 2 1 1 1 0 8 0 nd6 104 34 0 8 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1072 26 0 26 1 0 1 1 0 8 1 pppxif 1384 1 0 1 1 1 0 1 0 8 0 pfstscr 40 2 0 2 1 0 1 1 0 8 1 pfosfp 40 3 0 2 1 0 1 1 0 8 0 pfosfpen 112 3 0 0 1 0 1 1 0 8 0 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 5 0 3 1 0 1 1 0 8 0 pfstate 384 3 0 2 1 0 1 1 0 8 0 pfrule 1344 14 0 13 1 0 1 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 680 0 218 34 3 31 34 0 8 2 art_table 40 683 0 218 6 0 6 6 0 8 0 art_node 32 151 0 57 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 5 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 103 0 93 1 0 1 1 0 8 0 shmpl 112 55 0 2 2 0 2 2 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2966 0 1467 95 0 95 95 0 8 0 ffsino 248 2966 0 1467 95 0 95 95 0 8 0 nchpl 144 4245 0 2558 63 0 63 63 0 8 0 rtmask 32 7 0 7 2 1 1 1 0 8 1 uvmvnodes 80 3591 0 0 74 0 74 74 0 8 0 vnodes 216 3591 0 0 200 0 200 200 0 8 0 namei 1024 15203 0 15203 3 1 2 2 0 8 2 kstatmem 264 60 0 38 2 0 2 2 0 8 0 scxspl 216 13104 0 13104 8 7 1 8 1 8 1 plimitpl 152 201 0 183 1 0 1 1 0 8 0 sigapl 424 1202 0 1154 7 1 6 7 0 8 0 knotepl 120 35483 0 35432 17 7 10 10 0 8 8 kqueuepl 184 252 0 240 1 0 1 1 0 8 0 pipepl 296 240 0 213 3 0 3 3 0 8 0 fdescpl 440 1181 0 1151 5 1 4 5 0 8 0 filepl 120 7430 0 7211 15 4 11 12 0 8 2 lockfpl 104 765 0 762 2 0 2 2 0 8 1 lockfspl 48 270 0 267 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 45 0 29 1 0 1 1 0 8 0 ucredpl 104 1079 0 1066 1 0 1 1 0 8 0 zombiepl 144 1577 0 1573 1 0 1 1 0 8 0 processpl 1160 1202 0 1154 4 0 4 4 0 8 0 procpl 656 2518 0 2461 6 0 6 6 0 8 0 sosppl 168 4 0 4 1 0 1 1 0 8 1 sockpl 528 1620 0 1590 15 8 7 11 0 8 4 mcl64k 65536 103 0 103 2 1 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 1 0 1 0 8 0 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 10 0 10 2 1 1 1 0 8 1 mcl4k 4096 3449 0 3399 14 6 8 14 0 8 1 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 1269 0 1264 7 5 2 5 0 8 1 mtagpl 96 43 0 7 1 0 1 1 0 8 0 mbufpl 256 12920 0 12717 79 56 23 77 0 8 8 bufpl 280 3795 0 124 263 0 263 263 0 8 0 anonpl 24 176383 0 172919 45 11 34 34 0 187 6 amapchunkpl 152 32852 0 32306 37 4 33 33 0 158 10 amappl16 200 2749 0 2712 6 3 3 5 0 8 0 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 112 0 102 1 0 1 1 0 8 0 amappl13 176 16 0 15 1 0 1 1 0 8 0 amappl12 168 1827 0 1797 2 0 2 2 0 8 0 amappl11 160 72 0 62 1 0 1 1 0 8 0 amappl10 152 13 0 13 1 1 0 1 0 8 0 amappl9 144 251 0 251 1 1 0 1 0 8 0 amappl8 136 29 0 27 1 0 1 1 0 8 0 amappl7 128 108 0 97 1 0 1 1 0 8 0 amappl6 120 193 0 190 1 0 1 1 0 8 0 amappl5 112 126 0 119 1 0 1 1 0 8 0 amappl4 104 295 0 279 1 0 1 1 0 8 0 amappl3 96 6427 0 6304 4 0 4 4 0 8 0 amappl2 88 651 0 596 2 0 2 2 0 8 0 amappl1 80 11353 0 10793 15 1 14 14 0 8 2 amappl 88 9230 0 9048 6 1 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 1 0 1 1 0 1 1 0 8 1 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 57 0 2 2 0 2 2 0 8 1 uaddrrnd 24 1181 0 1151 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1181 0 1151 1 0 1 1 0 8 0 vmmpekpl 168 10818 0 10778 4 1 3 3 0 8 0 vmmpepl 168 78116 0 76159 93 3 90 90 0 357 4 vmsppl 360 1180 0 1151 4 1 3 4 0 8 0 rwobjpl 32 25097 0 20557 37 0 37 37 0 8 0 pdppl 4096 2368 0 2302 108 42 66 82 0 8 0 pvpl 32 499766 0 490418 119 14 105 105 0 265 22 pmappl 216 1180 0 1151 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 370 0 124 9 0 9 9 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80003c979218,ffff800036513bb0,ffff800036513b00) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003c979218,ffff800036513bb0,ffff800036513b00) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff800036513bb0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800036513bb0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8378a6df270, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80003c979218,ffff800036513bb0,ffff800036513b00) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003c979218,ffff800036513bb0,ffff800036513b00) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff800036513bb0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800036513bb0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8378a6df270, count: -3