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(ffff80003b559228,ffff80003ca41b40,ffff80003ca41a90) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003b559228,ffff80003ca41b40,ffff80003ca41a90) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003ca41b40) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca41b40) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x56810c965e0, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff80003ca41a60 rbx 0 rdx 0xffff80000146c6c0 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x303752d02f588d9b r11 0x5ba9a3085b5e3393 r12 0xfffffd8069725e10 r13 0xdeafbeaddeafbead r14 0xffff80000152fc00 r15 0xa rip 0xffffffff81389cf2 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003ca419c0 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=194295 pid=43040 tcnt=5 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=82, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003b5587e8,0xffff80003b5594c8 process=0xffff80003c979b70 user=0xffff80003ca3c000, vmspace=0xfffffd806ba3a460 estcpu=32, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 31139 232216 74328 0 2 0 syz-executor 31139 296879 74328 0 3 0x4000080 fsleep syz-executor 2031 440313 80960 0 2 0 syz-executor 2031 24368 80960 0 3 0x4000080 fsleep syz-executor 2031 299095 80960 0 3 0x4000080 fsleep syz-executor 84312 82553 60851 0 2 0 syz-executor 84312 453 60851 0 3 0x4000080 fsleep syz-executor 84312 490433 60851 0 2 0x4000000 syz-executor 77300 242321 87461 0 2 0 syz-executor 77300 333793 87461 0 3 0x4000080 fsleep syz-executor 77300 266891 87461 0 3 0x4000080 fsleep syz-executor 1301 173892 11167 0 2 0 syz-executor 1301 204669 11167 0 3 0x4000080 fsleep syz-executor 1301 46976 11167 0 3 0x4000080 fsleep syz-executor 84889 277959 64814 0 2 0 syz-executor 84889 280036 64814 0 3 0x4000080 fsleep syz-executor 84889 246960 64814 0 3 0x4000080 fsleep syz-executor 84889 420412 64814 0 2 0x4000000 syz-executor 28415 125165 97694 0 3 0x80 nanoslp syz-executor 28415 315751 97694 0 3 0x4000080 ttyin syz-executor 43040 35209 4085 0 2 0 syz-executor *43040 194295 4085 0 7 0x4000000 syz-executor 43040 411158 4085 0 3 0x4000080 fsleep syz-executor 43040 139007 4085 0 2 0x4000000 syz-executor 43040 443244 4085 0 2 0x4000000 syz-executor 64814 155259 94988 0 3 0x82 nanoslp syz-executor 78381 229652 0 0 3 0x14200 acct acct 61492 255568 0 0 3 0x14200 bored sosplice 4085 188195 94988 0 3 0x82 nanoslp syz-executor 74328 428954 94988 0 3 0x82 nanoslp syz-executor 60851 380659 94988 0 3 0x82 nanoslp syz-executor 97694 399824 94988 0 3 0x82 nanoslp syz-executor 87461 48541 94988 0 3 0x82 nanoslp syz-executor 80960 197796 94988 0 3 0x82 nanoslp syz-executor 11167 139650 94988 0 3 0x82 nanoslp syz-executor 94988 488481 9049 0 3 0x82 kqread syz-executor 9049 92828 63816 0 3 0x10008a sigsusp ksh 63816 284291 68542 0 3 0x98 kqread sshd-session 68542 324127 71988 0 3 0x92 kqread sshd-session 97850 453812 1 0 3 0x100083 ttyin getty 71988 222888 1 0 3 0x88 kqread sshd 2549 410160 60127 73 3 0x1100090 kqread syslogd 60127 250910 1 0 3 0x100082 sbwait syslogd 98683 223868 1 0 3 0x100080 kqread resolvd 79209 473352 46494 77 3 0x100092 kqread dhcpleased 28261 10541 46494 77 3 0x100092 kqread dhcpleased 46494 177991 1 0 3 0x80 kqread dhcpleased 13592 372885 0 0 3 0x14200 bored smr 94887 234588 0 0 2 0x14200 zerothread 54469 502774 0 0 3 0x14200 aiodoned aiodoned 30359 459447 0 0 3 0x14200 syncer update 96692 18348 0 0 3 0x14200 cleaner cleaner 69594 307302 0 0 3 0x14200 reaper reaper 52604 32064 0 0 3 0x14200 pgdaemon pagedaemon 25863 375361 0 0 3 0x14200 bored viomb 59366 439592 0 0 3 0x40014200 acpi0 acpi0 27235 227002 0 0 3 0x14200 bored softnet7 2000 492404 0 0 3 0x14200 bored softnet6 13992 193579 0 0 3 0x14200 bored softnet5 21142 466261 0 0 3 0x14200 bored softnet4 56783 418555 0 0 3 0x14200 bored softnet3 30346 33866 0 0 3 0x14200 bored softnet2 33827 152649 0 0 3 0x14200 bored softnet1 33739 483731 0 0 3 0x14200 bored softnet0 60067 199139 0 0 3 0x14200 bored systqmp 1309 130731 0 0 3 0x14200 bored systq 85860 360099 0 0 3 0x40014200 tmoslp softclock 83097 373505 0 0 3 0x40014200 idle0 1 253028 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 10214 11200K 11545K 166960K 12953 0 pcb 19 16K 18K 166960K 281 0 rtable 187 7K 8K 166960K 462 0 pf 39 14K 131087K 166960K 131 0 ifaddr 40 7K 7K 166960K 89 0 ifgroup 59 2K 3K 166960K 142 0 sysctl 4 1K 9K 166960K 23 0 counters 34 18K 18K 166960K 106 0 ioctlops 0 0K 4K 166960K 237 0 iov 0 0K 28K 166960K 134 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1401 88K 89K 166960K 2481 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 27 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 79 0 dirhash 12 2K 2K 166960K 36 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 1258 0 sigio 0 0K 0K 166960K 15 0 proc 61 67K 108K 166960K 599 0 subproc 72 4K 4K 166960K 82 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 148 0 in_multi 83 6K 7K 166960K 148 0 ether_multi 1 0K 0K 166960K 7 0 mrt 2 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 145 652K 652K 166960K 145 0 exec 0 0K 1K 166960K 493 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 246 145K 159K 166960K 12492 0 UVM aobj 131 4K 4K 166960K 139 0 pinsyscall 39 78K 95K 166960K 2321 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 82 0 NDP 13 0K 2K 166960K 57 0 temp 76 8675K 8764K 166960K 43662 0 kqueue 13 20K 31K 166960K 228 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 137 0 134 1 0 1 1 0 8 0 rtentry 136 133 0 59 4 0 4 4 0 8 0 unpcb 144 742 0 727 4 3 1 4 0 8 0 syncache 336 7 0 7 1 1 0 1 0 8 0 tcpqe 32 4 0 4 1 1 0 1 0 8 0 tcpcb 736 448 0 440 5 3 2 4 0 8 1 arp 88 16 0 8 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 1278 0 1264 13 3 10 13 0 8 8 ip6q 72 19 0 16 1 0 1 1 0 8 0 ip6af 40 35 0 32 1 0 1 1 0 8 0 nd6 104 22 0 5 1 0 1 1 0 8 0 pkpcb 40 9 0 9 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1072 59 0 59 2 1 1 1 0 8 1 pppxif 1384 38 0 38 2 1 1 1 0 8 1 pfstscr 40 3 0 2 1 0 1 1 0 8 0 pffrag 232 11 0 5 1 0 1 1 0 482 0 pffrnode 88 8 0 3 1 0 1 1 0 8 0 pffrent 40 67 0 61 1 0 1 1 0 8 0 pfrktable 1344 6 0 6 1 1 0 1 0 8 0 pfanchor 1288 3 0 1 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 11 0 7 1 0 1 1 0 8 0 pfstate 384 6 0 4 1 0 1 1 0 8 0 pfrule 1344 7 0 7 1 1 0 1 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 620 0 265 30 5 25 29 0 8 0 art_table 40 622 0 265 5 0 5 5 0 8 0 art_node 32 130 0 66 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 10 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 77 0 67 1 0 1 1 0 8 0 shmpl 112 136 0 8 4 0 4 4 0 8 0 dirhash 1024 33 0 16 3 0 3 3 0 8 0 dino2pl 256 3751 0 2259 95 0 95 95 0 8 0 ffsino 256 3751 0 2259 95 0 95 95 0 8 0 nchpl 144 5512 0 3827 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 1 0 1 0 8 0 uvmvnodes 80 4089 0 0 84 0 84 84 0 8 0 vnodes 216 4089 0 0 228 0 228 228 0 8 0 namei 1024 18296 0 18296 4 1 3 3 0 8 3 pfiaddrpl 120 1 0 1 1 1 0 1 0 8 0 kstatmem 264 78 0 52 3 1 2 3 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 21070 0 21070 9 7 2 8 1 8 2 plimitpl 152 290 0 274 1 0 1 1 0 8 0 sigapl 424 1563 0 1511 9 0 9 9 0 8 2 knotepl 120 342022 0 341974 36 27 9 17 0 8 6 kqueuepl 184 450 0 440 3 2 1 3 0 8 0 pipepl 304 311 0 284 8 5 3 8 0 8 0 fdescpl 448 1520 0 1490 5 1 4 5 0 8 0 filepl 120 9432 0 9216 11 0 11 11 0 8 3 lockfpl 104 685 0 682 2 1 1 2 0 8 0 lockfspl 48 278 0 275 1 0 1 1 0 8 0 sessionpl 144 25 0 17 1 0 1 1 0 8 0 pgrppl 48 50 0 34 1 0 1 1 0 8 0 ucredpl 104 1726 0 1714 1 0 1 1 0 8 0 zombiepl 144 1625 0 1625 1 0 1 1 0 8 1 processpl 1168 1563 0 1511 6 0 6 6 0 8 1 procpl 656 3281 0 3212 8 0 8 8 0 8 2 sosppl 168 3 0 3 1 1 0 1 0 8 0 sockpl 552 2268 0 2236 12 0 12 12 0 8 8 mcl64k 65536 197 0 196 1 0 1 1 0 8 0 mcl16k 16384 7 0 7 1 1 0 1 0 8 0 mcl12k 12288 3 0 3 1 1 0 1 0 8 0 mcl9k 9216 4 0 4 2 1 1 1 0 8 1 mcl8k 8192 21 0 21 2 1 1 1 0 8 1 mcl4k 4096 3933 0 3883 14 6 8 13 0 8 0 mcl2k2 2112 2 0 2 1 1 0 1 0 8 0 mcl2k 2048 1968 0 1961 3 1 2 3 0 8 0 mtagpl 96 107 0 17 3 0 3 3 0 8 0 mbufpl 256 17566 0 17308 103 85 18 76 0 8 0 bufpl 280 7189 0 962 445 0 445 445 0 8 0 anonpl 24 249310 0 238830 95 6 89 95 0 187 0 amapchunkpl 152 43808 0 43067 42 13 29 36 0 158 0 amappl16 200 4982 0 4721 35 2 33 35 0 8 0 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 114 0 104 1 0 1 1 0 8 0 amappl13 176 7 0 7 1 1 0 1 0 8 0 amappl12 168 2147 0 2117 3 1 2 3 0 8 0 amappl11 160 50 0 40 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 250 0 250 1 1 0 1 0 8 0 amappl8 136 25 0 22 1 0 1 1 0 8 0 amappl7 128 106 0 95 1 0 1 1 0 8 0 amappl6 120 182 0 179 1 0 1 1 0 8 0 amappl5 112 121 0 114 1 0 1 1 0 8 0 amappl4 104 276 0 258 1 0 1 1 0 8 0 amappl3 96 8547 0 8429 4 0 4 4 0 8 1 amappl2 88 662 0 603 2 0 2 2 0 8 0 amappl1 80 13231 0 12677 14 1 13 14 0 8 0 amappl 88 11583 0 11399 5 0 5 5 0 92 0 dma4096 4096 2 0 2 2 1 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 7 0 7 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 23 0 22 1 0 1 1 0 8 0 aobjpl 72 138 0 8 3 0 3 3 0 8 0 uaddrrnd 24 1520 0 1490 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1520 0 1490 1 0 1 1 0 8 0 vmmpekpl 168 13310 0 13278 2 0 2 2 0 8 0 vmmpepl 168 99134 0 96957 110 7 103 110 0 357 0 vmsppl 368 1519 0 1490 4 1 3 4 0 8 0 rwobjpl 40 30962 0 25624 55 0 55 55 0 8 1 pdppl 4096 3047 0 2980 109 42 67 83 0 8 0 pvpl 32 680246 0 662929 186 18 168 186 0 265 0 pmappl 216 1519 0 1490 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 488 0 151 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80003b559228,ffff80003ca41b40,ffff80003ca41a90) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003b559228,ffff80003ca41b40,ffff80003ca41a90) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003ca41b40) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca41b40) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x56810c965e0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80003b559228,ffff80003ca41b40,ffff80003ca41a90) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003b559228,ffff80003ca41b40,ffff80003ca41a90) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003ca41b40) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca41b40) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x56810c965e0, count: -3