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(ffff8000381634e8,ffff80003815dbe0,ffff80003815db30) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff8000381634e8,ffff80003815dbe0,ffff80003815db30) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003815dbe0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003815dbe0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4da22cafdd0, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff80003815db10 rbx 0 rdx 0xffff800001462240 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0xd160c32f96499c2d r11 0x83682eb0b05e978f r12 0xfffffd8078568848 r13 0xdeadbeefdeadbeef r14 0xffff80000148d900 r15 0xa rip 0xffffffff820370c2 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003815da70 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=144138 pid=87271 tcnt=4 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=0xffff800038162558,0xffff800038163a28 process=0xffff80003c989ff0 user=0xffff800038158000, vmspace=0xfffffd806ba4aa20 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 86545 234914 42856 0 2 0 syz-executor 86545 194393 42856 0 3 0x4000080 fsleep syz-executor 74948 308322 86971 0 2 0 syz-executor 74948 189447 86971 0 3 0x4000080 fsleep syz-executor 76934 174100 47382 0 2 0 syz-executor 76934 346068 47382 0 3 0x4000080 fsleep syz-executor 62913 217780 77938 0 2 0 syz-executor 62913 240427 77938 0 3 0x4000080 fsleep syz-executor 30510 433130 87388 0 2 0 syz-executor 30510 177104 87388 0 3 0x4000080 fsleep syz-executor 97154 222287 29597 0 2 0 syz-executor 97154 73706 29597 0 3 0x4000080 ttyout syz-executor 97154 359891 29597 0 2 0x4000000 syz-executor 87271 328691 18375 0 2 0 syz-executor *87271 144138 18375 0 7 0x4000000 syz-executor 87271 485556 18375 0 3 0x4000080 fsleep syz-executor 87271 489992 18375 0 2 0x4000000 syz-executor 97281 116134 92146 0 2 0 syz-executor 97281 324955 92146 0 2 0x4000000 syz-executor 97281 427856 92146 0 3 0x4000080 fsleep syz-executor 84635 366090 0 0 3 0x14200 bored sosplice 87388 92159 81156 0 3 0x82 nanoslp syz-executor 77938 335546 81156 0 3 0x82 nanoslp syz-executor 86971 446057 81156 0 3 0x82 nanoslp syz-executor 92146 26739 81156 0 3 0x82 nanoslp syz-executor 18375 499156 81156 0 3 0x82 nanoslp syz-executor 42856 392462 81156 0 3 0x82 nanoslp syz-executor 29597 301696 81156 0 3 0x82 nanoslp syz-executor 47382 47447 81156 0 3 0x82 nanoslp syz-executor 81156 481743 12171 0 3 0x82 kqread syz-executor 12171 277641 50407 0 3 0x10008a sigsusp ksh 50407 146707 80513 0 3 0x98 kqread sshd-session 80513 336303 12223 0 3 0x92 kqread sshd-session 66124 263602 1 0 3 0x100083 ttyin getty 12223 451822 1 0 3 0x88 kqread sshd 70533 155982 79850 73 3 0x1100090 kqread syslogd 79850 5717 1 0 3 0x100082 sbwait syslogd 9241 477882 1 0 3 0x100080 kqread resolvd 10775 370301 0 0 3 0x14200 bored smr 4667 424812 0 0 2 0x14200 zerothread 54018 123578 0 0 3 0x14200 aiodoned aiodoned 26474 27139 0 0 3 0x14200 syncer update 14351 101905 0 0 3 0x14200 cleaner cleaner 35747 110356 0 0 3 0x14200 reaper reaper 72516 107704 0 0 3 0x14200 pgdaemon pagedaemon 90415 318046 0 0 3 0x14200 bored viomb 42205 130048 0 0 3 0x40014200 acpi0 acpi0 71865 376514 0 0 3 0x14200 bored softnet7 65676 272453 0 0 3 0x14200 bored softnet6 71472 374074 0 0 3 0x14200 bored softnet5 23769 112901 0 0 3 0x14200 bored softnet4 97797 318908 0 0 3 0x14200 bored softnet3 90499 444426 0 0 3 0x14200 bored softnet2 5290 114733 0 0 3 0x14200 bored softnet1 40388 130251 0 0 3 0x14200 bored softnet0 5946 310795 0 0 3 0x14200 bored systqmp 63385 246707 0 0 3 0x14200 bored systq 34106 282312 0 0 3 0x40014200 tmoslp softclock 43345 369112 0 0 3 0x40014200 idle0 1 47344 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 10185 11040K 11271K 166960K 11715 0 pcb 18 14K 16K 166960K 191 0 rtable 198 8K 9K 166960K 363 0 pf 35 13K 131085K 166960K 70 0 ifaddr 39 6K 7K 166960K 64 0 ifgroup 58 2K 2K 166960K 96 0 sysctl 3 1K 9K 166960K 10 0 counters 34 18K 18K 166960K 51 0 ioctlops 0 0K 4K 166960K 137 0 iov 0 0K 16K 166960K 21 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1533 96K 97K 166960K 1838 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 1K 166960K 18 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 540 0 sigio 0 0K 0K 166960K 7 0 proc 54 43K 116K 166960K 524 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 52 0 in_multi 80 5K 7K 166960K 114 0 ether_multi 2 0K 0K 166960K 7 0 mrt 2 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 475 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 201 126K 160K 166960K 6362 0 UVM aobj 21 2K 4K 166960K 24 0 pinsyscall 33 66K 95K 166960K 1562 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 25 0 NDP 13 0K 2K 166960K 42 0 temp 47 8633K 8707K 166960K 23546 0 kqueue 7 12K 29K 166960K 95 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 62 0 61 1 0 1 1 0 8 0 rtentry 136 111 0 32 4 0 4 4 0 8 0 unpcb 144 300 0 290 1 0 1 1 0 8 0 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 126 0 119 1 0 1 1 0 8 0 arp 88 15 0 5 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 6 0 4 1 0 1 1 0 8 0 inpcb 328 457 0 447 8 6 2 7 0 8 0 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 104 19 0 5 1 0 1 1 0 8 0 pkpcb 40 5 0 5 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 13 0 13 1 0 1 1 0 8 1 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pfstkey 128 1 0 1 1 1 0 1 0 8 0 pfstate 384 1 0 1 1 1 0 1 0 8 0 pfrule 1344 2 0 2 2 1 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 461 0 98 28 2 26 28 0 8 2 art_table 40 463 0 98 5 0 5 5 0 8 0 art_node 32 110 0 40 1 0 1 1 0 8 0 sysvmsgpl 40 22 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 14 0 4 1 0 1 1 0 8 0 shmpl 112 21 0 3 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2374 0 876 95 0 95 95 0 8 0 ffsino 256 2374 0 876 95 0 95 95 0 8 0 nchpl 144 3157 0 1476 63 0 63 63 0 8 0 rtmask 32 3 0 3 1 0 1 1 0 8 1 uvmvnodes 80 2769 0 0 57 0 57 57 0 8 0 vnodes 216 2769 0 0 154 0 154 154 0 8 0 namei 1024 11333 0 11332 6 2 4 4 0 8 3 kstatmem 264 52 0 26 3 0 3 3 0 8 1 scxspl 216 11113 0 11113 15 7 8 8 1 8 8 plimitpl 152 133 0 118 1 0 1 1 0 8 0 sigapl 424 843 0 795 8 1 7 8 0 8 0 knotepl 120 29754 0 29723 20 10 10 12 0 8 8 kqueuepl 184 420 0 414 10 9 1 10 0 8 0 pipepl 304 127 0 100 3 0 3 3 0 8 0 fdescpl 448 801 0 774 5 1 4 5 0 8 0 filepl 120 5085 0 4882 20 12 8 19 0 8 0 lockfpl 104 159 0 155 1 0 1 1 0 8 0 lockfspl 48 73 0 69 1 0 1 1 0 8 0 sessionpl 144 21 0 14 1 0 1 1 0 8 0 pgrppl 48 36 0 21 1 0 1 1 0 8 0 ucredpl 104 521 0 513 1 0 1 1 0 8 0 zombiepl 144 931 0 931 1 0 1 1 0 8 1 processpl 1168 843 0 795 6 2 4 6 0 8 0 procpl 664 1514 0 1454 8 2 6 8 0 8 0 sockpl 552 837 0 816 8 6 2 8 0 8 0 mcl64k 65536 26 0 26 2 1 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 13 0 13 2 1 1 1 0 8 1 mcl4k 4096 3014 0 2961 15 7 8 14 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 799 0 797 1 0 1 1 0 8 0 mtagpl 96 5 0 5 2 1 1 1 0 8 1 mbufpl 256 8435 0 8287 12 0 12 12 0 8 0 bufpl 280 4248 0 159 293 0 293 293 0 8 0 anonpl 24 128542 0 125745 40 10 30 34 0 187 6 amapchunkpl 152 20784 0 20319 34 7 27 27 0 158 7 amappl16 200 1829 0 1805 4 1 3 4 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 105 0 97 1 0 1 1 0 8 0 amappl13 176 3 0 3 2 1 1 1 0 8 1 amappl12 168 1409 0 1382 3 1 2 3 0 8 0 amappl11 160 46 0 42 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 258 0 258 1 1 0 1 0 8 0 amappl8 136 24 0 23 1 0 1 1 0 8 0 amappl7 128 95 0 88 1 0 1 1 0 8 0 amappl6 120 163 0 160 1 0 1 1 0 8 0 amappl5 112 113 0 109 1 0 1 1 0 8 0 amappl4 104 264 0 247 1 0 1 1 0 8 0 amappl3 96 3927 0 3823 3 0 3 3 0 8 0 amappl2 88 606 0 568 2 0 2 2 0 8 0 amappl1 80 9535 0 9069 13 1 12 13 0 8 1 amappl 88 5640 0 5485 4 0 4 4 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 23 0 3 1 0 1 1 0 8 0 uaddrrnd 24 801 0 774 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 801 0 774 1 0 1 1 0 8 0 vmmpekpl 168 7713 0 7686 2 0 2 2 0 8 0 vmmpepl 168 54601 0 52998 84 9 75 84 0 357 2 vmsppl 368 800 0 774 4 1 3 4 0 8 0 rwobjpl 40 18828 0 15330 36 0 36 36 0 8 0 pdppl 4096 1608 0 1548 98 38 60 82 0 8 0 pvpl 32 354950 0 347070 117 28 89 107 0 265 14 pmappl 216 800 0 774 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 381 0 58 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff8000381634e8,ffff80003815dbe0,ffff80003815db30) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff8000381634e8,ffff80003815dbe0,ffff80003815db30) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003815dbe0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003815dbe0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4da22cafdd0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff8000381634e8,ffff80003815dbe0,ffff80003815db30) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff8000381634e8,ffff80003815dbe0,ffff80003815db30) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003815dbe0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003815dbe0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4da22cafdd0, count: -3