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(ffff80002a47b6f0,ffff80002d9e3480,ffff80002d9e33d0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a47b6f0,ffff80002d9e3480,ffff80002d9e33d0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80002d9e3480) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x90b5b8ed30, count: -3 ddb> show registers rdi 0 rsi 0x20001208 rbp 0xffff80002d9e33a0 rbx 0 rdx 0xffff80000128a580 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x20d0f4efec85f025 r11 0x6e76148fe325f306 r12 0xfffffd8075ae5f50 r13 0xdeafbeaddeafbead r14 0xffff8000012b0500 r15 0xa rip 0xffffffff82b95042 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002d9e3300 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=356572 pid=5060 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=0xffff80002a47a2b0,0xffff80002a47b1f0 process=0xffff8000ffffa6a0 user=0xffff80002d9de000, vmspace=0xfffffd806bfc6178 estcpu=32, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 55693 374052 55367 0 2 0 syz-executor 55693 257133 55367 0 3 0x4000080 fsleep syz-executor 74286 362240 72124 0 2 0 syz-executor 74286 523521 72124 0 3 0x4000080 fsleep syz-executor 61787 499819 18476 0 2 0 syz-executor 61787 521596 18476 0 3 0x4000080 fsleep syz-executor 40096 242216 18958 60928 2 0x10 syz-executor 40096 191742 18958 60928 3 0x4000010 netlock syz-executor 62469 376849 31542 0 2 0 syz-executor 62469 492048 31542 0 3 0x4000080 fsleep syz-executor 65287 182593 49736 0 2 0 syz-executor 65287 269201 49736 0 2 0x4000000 syz-executor 5060 46154 76057 0 2 0 syz-executor * 5060 356572 76057 0 7 0x4000000 syz-executor 5060 6432 76057 0 3 0x4000000 futex syz-executor 5060 461200 76057 0 2 0x4000000 syz-executor 55795 10386 97681 0 2 0 syz-executor 55795 519842 97681 0 2 0x4000000 syz-executor 55795 484229 97681 0 2 0x4000000 syz-executor 26439 433194 0 0 3 0x14200 bored sosplice 76057 31644 95947 0 3 0x82 nanoslp syz-executor 18476 208291 95947 0 3 0x82 nanoslp syz-executor 18958 386375 95947 0 3 0x82 nanoslp syz-executor 49736 38394 95947 0 3 0x82 nanoslp syz-executor 55367 401858 95947 0 3 0x82 nanoslp syz-executor 72124 222200 95947 0 3 0x82 nanoslp syz-executor 97681 455162 95947 0 3 0x82 nanoslp syz-executor 31542 502996 95947 0 3 0x82 nanoslp syz-executor 95947 99524 92208 0 3 0x82 kqread syz-executor 92208 168494 60667 0 3 0x10008a sigsusp ksh 60667 441605 56954 0 3 0x98 kqread sshd-session 56954 19160 75311 0 3 0x92 kqread sshd-session 27984 369177 1 0 3 0x100083 ttyin getty 75311 89484 1 0 3 0x88 kqread sshd 28123 464088 47632 73 3 0x1100090 kqread syslogd 47632 1148 1 0 3 0x100082 sbwait syslogd 2338 199455 1 0 3 0x100080 kqread resolvd 42425 212986 13766 77 3 0x100092 kqread dhcpleased 69690 408577 13766 77 3 0x100092 kqread dhcpleased 13766 67226 1 0 3 0x80 kqread dhcpleased 10532 203511 0 0 3 0x14200 bored smr 57447 327116 0 0 2 0x14200 zerothread 85764 146335 0 0 3 0x14200 aiodoned aiodoned 66491 212156 0 0 3 0x14200 syncer update 88622 66171 0 0 3 0x14200 cleaner cleaner 79066 461275 0 0 3 0x14200 reaper reaper 35690 346917 0 0 3 0x14200 pgdaemon pagedaemon 88008 518532 0 0 3 0x14200 bored viomb 78362 344102 0 0 3 0x40014200 acpi0 acpi0 32143 520698 0 0 3 0x14200 bored softnet3 10673 409548 0 0 3 0x14200 bored softnet2 24789 383613 0 0 3 0x14200 bored softnet1 39828 441165 0 0 3 0x14200 bored softnet0 77300 57679 0 0 3 0x14200 bored systqmp 65653 488961 0 0 3 0x14200 bored systq 37442 137531 0 0 3 0x40014200 netlock softclock 75760 474319 0 0 3 0x40014200 idle0 1 500632 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 10204 11170K 11367K 166960K 11650 0 pcb 18 13K 14K 166960K 98 0 rtable 219 6K 7K 166960K 380 0 pf 28 12K 13K 166960K 38 0 ifaddr 38 6K 7K 166960K 48 0 ifgroup 46 2K 2K 166960K 58 0 sysctl 2 0K 0K 166960K 2 0 counters 29 17K 17K 166960K 34 0 ioctlops 0 0K 4K 166960K 45 0 iov 0 0K 16K 166960K 22 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1396 88K 88K 166960K 1614 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 16 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 18 65K 97K 166960K 394 0 sigio 0 0K 0K 166960K 4 0 proc 60 59K 116K 166960K 498 0 subproc 104 6K 6K 166960K 104 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 176 0 in_multi 88 6K 7K 166960K 111 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 229 1023K 1023K 166960K 229 0 exec 0 0K 1K 166960K 370 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 226 72K 90K 166960K 5266 0 UVM aobj 10 2K 2K 166960K 10 0 pinsyscall 39 78K 96K 166960K 1407 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 10 0 NDP 10 0K 2K 166960K 31 0 temp 45 6812K 6876K 166960K 15885 0 kqueue 13 20K 26K 166960K 64 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 52 0 49 1 0 1 1 0 8 0 rtentry 112 118 0 17 4 0 4 4 0 8 0 unpcb 144 175 0 159 1 0 1 1 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 80 0 75 1 0 1 1 0 8 0 arp 88 19 0 3 1 0 1 1 0 8 0 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 45 0 45 1 0 1 1 0 8 1 inpcb 336 363 0 354 5 1 4 4 0 8 3 nd6 104 26 0 4 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 4 0 4 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 460 0 48 29 0 29 29 0 8 1 art_table 32 462 0 48 4 0 4 4 0 8 0 art_node 16 116 0 24 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 7 1 0 1 1 0 8 1 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 12 0 2 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 24 0 7 3 0 3 3 0 8 0 dino2pl 256 2057 0 563 95 0 95 95 0 8 0 ffsino 240 2057 0 563 89 0 89 89 0 8 0 nchpl 144 2630 0 955 63 0 63 63 0 8 0 uvmvnodes 80 2316 0 0 48 0 48 48 0 8 0 vnodes 216 2316 0 0 129 0 129 129 0 8 0 namei 1024 8264 0 8264 2 1 1 2 0 8 1 kstatmem 264 30 0 10 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 0 1 1 0 8 1 scxspl 216 7813 0 7813 10 2 8 8 1 8 8 plimitpl 152 75 0 58 1 0 1 1 0 8 0 sigapl 424 673 0 626 7 1 6 7 0 8 0 futexpl 64 4502 0 4497 1 0 1 1 0 8 0 knotepl 120 13032 0 12985 10 0 10 10 0 8 8 kqueuepl 184 94 0 85 1 0 1 1 0 8 0 pipepl 288 126 0 98 3 0 3 3 0 8 1 fdescpl 432 655 0 625 5 1 4 5 0 8 0 filepl 120 3150 0 2903 10 0 10 10 0 8 1 lockfpl 104 84 0 82 1 0 1 1 0 8 0 lockfspl 48 37 0 35 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 29 0 13 1 0 1 1 0 8 0 ucredpl 104 450 0 438 1 0 1 1 0 8 0 zombiepl 144 819 0 819 2 1 1 1 0 8 1 processpl 1096 673 0 626 4 0 4 4 0 8 0 procpl 648 1173 0 1115 7 0 7 7 0 8 1 sosppl 168 5 0 5 1 0 1 1 0 8 1 sockpl 504 603 0 574 10 1 9 9 0 8 5 mcl64k 65536 4 0 4 1 0 1 1 0 8 1 mcl8k 8192 9 0 9 2 1 1 1 0 8 1 mcl4k 4096 2998 0 2945 17 8 9 16 0 8 1 mcl2k 2048 442 0 440 2 0 2 2 0 8 1 mtagpl 96 13 0 9 1 0 1 1 0 8 0 mbufpl 256 8494 0 8324 28 7 21 27 0 8 8 bufpl 280 3804 0 99 265 0 265 265 0 8 0 anonpl 24 171348 0 168051 48 3 45 45 0 187 20 amapchunkpl 152 18567 0 18077 35 0 35 35 0 158 15 amappl16 200 4527 0 4501 18 7 11 14 0 8 8 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 150 0 140 1 0 1 1 0 8 0 amappl13 176 14 0 14 1 1 0 1 0 8 0 amappl12 168 1265 0 1235 2 0 2 2 0 8 0 amappl11 160 46 0 35 1 0 1 1 0 8 0 amappl10 152 11 0 11 1 1 0 1 0 8 0 amappl9 144 127 0 127 1 1 0 1 0 8 0 amappl8 136 24 0 22 1 0 1 1 0 8 0 amappl7 128 93 0 83 1 0 1 1 0 8 0 amappl6 120 163 0 162 1 0 1 1 0 8 0 amappl5 112 127 0 119 1 0 1 1 0 8 0 amappl4 104 281 0 265 1 0 1 1 0 8 0 amappl3 96 3242 0 3150 3 0 3 3 0 8 0 amappl2 88 972 0 894 2 0 2 2 0 8 0 amappl1 80 7918 0 7400 13 1 12 13 0 8 0 amappl 88 4900 0 4728 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 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 655 0 625 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 655 0 625 1 0 1 1 0 8 0 vmmpekpl 168 6704 0 6675 2 0 2 2 0 8 0 vmmpepl 168 48319 0 46538 88 0 88 88 0 357 10 vmsppl 352 654 0 625 4 1 3 4 0 8 0 rwobjpl 24 19926 0 16756 20 0 20 20 0 8 0 pdppl 4096 1317 0 1250 99 32 67 83 0 8 0 pvpl 32 345131 0 335553 104 0 104 104 0 265 26 pmappl 216 654 0 625 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 392 0 54 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a47b6f0,ffff80002d9e3480,ffff80002d9e33d0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a47b6f0,ffff80002d9e3480,ffff80002d9e33d0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80002d9e3480) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x90b5b8ed30, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a47b6f0,ffff80002d9e3480,ffff80002d9e33d0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a47b6f0,ffff80002d9e3480,ffff80002d9e33d0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80002d9e3480) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x90b5b8ed30, count: -3