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(ffff8000376096f0,ffff80002f3ebad0,ffff80002f3eba20) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff8000376096f0,ffff80002f3ebad0,ffff80002f3eba20) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80002f3ebad0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x513b35cd6b0, count: -3 ddb> show registers rdi 0 rsi 0x20001208 rbp 0xffff80002f3eb9f0 rbx 0 rdx 0 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x5be2942a93a641a1 r11 0x15c817915770407c r12 0xfffffd806c01ade8 r13 0xdead4110dead4110 r14 0xffff8000012b6000 r15 0xa rip 0xffffffff82b95042 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002f3eb950 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=196240 pid=41585 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=0xffff800037620530,0xffff8000376091f0 process=0xffff8000327f9e10 user=0xffff80002f3e6000, vmspace=0xfffffd806c1c02d8 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 47377 206925 67538 0 2 0 syz-executor 47377 212687 67538 0 3 0x4000080 fsleep syz-executor 22674 23926 41060 0 2 0 syz-executor 22674 363139 41060 0 3 0x4000080 fsleep syz-executor 22674 163279 41060 0 3 0x4000080 fsleep syz-executor 18939 167371 9672 0 2 0 syz-executor 18939 446709 9672 0 3 0x4000080 fsleep syz-executor 999 107521 3327 0 2 0 syz-executor 999 391922 3327 0 2 0x4000000 syz-executor 999 48030 3327 0 3 0x4000080 fsleep syz-executor 41585 281385 54938 0 2 0 syz-executor *41585 196240 54938 0 7 0x4000000 syz-executor 41585 122478 54938 0 3 0x4000080 msgwait syz-executor 41585 452038 54938 0 2 0x4000000 syz-executor 11428 339387 58519 0 3 0 vmmaplk syz-executor 11428 187972 58519 0 2 0x4000000 syz-executor 9672 227048 8375 0 3 0x82 nanoslp syz-executor 67046 489313 1 0 3 0x100083 ttyin getty 22942 315182 0 0 3 0x14280 nfsidl nfsio 89636 159234 0 0 3 0x14280 nfsidl nfsio 16244 142381 0 0 3 0x14280 nfsidl nfsio 57296 90432 0 0 3 0x14280 nfsidl nfsio 47398 52981 0 0 3 0x14280 nfsidl nfsio 92373 148770 0 0 3 0x14280 nfsidl nfsio 81862 438375 0 0 3 0x14280 nfsidl nfsio 11451 499313 0 0 3 0x14280 nfsidl nfsio 61207 459410 0 0 3 0x14280 nfsidl nfsio 116 80879 0 0 3 0x14280 nfsidl nfsio 52165 153474 0 0 3 0x14280 nfsidl nfsio 50011 23309 0 0 3 0x14280 nfsidl nfsio 73106 376491 0 0 3 0x14280 nfsidl nfsio 25191 326612 0 0 3 0x14280 nfsidl nfsio 15158 38452 0 0 3 0x14280 nfsidl nfsio 21610 131618 0 0 3 0x14280 nfsidl nfsio 41490 36791 0 0 3 0x14280 nfsidl nfsio 65407 226470 0 0 3 0x14280 nfsidl nfsio 8721 516559 0 0 3 0x14280 nfsidl nfsio 31783 79995 0 0 3 0x14280 nfsidl nfsio 63349 391181 0 0 3 0x14200 bored sosplice 67538 363859 8375 0 3 0x82 nanoslp syz-executor 3327 102374 8375 0 3 0x82 nanoslp syz-executor 74658 259470 8375 0 3 0x82 nanoslp syz-executor 54938 19703 8375 0 3 0x82 nanoslp syz-executor 58519 259182 8375 0 3 0x82 nanoslp syz-executor 94170 314562 8375 0 3 0x82 nanoslp syz-executor 41060 485193 8375 0 3 0x82 nanoslp syz-executor 8375 175486 52897 0 3 0x82 kqread syz-executor 52897 127415 15920 0 3 0x10008a sigsusp ksh 15920 410019 17173 0 3 0x98 kqread sshd-session 17173 271776 79328 0 3 0x92 kqread sshd-session 79328 278023 1 0 3 0x88 kqread sshd 93082 86770 2381 73 3 0x1100090 kqread syslogd 2381 243936 1 0 3 0x100082 sbwait syslogd 17976 497021 1 0 3 0x100080 kqread resolvd 40944 236906 68338 77 3 0x100092 kqread dhcpleased 85626 197653 68338 77 3 0x100092 kqread dhcpleased 68338 502419 1 0 3 0x80 kqread dhcpleased 74682 60816 0 0 3 0x14200 bored smr 84280 77962 0 0 2 0x14200 zerothread 67881 257950 0 0 3 0x14200 aiodoned aiodoned 17262 466547 0 0 3 0x14200 syncer update 17003 73097 0 0 3 0x14200 cleaner cleaner 64840 425565 0 0 3 0x14200 reaper reaper 6044 482539 0 0 3 0x14200 pgdaemon pagedaemon 82762 386356 0 0 3 0x14200 bored viomb 93811 411409 0 0 3 0x40014200 acpi0 acpi0 15217 8093 0 0 3 0x14200 bored softnet3 62247 405004 0 0 3 0x14200 bored softnet2 10522 201549 0 0 3 0x14200 bored softnet1 83925 113365 0 0 3 0x14200 bored softnet0 80505 254884 0 0 3 0x14200 bored systqmp 44417 104714 0 0 3 0x14200 bored systq 88017 184271 0 0 3 0x40014200 tmoslp softclock 85866 121730 0 0 3 0x40014200 idle0 1 43720 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 10206 11063K 11370K 166960K 11953 0 pcb 18 16K 18K 166960K 160 0 rtable 213 6K 7K 166960K 427 0 pf 31 13K 14K 166960K 42 0 ifaddr 41 7K 7K 166960K 52 0 ifgroup 50 2K 2K 166960K 59 0 sysctl 4 1K 2K 166960K 5 0 counters 30 17K 17K 166960K 32 0 ioctlops 0 0K 4K 166960K 103 0 iov 0 0K 20K 166960K 25 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1368 86K 86K 166960K 1717 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 6K 166960K 10 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 19 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 18 65K 97K 166960K 593 0 sigio 0 0K 0K 166960K 17 0 proc 60 59K 124K 166960K 536 0 subproc 104 6K 6K 166960K 117 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 49 0 in_multi 96 7K 7K 166960K 146 0 ether_multi 1 0K 0K 166960K 10 0 mrt 1 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 253 1129K 1129K 166960K 253 0 exec 0 0K 1K 166960K 525 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 241 73K 77K 166960K 7145 0 UVM aobj 11 2K 2K 166960K 12 0 pinsyscall 39 78K 96K 166960K 1651 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 16 0 NDP 11 0K 2K 166960K 34 0 temp 75 6820K 6939K 166960K 19019 0 kqueue 13 20K 30K 166960K 105 0 SYN cache 2 8K 16K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 68 0 65 1 0 1 1 0 8 0 rtentry 112 131 0 33 4 0 4 4 0 8 0 unpcb 144 307 0 292 2 1 1 2 0 8 0 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 808 159 0 154 8 7 1 8 0 8 0 arp 88 22 0 3 1 0 1 1 0 8 0 ipq 40 2 0 1 2 1 1 1 0 8 0 ipqe 40 5 0 2 2 1 1 1 0 8 0 inpcb 336 945 0 935 25 16 9 15 0 8 8 nd6 104 29 0 5 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 3 0 1 1 0 1 1 0 8 0 pfstate 344 2 0 1 1 0 1 1 0 8 0 pfrule 1344 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 560 0 134 32 2 30 30 0 8 2 art_table 32 561 0 134 4 0 4 4 0 8 0 art_node 16 129 0 41 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 4 1 0 1 1 0 8 0 semapl 112 16 0 6 1 0 1 1 0 8 0 shmpl 112 9 0 1 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2364 0 865 95 0 95 95 0 8 0 ffsino 240 2364 0 865 89 0 89 89 0 8 0 nchpl 144 3208 0 1528 63 0 63 63 0 8 0 uvmvnodes 80 2671 0 0 55 0 55 55 0 8 0 vnodes 216 2671 0 0 149 0 149 149 0 8 0 namei 1024 10951 0 10951 3 2 1 2 0 8 1 kstatmem 264 26 0 4 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 9991 0 9991 9 7 2 8 1 8 2 plimitpl 152 167 0 151 1 0 1 1 0 8 0 sigapl 424 898 0 831 8 0 8 8 0 8 0 futexpl 64 7203 0 7198 1 0 1 1 0 8 0 knotepl 120 21712 0 21665 25 15 10 17 0 8 8 kqueuepl 184 182 0 173 3 2 1 3 0 8 0 pipepl 288 243 0 216 9 4 5 7 0 8 2 fdescpl 432 857 0 827 5 1 4 5 0 8 0 filepl 120 5453 0 5208 16 4 12 13 0 8 3 lockfpl 104 159 0 156 1 0 1 1 0 8 0 lockfspl 48 69 0 66 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 40 0 24 1 0 1 1 0 8 0 ucredpl 104 861 0 849 1 0 1 1 0 8 0 zombiepl 144 997 0 995 1 0 1 1 0 8 0 processpl 1096 898 0 831 5 0 5 5 0 8 0 procpl 648 1654 0 1577 8 0 8 8 0 8 0 sockpl 504 1328 0 1301 40 28 12 25 0 8 7 mcl64k 65536 43 0 42 1 0 1 1 0 8 0 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 11 0 11 2 1 1 1 0 8 1 mcl4k 4096 3301 0 3252 15 8 7 15 0 8 0 mcl2k 2048 691 0 687 4 2 2 3 0 8 0 mtagpl 96 18 0 6 1 0 1 1 0 8 0 mbufpl 256 9778 0 9558 35 11 24 34 0 8 8 bufpl 280 3526 0 97 245 0 245 245 0 8 0 anonpl 24 213063 0 208685 35 2 33 33 0 187 6 amapchunkpl 152 23776 0 23232 26 0 26 26 0 158 4 amappl16 200 5805 0 5713 7 2 5 5 0 8 0 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 118 0 108 1 0 1 1 0 8 0 amappl13 176 15 0 15 1 1 0 1 0 8 0 amappl12 168 1494 0 1464 3 1 2 3 0 8 0 amappl11 160 53 0 43 1 0 1 1 0 8 0 amappl10 152 12 0 11 1 0 1 1 0 8 0 amappl9 144 129 0 129 1 1 0 1 0 8 0 amappl8 136 38 0 37 1 0 1 1 0 8 0 amappl7 128 99 0 89 1 0 1 1 0 8 0 amappl6 120 172 0 170 1 0 1 1 0 8 0 amappl5 112 134 0 126 1 0 1 1 0 8 0 amappl4 104 304 0 288 1 0 1 1 0 8 0 amappl3 96 4332 0 4228 3 0 3 3 0 8 0 amappl2 88 1138 0 1060 2 0 2 2 0 8 0 amappl1 80 8861 0 8343 14 2 12 13 0 8 0 amappl 88 6761 0 6574 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 dma512 512 1 0 1 1 0 1 1 0 8 1 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 11 0 1 1 0 1 1 0 8 0 uaddrrnd 24 857 0 827 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 857 0 827 1 0 1 1 0 8 0 vmmpekpl 168 8548 0 8513 3 0 3 3 0 8 1 vmmpepl 168 61129 0 59263 84 0 84 84 0 357 2 vmsppl 352 856 0 827 4 1 3 4 0 8 0 rwobjpl 24 23882 0 20264 22 0 22 22 0 8 0 pdppl 4096 1721 0 1654 105 36 69 83 0 8 2 pvpl 32 441486 0 431706 99 4 95 95 0 265 16 pmappl 216 856 0 827 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 473 0 120 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff8000376096f0,ffff80002f3ebad0,ffff80002f3eba20) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff8000376096f0,ffff80002f3ebad0,ffff80002f3eba20) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80002f3ebad0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x513b35cd6b0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff8000376096f0,ffff80002f3ebad0,ffff80002f3eba20) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff8000376096f0,ffff80002f3ebad0,ffff80002f3eba20) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80002f3ebad0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x513b35cd6b0, count: -3