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(ffff80002a4d11f8,ffff8000341fd710,ffff8000341fd660) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a4d11f8,ffff8000341fd710,ffff8000341fd660) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000341fd710) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf86bc061f0, count: -3 ddb> show registers rdi 0 rsi 0x20001208 rbp 0xffff8000341fd630 rbx 0 rdx 0 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x243cfa45f26f88ee r11 0x32d2b537211ba0cb r12 0xfffffd80780b5e38 r13 0xdeafbeaddeafbead r14 0xffff8000012b3b00 r15 0xa rip 0xffffffff81e4ee42 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000341fd590 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=275890 pid=56994 tcnt=4 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=0xffff80002a4d1480,0xffff80002a4d0f80 process=0xffff8000ffffb370 user=0xffff8000341f8000, vmspace=0xfffffd807b3af590 estcpu=32, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 38460 463386 36715 0 2 0 syz-executor 38460 109956 36715 0 3 0x4000080 msgwait syz-executor 72864 412216 97116 0 2 0 syz-executor 72864 347748 97116 0 3 0x4000080 fsleep syz-executor 72864 300291 97116 0 3 0x4000080 fsleep syz-executor 89251 347977 88685 0 2 0 syz-executor 89251 132338 88685 0 3 0x4000080 fsleep syz-executor 17390 56157 80029 0 2 0 syz-executor 17390 406768 80029 0 3 0x4000080 fsleep syz-executor 90303 436977 17650 0 2 0 syz-executor 90303 21660 17650 0 3 0x4000080 ttyout syz-executor 90303 248887 17650 0 3 0x4000080 ttyout syz-executor 56994 92954 28824 0 2 0 syz-executor *56994 275890 28824 0 7 0x4000000 syz-executor 56994 172518 28824 0 3 0x4000080 fsleep syz-executor 56994 499648 28824 0 2 0x4000000 syz-executor 17650 295790 80366 0 3 0x82 nanoslp syz-executor 96392 523997 1 0 3 0x100083 ttyin getty 75265 10697 0 0 3 0x14200 acct acct 50816 325435 0 0 3 0x14200 bored sosplice 30057 436649 0 0 3 0x14280 nfsidl nfsio 42861 310148 0 0 3 0x14280 nfsidl nfsio 28825 156909 0 0 3 0x14280 nfsidl nfsio 51308 371479 0 0 3 0x14280 nfsidl nfsio 65271 475328 0 0 3 0x14280 nfsidl nfsio 42838 51720 0 0 3 0x14280 nfsidl nfsio 6605 485405 0 0 3 0x14280 nfsidl nfsio 48417 262757 0 0 3 0x14280 nfsidl nfsio 23824 476661 0 0 3 0x14280 nfsidl nfsio 31276 353700 0 0 3 0x14280 nfsidl nfsio 36235 504846 0 0 3 0x14280 nfsidl nfsio 28374 48899 0 0 3 0x14280 nfsidl nfsio 71602 450034 0 0 3 0x14280 nfsidl nfsio 92064 304102 0 0 3 0x14280 nfsidl nfsio 42980 54223 0 0 3 0x14280 nfsidl nfsio 39076 69533 0 0 3 0x14280 nfsidl nfsio 17709 360681 0 0 3 0x14280 nfsidl nfsio 69957 502481 0 0 3 0x14280 nfsidl nfsio 4306 48217 0 0 3 0x14280 nfsidl nfsio 8145 207898 0 0 3 0x14280 nfsidl nfsio 36715 23284 80366 0 3 0x82 nanoslp syz-executor 36318 371940 80366 0 2 0x2 syz-executor 80029 131844 80366 0 3 0x82 nanoslp syz-executor 55154 369336 80366 0 3 0x82 wait syz-executor 28824 68046 80366 0 3 0x82 nanoslp syz-executor 97116 515480 80366 0 3 0x82 nanoslp syz-executor 88685 470943 80366 0 3 0x82 nanoslp syz-executor 80366 372115 41628 0 3 0x82 kqread syz-executor 41628 215119 64971 0 3 0x10008a sigsusp ksh 64971 365275 58087 0 3 0x98 kqread sshd-session 58087 233597 65357 0 3 0x92 kqread sshd-session 65357 168529 1 0 3 0x88 kqread sshd 76323 293284 36647 73 3 0x1100090 kqread syslogd 36647 248112 1 0 3 0x100082 sbwait syslogd 42183 270506 1 0 3 0x100080 kqread resolvd 19500 53340 34253 77 3 0x100092 kqread dhcpleased 66320 166372 34253 77 3 0x100092 kqread dhcpleased 34253 342743 1 0 3 0x80 kqread dhcpleased 56191 110608 0 0 3 0x14200 bored smr 17127 478472 0 0 2 0x14200 zerothread 4107 500561 0 0 3 0x14200 aiodoned aiodoned 38483 87005 0 0 3 0x14200 syncer update 69737 168226 0 0 3 0x14200 cleaner cleaner 12406 351726 0 0 3 0x14200 reaper reaper 71846 58697 0 0 3 0x14200 pgdaemon pagedaemon 100 32524 0 0 3 0x14200 bored viomb 88030 394083 0 0 3 0x40014200 acpi0 acpi0 74931 125946 0 0 3 0x14200 bored softnet3 99032 26151 0 0 3 0x14200 bored softnet2 54143 186477 0 0 3 0x14200 bored softnet1 4819 209812 0 0 3 0x14200 bored softnet0 21133 504028 0 0 3 0x14200 bored systqmp 91796 186602 0 0 3 0x14200 bored systq 59431 288274 0 0 3 0x40014200 tmoslp softclock 54621 429810 0 0 3 0x40014200 idle0 1 337196 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 10168 11052K 11383K 166960K 12022 0 pcb 17 14K 14K 166960K 155 0 rtable 159 5K 6K 166960K 418 0 pf 26 12K 20K 166960K 65 0 ifaddr 31 5K 8K 166960K 65 0 ifgroup 38 1K 2K 166960K 85 0 sysctl 3 0K 0K 166960K 3 0 counters 27 17K 17K 166960K 41 0 ioctlops 0 0K 4K 166960K 71 0 iov 0 0K 16K 166960K 44 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1428 90K 90K 166960K 1936 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 10 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 25 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 17 61K 97K 166960K 684 0 sigio 0 0K 0K 166960K 104 0 proc 60 59K 124K 166960K 556 0 subproc 104 6K 6K 166960K 121 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 202 0 in_multi 63 4K 7K 166960K 138 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 571 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 222 72K 86K 166960K 7810 0 UVM aobj 87 3K 3K 166960K 90 0 pinsyscall 38 76K 102K 166960K 1749 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 40 0 NDP 8 0K 2K 166960K 41 0 temp 58 6815K 6890K 166960K 22391 0 kqueue 13 20K 30K 166960K 139 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 73 0 70 1 0 1 1 0 8 0 rtentry 112 129 0 58 4 0 4 4 0 8 0 unpcb 144 819 0 804 12 6 6 6 0 8 5 syncache 336 4 0 4 2 2 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 808 347 0 340 8 0 8 8 0 8 7 arp 88 23 0 8 1 0 1 1 0 8 0 ipq 40 4 0 1 1 0 1 1 0 8 0 ipqe 40 9 0 6 1 0 1 1 0 8 0 inpcb 336 1009 0 996 21 8 13 13 0 8 11 nd6 104 29 0 13 1 0 1 1 0 8 0 pkpcb 40 2 0 2 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 6 0 6 2 1 1 1 0 8 1 pfstitem 24 1 0 0 1 0 1 1 0 8 0 pfstkey 128 3 0 2 1 0 1 1 0 8 0 pfstate 344 2 0 1 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 511 0 225 29 2 27 29 0 8 5 art_table 32 513 0 225 4 0 4 4 0 8 0 art_node 16 128 0 65 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 3 1 0 1 1 0 8 0 semapl 112 23 0 13 1 0 1 1 0 8 0 shmpl 112 87 0 3 3 0 3 3 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2507 0 1008 95 0 95 95 0 8 0 ffsino 240 2507 0 1008 89 0 89 89 0 8 0 nchpl 144 3540 0 3006 63 41 22 63 0 8 0 uvmvnodes 80 3033 0 0 62 0 62 62 0 8 0 vnodes 216 3033 0 0 169 0 169 169 0 8 0 namei 1024 11548 0 11548 4 3 1 2 0 8 1 kstatmem 264 44 0 28 2 0 2 2 0 8 0 scsiplug 72 8 0 8 3 2 1 1 0 8 1 scxspl 216 10202 0 10202 10 9 1 8 1 8 1 plimitpl 152 148 0 130 1 0 1 1 0 8 0 sigapl 424 988 0 921 8 0 8 8 0 8 0 futexpl 64 8920 0 8915 1 0 1 1 0 8 0 knotepl 120 25894 0 25847 32 21 11 16 0 8 8 kqueuepl 184 201 0 192 1 0 1 1 0 8 0 pipepl 288 139 0 111 4 1 3 3 0 8 0 fdescpl 432 950 0 921 5 1 4 5 0 8 0 filepl 120 5782 0 5532 23 7 16 16 0 8 7 lockfpl 104 178 0 176 1 0 1 1 0 8 0 lockfspl 48 72 0 70 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 44 0 28 1 0 1 1 0 8 0 ucredpl 104 748 0 736 1 0 1 1 0 8 0 zombiepl 144 1019 0 1018 1 0 1 1 0 8 0 processpl 1096 988 0 921 5 0 5 5 0 8 0 procpl 648 1854 0 1777 9 1 8 8 0 8 0 sosppl 168 3 0 3 2 2 0 1 0 8 0 sockpl 504 1916 0 1886 53 32 21 30 0 8 15 mcl64k 65536 11 0 10 1 0 1 1 0 8 0 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 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 11 0 11 3 2 1 1 0 8 1 mcl4k 4096 3350 0 3296 13 5 8 13 0 8 0 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 744 0 740 3 1 2 2 0 8 1 mtagpl 96 15 0 11 1 0 1 1 0 8 0 mbufpl 256 10353 0 10185 20 6 14 17 0 8 0 bufpl 280 3235 0 102 224 0 224 224 0 8 0 anonpl 24 194528 0 191266 90 45 45 51 0 187 19 amapchunkpl 152 25583 0 25109 33 10 23 26 0 158 2 amappl16 200 5128 0 5098 40 28 12 15 0 8 8 amappl15 192 85 0 85 1 1 0 1 0 8 0 amappl14 184 116 0 106 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 1583 0 1554 3 1 2 3 0 8 0 amappl11 160 54 0 43 1 0 1 1 0 8 0 amappl10 152 15 0 15 1 1 0 1 0 8 0 amappl9 144 131 0 130 2 1 1 1 0 8 0 amappl8 136 24 0 22 1 0 1 1 0 8 0 amappl7 128 113 0 103 1 0 1 1 0 8 0 amappl6 120 175 0 173 1 0 1 1 0 8 0 amappl5 112 142 0 133 1 0 1 1 0 8 0 amappl4 104 295 0 282 1 0 1 1 0 8 0 amappl3 96 4770 0 4679 3 0 3 3 0 8 0 amappl2 88 1233 0 1156 2 0 2 2 0 8 0 amappl1 80 9238 0 8721 15 3 12 14 0 8 0 amappl 88 7376 0 7209 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 254 0 254 2 1 1 1 0 8 1 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 89 0 3 2 0 2 2 0 8 0 uaddrrnd 24 950 0 921 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 950 0 921 1 0 1 1 0 8 0 vmmpekpl 168 8663 0 8627 2 0 2 2 0 8 0 vmmpepl 168 65811 0 64073 106 20 86 89 0 357 7 vmsppl 352 949 0 921 4 1 3 4 0 8 0 rwobjpl 24 24385 0 20419 25 1 24 24 0 8 0 pdppl 4096 1906 0 1842 100 34 66 82 0 8 2 pvpl 32 452058 0 443291 171 63 108 118 0 265 29 pmappl 216 949 0 921 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 454 0 98 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a4d11f8,ffff8000341fd710,ffff8000341fd660) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a4d11f8,ffff8000341fd710,ffff8000341fd660) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000341fd710) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf86bc061f0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a4d11f8,ffff8000341fd710,ffff8000341fd660) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a4d11f8,ffff8000341fd710,ffff8000341fd660) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000341fd710) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf86bc061f0, count: -3