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(ffff80002a7f8a80,ffff80002f137240,ffff80002f137190) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7f8a80,ffff80002f137240,ffff80002f137190) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80002f137240) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f137240) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfea6f2f0790, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff80002f137170 rbx 0 rdx 0xffff8000014355c0 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x19e1f2b51c9be80b r11 0xfea3612038ec627a r12 0xfffffd806ab7aeb0 r13 0xdead4110dead4110 r14 0xffff800001590100 r15 0xa rip 0xffffffff820370c2 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002f1370d0 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=460942 pid=29073 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=83, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7f8d18,0xffff80002a8222c0 process=0xffff80002cd2f6e8 user=0xffff80002f132000, vmspace=0xfffffd807922f468 estcpu=33, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 18557 169620 13839 0 2 0 syz-executor 18557 259893 13839 0 2 0x4000000 syz-executor 96838 140552 87360 0 2 0 syz-executor 96838 210281 87360 0 3 0x4000080 fsleep syz-executor 47573 234303 4486 0 2 0 syz-executor 47573 261283 4486 0 3 0x4000080 fsleep syz-executor 66105 339359 2478 0 2 0 syz-executor 66105 256008 2478 0 3 0x4000080 fsleep syz-executor 27570 460007 51460 0 2 0 syz-executor 27570 96124 51460 0 3 0x4000080 fsleep syz-executor 77334 51695 62274 0 2 0 syz-executor 77334 257209 62274 0 3 0x4000080 fsleep syz-executor 29073 514432 5293 0 2 0 syz-executor *29073 460942 5293 0 7 0x4000000 syz-executor 29073 191362 5293 0 3 0x4000080 fsleep syz-executor 29073 388586 5293 0 2 0x4000000 syz-executor 22361 465648 79386 0 3 0x3000 suspend syz-executor 22361 44475 79386 0 2 0x4081000 syz-executor 62274 175204 68397 0 3 0x82 nanoslp syz-executor 61243 32524 0 0 3 0x14200 acct acct 79386 395483 68397 0 3 0x82 nanoslp syz-executor 7276 273097 0 0 3 0x14200 bored sosplice 51460 516739 68397 0 3 0x82 nanoslp syz-executor 87360 433485 68397 0 3 0x82 nanoslp syz-executor 2478 128340 68397 0 3 0x82 nanoslp syz-executor 13839 315148 68397 0 3 0x82 nanoslp syz-executor 5293 44727 68397 0 3 0x82 nanoslp syz-executor 4486 121748 68397 0 3 0x82 nanoslp syz-executor 68397 458906 76318 0 3 0x82 kqread syz-executor 76318 87383 80383 0 3 0x10008a sigsusp ksh 80383 40003 5878 0 3 0x98 kqread sshd-session 5878 397899 7752 0 3 0x92 kqread sshd-session 76225 499843 1 0 3 0x100083 ttyin getty 7752 202474 1 0 3 0x88 kqread sshd 94322 63911 64865 73 3 0x1100090 kqread syslogd 64865 94190 1 0 3 0x100082 sbwait syslogd 83797 225971 1 0 3 0x100080 kqread resolvd 48928 264459 52834 77 3 0x100092 kqread dhcpleased 6884 446302 52834 77 3 0x100092 kqread dhcpleased 52834 12536 1 0 3 0x80 kqread dhcpleased 97677 212870 0 0 3 0x14200 bored smr 99618 422037 0 0 2 0x14200 zerothread 78932 140742 0 0 3 0x14200 aiodoned aiodoned 95341 414284 0 0 3 0x14200 syncer update 14240 498206 0 0 3 0x14200 cleaner cleaner 99661 485657 0 0 3 0x14200 reaper reaper 33493 474601 0 0 3 0x14200 pgdaemon pagedaemon 53382 268346 0 0 3 0x14200 bored viomb 94961 73621 0 0 3 0x40014200 acpi0 acpi0 29933 356209 0 0 3 0x14200 bored softnet7 38511 209767 0 0 3 0x14200 bored softnet6 85722 467733 0 0 3 0x14200 bored softnet5 84882 498869 0 0 3 0x14200 bored softnet4 13984 141011 0 0 3 0x14200 bored softnet3 29946 403968 0 0 3 0x14200 bored softnet2 82033 270165 0 0 3 0x14200 bored softnet1 49044 107782 0 0 3 0x14200 bored softnet0 25593 427907 0 0 3 0x14200 bored systqmp 72506 199318 0 0 3 0x14200 bored systq 54046 149478 0 0 3 0x40014200 tmoslp softclock 2878 145438 0 0 3 0x40014200 idle0 1 315109 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 10215 11182K 11312K 166960K 12694 0 pcb 17 15K 17K 166960K 246 0 rtable 195 7K 7K 166960K 410 0 pf 30 13K 16K 166960K 116 0 ifaddr 40 7K 8K 166960K 95 0 ifgroup 49 2K 2K 166960K 153 0 sysctl 4 1K 9K 166960K 14 0 counters 31 17K 18K 166960K 76 0 ioctlops 0 0K 4K 166960K 260 0 iov 0 0K 16K 166960K 117 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1399 88K 89K 166960K 2327 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 13 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 39 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 85K 166960K 908 0 sigio 0 0K 0K 166960K 78 0 proc 60 59K 91K 166960K 656 0 subproc 72 4K 4K 166960K 99 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 311 0 in_multi 88 6K 7K 166960K 167 0 ether_multi 1 0K 0K 166960K 13 0 mrt 1 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 235 1049K 1049K 166960K 235 0 exec 0 0K 1K 166960K 566 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 231 152K 167K 166960K 9630 0 UVM aobj 24 6K 6K 166960K 27 0 pinsyscall 39 78K 90K 166960K 2023 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 42 0 NDP 10 0K 2K 166960K 64 0 temp 58 8639K 8715K 166960K 31133 0 kqueue 13 20K 31K 166960K 193 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 92 0 89 1 0 1 1 0 8 0 rtentry 136 141 0 62 4 0 4 4 0 8 0 unpcb 144 794 0 779 4 0 4 4 0 8 3 syncache 336 6 0 6 2 1 1 1 0 8 1 tcpqe 32 3 0 3 1 0 1 1 0 8 1 tcpcb 736 290 0 282 7 0 7 7 0 8 5 arp 88 15 0 5 1 0 1 1 0 8 0 ipq 40 4 0 2 1 0 1 1 0 8 0 ipqe 40 9 0 7 1 0 1 1 0 8 0 inpcb 328 965 0 954 7 0 7 7 0 8 5 ip6q 72 3 0 1 1 0 1 1 0 8 0 ip6af 40 4 0 3 1 0 1 1 0 8 0 nd6 104 25 0 10 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 31 0 31 2 1 1 1 0 8 1 pppxif 1384 5 0 5 2 1 1 1 0 8 1 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 2 1 0 1 1 0 8 1 pfstate 384 1 0 1 1 0 1 1 0 8 1 pfrule 1344 3 0 2 2 1 1 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 637 0 259 28 0 28 28 0 8 4 art_table 40 640 0 259 5 0 5 5 0 8 0 art_node 32 141 0 72 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 8 1 0 1 1 0 8 0 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 112 33 0 23 1 0 1 1 0 8 0 shmpl 112 24 0 3 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 3160 0 1662 95 0 95 95 0 8 0 ffsino 256 3160 0 1662 95 0 95 95 0 8 0 nchpl 144 4437 0 2751 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 uvmvnodes 80 3754 0 0 77 0 77 77 0 8 0 vnodes 216 3754 0 0 209 0 209 209 0 8 0 namei 1024 15079 0 15078 3 2 1 2 0 8 0 kstatmem 264 84 0 64 2 0 2 2 0 8 0 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 15851 0 15851 15 7 8 8 1 8 8 plimitpl 152 212 0 195 1 0 1 1 0 8 0 sigapl 424 1189 0 1137 7 1 6 7 0 8 0 knotepl 120 32625 0 32578 10 0 10 10 0 8 8 kqueuepl 184 325 0 315 2 0 2 2 0 8 1 pipepl 304 380 0 353 12 5 7 8 0 8 4 fdescpl 448 1166 0 1136 4 0 4 4 0 8 0 filepl 120 7779 0 7570 20 5 15 15 0 8 7 lockfpl 104 430 0 428 2 1 1 2 0 8 0 lockfspl 48 206 0 204 1 0 1 1 0 8 0 sessionpl 144 27 0 19 1 0 1 1 0 8 0 pgrppl 48 44 0 28 1 0 1 1 0 8 0 ucredpl 104 1439 0 1427 1 0 1 1 0 8 0 zombiepl 144 1592 0 1591 3 2 1 1 0 8 0 processpl 1168 1189 0 1137 4 0 4 4 0 8 0 procpl 664 2455 0 2393 7 0 7 7 0 8 1 sosppl 168 7 0 7 1 0 1 1 0 8 1 sockpl 552 1938 0 1909 11 1 10 10 0 8 6 mcl64k 65536 64 0 64 2 1 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 14 0 14 2 1 1 1 0 8 1 mcl4k 4096 3477 0 3425 17 9 8 16 0 8 0 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 1302 0 1300 4 1 3 3 0 8 2 mtagpl 96 17 0 13 2 1 1 1 0 8 0 mbufpl 256 12593 0 12454 14 1 13 13 0 8 0 bufpl 280 5524 0 134 385 0 385 385 0 8 0 anonpl 24 169513 0 165882 58 13 45 45 0 187 10 amapchunkpl 152 39311 0 38807 42 6 36 36 0 158 16 amappl16 200 2365 0 2308 20 8 12 15 0 8 8 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 114 0 104 1 0 1 1 0 8 0 amappl13 176 3 0 2 1 0 1 1 0 8 0 amappl12 168 1820 0 1790 2 0 2 2 0 8 0 amappl11 160 42 0 32 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 257 0 257 1 1 0 1 0 8 0 amappl8 136 20 0 18 1 0 1 1 0 8 0 amappl7 128 102 0 92 1 0 1 1 0 8 0 amappl6 120 198 0 195 1 0 1 1 0 8 0 amappl5 112 125 0 118 1 0 1 1 0 8 0 amappl4 104 298 0 282 1 0 1 1 0 8 0 amappl3 96 6301 0 6185 4 0 4 4 0 8 1 amappl2 88 670 0 613 2 0 2 2 0 8 0 amappl1 80 11994 0 11435 15 1 14 14 0 8 1 amappl 88 8793 0 8626 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 256 0 256 3 2 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 21 0 20 1 0 1 1 0 8 0 aobjpl 72 26 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1166 0 1136 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1166 0 1136 1 0 1 1 0 8 0 vmmpekpl 168 11292 0 11257 3 0 3 3 0 8 0 vmmpepl 168 77679 0 75740 101 5 96 96 0 357 9 vmsppl 368 1165 0 1136 4 1 3 4 0 8 0 rwobjpl 40 25159 0 20488 50 1 49 49 0 8 0 pdppl 4096 2338 0 2272 114 48 66 76 0 8 0 pvpl 32 491506 0 482671 127 16 111 111 0 265 18 pmappl 216 1165 0 1136 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 405 0 67 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a7f8a80,ffff80002f137240,ffff80002f137190) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7f8a80,ffff80002f137240,ffff80002f137190) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80002f137240) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f137240) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfea6f2f0790, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a7f8a80,ffff80002f137240,ffff80002f137190) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7f8a80,ffff80002f137240,ffff80002f137190) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80002f137240) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f137240) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfea6f2f0790, count: -3