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(ffff8000376147c8,ffff8000327f1190,ffff8000327f10e0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff8000376147c8,ffff8000327f1190,ffff8000327f10e0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000327f1190) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5809a0339c0, count: -3 ddb> show registers rdi 0 rsi 0x20001208 rbp 0xffff8000327f10b0 rbx 0 rdx 0xffff80000125f700 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x5ee815d12aa64df5 r11 0xf05d47fe5a2de091 r12 0xfffffd806c89ae60 r13 0xdead4110dead4110 r14 0xffff8000012b7e00 r15 0xa rip 0xffffffff828cf172 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000327f1010 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=413336 pid=46101 tcnt=5 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=80, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800037614a50,0xffff800037614040 process=0xffff800037672f38 user=0xffff8000327ec000, vmspace=0xfffffd806c941010 estcpu=30, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 90491 294100 80757 0 2 0 syz-executor 90491 242797 80757 0 3 0x4000080 fsleep syz-executor 76704 475094 17512 0 2 0 syz-executor 76704 148718 17512 0 3 0x4000080 fsleep syz-executor 76704 244149 17512 0 3 0x4000080 fsleep syz-executor 76704 215561 17512 0 3 0x4000080 fsleep syz-executor 419 189814 64561 0 2 0 syz-executor 419 102366 64561 0 3 0x4000080 fsleep syz-executor 71419 56962 11842 0 2 0 syz-executor 71419 157056 11842 0 3 0x4000080 fsleep syz-executor 31718 335876 99680 0 2 0 syz-executor 31718 154700 99680 0 3 0x4000080 fsleep syz-executor 73551 87653 82274 0 2 0 syz-executor 73551 266577 82274 0 2 0x4000000 syz-executor 73551 112709 82274 0 3 0x4000080 fsleep syz-executor 41045 375932 12908 0 2 0 syz-executor 41045 381150 12908 0 3 0x4000080 fsleep syz-executor 41045 312681 12908 0 2 0x4000000 syz-executor 46101 115077 95210 0 2 0 syz-executor *46101 413336 95210 0 7 0x4000000 syz-executor 46101 171319 95210 0 2 0x4000000 syz-executor 46101 501286 95210 0 3 0x4000000 futex syz-executor 46101 319191 95210 0 2 0x4000000 syz-executor 46475 74062 0 0 3 0x14280 nfsidl nfsio 35962 193068 0 0 3 0x14280 nfsidl nfsio 67314 461333 0 0 3 0x14280 nfsidl nfsio 64708 222986 0 0 3 0x14280 nfsidl nfsio 30029 145860 0 0 3 0x14280 nfsidl nfsio 67527 165279 0 0 3 0x14280 nfsidl nfsio 56580 66578 0 0 3 0x14280 nfsidl nfsio 17592 290142 0 0 3 0x14280 nfsidl nfsio 25940 20966 0 0 3 0x14280 nfsidl nfsio 98031 403951 0 0 3 0x14280 nfsidl nfsio 4470 175545 0 0 3 0x14280 nfsidl nfsio 84174 393941 0 0 3 0x14280 nfsidl nfsio 54124 271654 0 0 3 0x14280 nfsidl nfsio 18412 176175 0 0 3 0x14280 nfsidl nfsio 13475 197613 0 0 3 0x14280 nfsidl nfsio 1491 212115 0 0 3 0x14280 nfsidl nfsio 8193 352051 0 0 3 0x14280 nfsidl nfsio 6990 186810 0 0 3 0x14280 nfsidl nfsio 93912 389908 0 0 3 0x14280 nfsidl nfsio 3843 313466 0 0 3 0x14280 nfsidl nfsio 82274 42164 51308 0 3 0x82 nanoslp syz-executor 46278 35589 0 0 3 0x14200 bored sosplice 99680 448640 51308 0 3 0x82 nanoslp syz-executor 11842 472564 51308 0 3 0x82 nanoslp syz-executor 80757 379301 51308 0 3 0x82 nanoslp syz-executor 64561 184263 51308 0 3 0x82 nanoslp syz-executor 17512 106382 51308 0 3 0x82 nanoslp syz-executor 95210 329529 51308 0 3 0x82 nanoslp syz-executor 12908 209003 51308 0 3 0x82 nanoslp syz-executor 51308 37692 61603 0 3 0x82 kqread syz-executor 61603 452397 41953 0 3 0x10008a sigsusp ksh 41953 393992 42192 0 3 0x98 kqread sshd-session 42192 190276 130 0 3 0x92 kqread sshd-session 86361 109429 1 0 3 0x100083 ttyin getty 130 515586 1 0 3 0x88 kqread sshd 68917 175935 80623 73 3 0x1100090 kqread syslogd 80623 61271 1 0 3 0x100082 sbwait syslogd 4095 47250 1 0 3 0x100080 kqread resolvd 87540 494192 67310 77 3 0x100092 kqread dhcpleased 3020 515985 67310 77 3 0x100092 kqread dhcpleased 67310 62468 1 0 3 0x80 kqread dhcpleased 28091 401975 0 0 3 0x14200 bored smr 87201 427501 0 0 2 0x14200 zerothread 99646 299568 0 0 3 0x14200 aiodoned aiodoned 49280 216259 0 0 3 0x14200 syncer update 99688 158990 0 0 3 0x14200 cleaner cleaner 61590 63355 0 0 3 0x14200 reaper reaper 9657 197329 0 0 3 0x14200 pgdaemon pagedaemon 20458 142190 0 0 3 0x14200 bored viomb 57381 466603 0 0 3 0x40014200 acpi0 acpi0 89283 333160 0 0 3 0x14200 bored softnet3 50382 271981 0 0 3 0x14200 bored softnet2 84914 164898 0 0 3 0x14200 bored softnet1 519 124836 0 0 3 0x14200 bored softnet0 16543 326326 0 0 3 0x14200 bored systqmp 12916 395260 0 0 3 0x14200 bored systq 62063 198403 0 0 3 0x40014200 tmoslp softclock 17602 272254 0 0 3 0x40014200 idle0 1 227568 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 10171 11040K 11301K 166960K 11807 0 pcb 17 12K 12K 166960K 70 0 rtable 191 6K 7K 166960K 421 0 pf 33 13K 16K 166960K 47 0 ifaddr 36 6K 7K 166960K 57 0 ifgroup 50 2K 2K 166960K 67 0 counters 30 17K 17K 166960K 35 0 ioctlops 0 0K 4K 166960K 58 0 iov 0 0K 16K 166960K 26 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1428 90K 90K 166960K 1700 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 12 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 18 65K 97K 166960K 412 0 sigio 0 0K 0K 166960K 4 0 proc 60 59K 124K 166960K 535 0 subproc 104 6K 6K 166960K 118 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 42 0 in_multi 77 5K 7K 166960K 132 0 ether_multi 1 0K 0K 166960K 3 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 462 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 235 72K 82K 166960K 5232 0 UVM aobj 14 3K 3K 166960K 16 0 pinsyscall 39 78K 96K 166960K 1456 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 12 0 NDP 11 0K 2K 166960K 36 0 temp 47 6812K 6891K 166960K 8328 0 kqueue 13 20K 28K 166960K 74 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 65 0 62 1 0 1 1 0 8 0 rtentry 112 131 0 44 4 0 4 4 0 8 0 unpcb 144 336 0 317 6 0 6 6 0 8 5 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 808 160 0 155 7 0 7 7 0 8 6 arp 88 23 0 9 1 0 1 1 0 8 0 ipq 40 2 0 1 1 0 1 1 0 8 0 ipqe 40 46 0 45 1 0 1 1 0 8 0 inpcb 336 403 0 394 7 0 7 7 0 8 5 nd6 104 29 0 11 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 2 0 2 1 0 1 1 0 8 1 pfstscr 40 2 0 2 1 0 1 1 0 8 1 pfstkey 128 2 0 2 2 1 1 1 0 8 1 pfstate 344 2 0 2 2 1 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 516 0 151 30 3 27 29 0 8 2 art_table 32 517 0 151 4 0 4 4 0 8 0 art_node 16 129 0 53 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 3 1 0 1 1 0 8 0 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 13 0 2 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2080 0 584 95 0 95 95 0 8 0 ffsino 240 2080 0 584 89 0 89 89 0 8 0 nchpl 144 2667 0 989 63 0 63 63 0 8 0 uvmvnodes 80 2384 0 0 49 0 49 49 0 8 0 vnodes 216 2384 0 0 133 0 133 133 0 8 0 namei 1024 8531 0 8530 1 0 1 1 0 8 0 kstatmem 264 32 0 10 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 7459 0 7459 5 1 4 4 1 8 4 plimitpl 152 67 0 49 1 0 1 1 0 8 0 sigapl 424 709 0 642 9 1 8 8 0 8 0 futexpl 64 4459 0 4449 1 0 1 1 0 8 0 knotepl 120 12812 0 12765 17 7 10 10 0 8 8 kqueuepl 184 101 0 92 1 0 1 1 0 8 0 pipepl 288 121 0 94 4 1 3 3 0 8 0 fdescpl 432 672 0 642 5 1 4 5 0 8 0 filepl 120 3613 0 3368 13 0 13 13 0 8 3 lockfpl 104 108 0 106 1 0 1 1 0 8 0 lockfspl 48 42 0 40 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 104 545 0 534 1 0 1 1 0 8 0 zombiepl 144 750 0 750 1 0 1 1 0 8 1 processpl 1096 709 0 642 5 0 5 5 0 8 0 procpl 648 1147 0 1065 8 0 8 8 0 8 0 sockpl 504 812 0 781 22 9 13 21 0 8 8 mcl64k 65536 5 0 5 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 13 0 13 2 1 1 1 0 8 1 mcl4k 4096 2854 0 2801 18 10 8 17 0 8 1 mcl2k 2048 578 0 575 4 2 2 3 0 8 1 mtagpl 96 14 0 11 1 0 1 1 0 8 0 mbufpl 256 8666 0 8521 24 4 20 22 0 8 8 bufpl 280 2716 0 103 187 0 187 187 0 8 0 anonpl 24 197402 0 194107 56 10 46 46 0 187 19 amapchunkpl 152 18228 0 17709 35 8 27 29 0 158 6 amappl16 200 5384 0 5360 26 15 11 15 0 8 8 amappl15 192 13 0 13 1 1 0 1 0 8 0 amappl14 184 118 0 108 1 0 1 1 0 8 0 amappl13 176 29 0 29 1 1 0 1 0 8 0 amappl12 168 1295 0 1265 3 1 2 3 0 8 0 amappl11 160 53 0 43 1 0 1 1 0 8 0 amappl10 152 16 0 16 2 1 1 1 0 8 1 amappl9 144 165 0 165 1 1 0 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 103 0 93 1 0 1 1 0 8 0 amappl6 120 245 0 244 1 0 1 1 0 8 0 amappl5 112 142 0 133 1 0 1 1 0 8 0 amappl4 104 290 0 273 1 0 1 1 0 8 0 amappl3 96 3081 0 2984 3 0 3 3 0 8 0 amappl2 88 940 0 863 2 0 2 2 0 8 0 amappl1 80 8227 0 7707 14 2 12 13 0 8 0 amappl 88 4850 0 4669 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 15 0 2 1 0 1 1 0 8 0 uaddrrnd 24 672 0 642 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 672 0 642 1 0 1 1 0 8 0 vmmpekpl 168 6525 0 6489 2 0 2 2 0 8 0 vmmpepl 168 50256 0 48467 88 0 88 88 0 357 7 vmsppl 352 671 0 642 4 1 3 4 0 8 0 rwobjpl 24 20999 0 17746 21 0 21 21 0 8 0 pdppl 4096 1350 0 1284 102 34 68 82 0 8 2 pvpl 32 379073 0 370315 129 19 110 110 0 265 28 pmappl 216 671 0 642 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 416 0 67 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff8000376147c8,ffff8000327f1190,ffff8000327f10e0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff8000376147c8,ffff8000327f1190,ffff8000327f10e0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000327f1190) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5809a0339c0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff8000376147c8,ffff8000327f1190,ffff8000327f10e0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff8000376147c8,ffff8000327f1190,ffff8000327f10e0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000327f1190) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5809a0339c0, count: -3