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(ffff80002a7bc7c8,ffff80003c971b30,ffff80003c971a80) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7bc7c8,ffff80003c971b30,ffff80003c971a80) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c971b30) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c971b30) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xffefafbcce0, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff80003c971a50 rbx 0 rdx 0xffff80000146b840 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x217ba99e65a970f7 r11 0xe8a3548a744ce65c r12 0xfffffd8077a06f00 r13 0xdead4110dead4110 r14 0xffff8000014d6800 r15 0xa rip 0xffffffff815b41f2 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003c9719b0 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=127049 pid=90643 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=86, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7bc018,0xffff80003a9387e8 process=0xffff800033914018 user=0xffff80003c96c000, vmspace=0xfffffd807ebb6708 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 72285 321898 2886 0 2 0 syz-executor 72285 17973 2886 0 3 0x4000080 fsleep syz-executor 88420 291078 66949 0 2 0 syz-executor 88420 71185 66949 0 3 0x4000080 fsleep syz-executor 36171 238513 89321 0 2 0 syz-executor 36171 501931 89321 0 2 0x4000000 syz-executor 90643 490686 30068 0 2 0 syz-executor *90643 127049 30068 0 7 0x4000000 syz-executor 90643 86618 30068 0 3 0x4000080 fsleep syz-executor 90643 244115 30068 0 2 0x4000000 syz-executor 97275 353183 7907 0 2 0x2 ifconfig 7907 398369 11700 0 3 0x10008a sigsusp sh 11700 493517 19066 0 3 0x82 wait syz-executor 39697 218813 1 0 3 0x100083 ttyin getty 36044 462022 0 0 3 0x14200 bored sosplice 66949 121345 19066 0 3 0x82 nanoslp syz-executor 47761 211609 19066 0 2 0x2 syz-executor 30068 55969 19066 0 3 0x82 nanoslp syz-executor 89321 6683 19066 0 3 0x82 nanoslp syz-executor 76756 445665 19066 0 3 0x82 wait syz-executor 88200 162082 19066 0 3 0x82 wait syz-executor 2886 405574 19066 0 3 0x82 nanoslp syz-executor 19066 237409 27373 0 3 0x82 kqread syz-executor 27373 352101 87674 0 3 0x10008a sigsusp ksh 87674 480729 84725 0 3 0x98 kqread sshd-session 84725 191260 69773 0 3 0x92 kqread sshd-session 69773 95833 1 0 3 0x88 kqread sshd 90363 301286 51709 73 3 0x1100090 kqread syslogd 51709 456494 1 0 3 0x100082 sbwait syslogd 27780 116907 1 0 3 0x100080 kqread resolvd 12197 143769 81935 77 3 0x100092 kqread dhcpleased 97325 481443 81935 77 3 0x100092 kqread dhcpleased 81935 410331 1 0 3 0x80 kqread dhcpleased 5691 28551 0 0 3 0x14200 bored smr 94251 106509 0 0 2 0x14200 zerothread 68075 365366 0 0 3 0x14200 aiodoned aiodoned 69143 74929 0 0 3 0x14200 syncer update 58377 211927 0 0 3 0x14200 cleaner cleaner 27796 247498 0 0 3 0x14200 reaper reaper 5805 465268 0 0 3 0x14200 pgdaemon pagedaemon 14357 86990 0 0 3 0x14200 bored viomb 16690 122078 0 0 3 0x40014200 acpi0 acpi0 70083 169424 0 0 3 0x14200 bored softnet3 20046 315743 0 0 3 0x14200 bored softnet2 47088 191317 0 0 3 0x14200 bored softnet1 97852 109131 0 0 2 0x14200 softnet0 75337 251809 0 0 3 0x14200 bored systqmp 39230 148529 0 0 3 0x14200 bored systq 18095 383318 0 0 3 0x40014200 tmoslp softclock 95936 344843 0 0 3 0x40014200 idle0 1 467377 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 10211 11197K 11436K 166960K 12132 0 pcb 18 16K 18K 166960K 231 0 rtable 173 5K 7K 166960K 630 0 pf 28 12K 20K 166960K 69 0 ifaddr 35 6K 8K 166960K 88 0 ifgroup 46 2K 2K 166960K 104 0 sysctl 3 1K 9K 166960K 7 0 counters 31 17K 18K 166960K 52 0 ioctlops 0 0K 4K 166960K 82 0 iov 0 0K 12K 166960K 17 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1424 90K 90K 166960K 1884 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 10 0K 0K 166960K 45 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 587 0 sigio 0 0K 0K 166960K 4 0 proc 67 67K 83K 166960K 718 0 subproc 72 4K 4K 166960K 135 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 182 0 in_multi 79 5K 7K 166960K 189 0 ether_multi 1 0K 0K 166960K 5 0 mrt 0 0K 0K 166960K 8 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 468 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 234 161K 172K 166960K 6624 0 UVM aobj 14 2K 2K 166960K 15 0 pinsyscall 39 78K 95K 166960K 1800 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 25 0 NDP 11 0K 2K 166960K 57 0 temp 45 8680K 8748K 166960K 18665 0 kqueue 13 20K 32K 166960K 93 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 66 0 63 1 0 1 1 0 8 0 rtentry 136 204 0 126 4 0 4 4 0 8 0 unpcb 144 295 0 280 4 0 4 4 0 8 3 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 180 0 176 7 0 7 7 0 8 6 arp 88 34 0 21 1 0 1 1 0 8 0 inpcb 328 722 0 712 17 8 9 12 0 8 8 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 104 47 0 30 1 0 1 1 0 8 0 pkpcb 40 6 0 6 1 0 1 1 0 8 1 kcovpl 48 15 0 7 1 0 1 1 0 8 0 ppxss 1072 10 0 10 1 0 1 1 0 8 1 pppxif 1384 2 0 2 1 0 1 1 0 8 1 pfrule 1344 4 0 2 1 0 1 1 0 8 0 rttmr 136 3 0 3 2 1 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 916 0 549 31 2 29 31 0 8 4 art_table 32 917 0 549 4 0 4 4 0 8 0 art_node 16 202 0 131 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 7 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 43 0 35 1 0 1 1 0 8 0 shmpl 112 12 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2179 0 675 95 0 95 95 0 8 0 ffsino 248 2179 0 675 95 0 95 95 0 8 0 nchpl 144 2871 0 1171 64 0 64 64 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 uvmvnodes 80 2184 0 0 45 0 45 45 0 8 0 vnodes 216 2184 0 0 122 0 122 122 0 8 0 namei 1024 10236 0 10235 5 2 3 3 0 8 2 kstatmem 264 54 0 34 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 9196 0 9196 10 2 8 8 1 8 8 plimitpl 152 271 0 255 1 0 1 1 0 8 0 sigapl 424 856 0 809 6 0 6 6 0 8 0 knotepl 120 52332 0 52285 11 1 10 11 0 8 8 kqueuepl 184 174 0 165 1 0 1 1 0 8 0 pipepl 296 163 0 135 3 0 3 3 0 8 0 fdescpl 440 838 0 808 5 1 4 5 0 8 0 filepl 120 4722 0 4507 14 1 13 13 0 8 5 lockfpl 104 140 0 138 1 0 1 1 0 8 0 lockfspl 48 68 0 66 1 0 1 1 0 8 0 sessionpl 144 29 0 21 1 0 1 1 0 8 0 pgrppl 48 47 0 31 1 0 1 1 0 8 0 ucredpl 104 682 0 671 1 0 1 1 0 8 0 zombiepl 144 1055 0 1053 2 1 1 1 0 8 0 processpl 1160 856 0 809 4 0 4 4 0 8 0 procpl 656 1491 0 1438 6 0 6 6 0 8 0 sosppl 168 2 0 2 1 0 1 1 0 8 1 sockpl 528 1100 0 1072 16 6 10 12 0 8 7 mcl64k 65536 14 0 14 2 1 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 41 0 41 2 1 1 1 0 8 1 mcl4k 4096 2950 0 2892 15 7 8 15 0 8 0 mcl2k 2048 776 0 710 9 0 9 9 0 8 0 mtagpl 96 158 0 52 3 0 3 3 0 8 0 mbufpl 256 10833 0 10565 145 126 19 143 0 8 0 bufpl 280 3060 0 124 210 0 210 210 0 8 0 anonpl 24 136426 0 132455 50 15 35 44 0 187 9 amapchunkpl 152 20157 0 19635 25 0 25 25 0 158 3 amappl16 200 2303 0 2274 14 11 3 14 0 8 1 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 120 0 110 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 1571 0 1540 3 1 2 3 0 8 0 amappl11 160 42 0 32 1 0 1 1 0 8 0 amappl10 152 9 0 9 1 1 0 1 0 8 0 amappl9 144 244 0 244 1 1 0 1 0 8 0 amappl8 136 25 0 23 1 0 1 1 0 8 0 amappl7 128 112 0 102 1 0 1 1 0 8 0 amappl6 120 237 0 232 1 0 1 1 0 8 0 amappl5 112 143 0 135 1 0 1 1 0 8 0 amappl4 104 310 0 294 1 0 1 1 0 8 0 amappl3 96 3860 0 3756 4 0 4 4 0 8 1 amappl2 88 708 0 652 2 0 2 2 0 8 0 amappl1 80 10277 0 9718 13 0 13 13 0 8 1 amappl 88 5790 0 5623 5 0 5 5 0 92 1 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 14 0 1 1 0 1 1 0 8 0 uaddrrnd 24 838 0 808 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 838 0 808 1 0 1 1 0 8 0 vmmpekpl 168 8176 0 8135 3 0 3 3 0 8 0 vmmpepl 168 58261 0 56408 95 10 85 92 0 357 2 vmsppl 360 837 0 808 4 1 3 4 0 8 0 rwobjpl 32 19859 0 16795 27 1 26 26 0 8 1 pdppl 4096 1682 0 1616 108 40 68 80 0 8 2 pvpl 32 367447 0 357851 116 21 95 111 0 265 12 pmappl 216 837 0 808 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 428 0 182 11 1 10 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a7bc7c8,ffff80003c971b30,ffff80003c971a80) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7bc7c8,ffff80003c971b30,ffff80003c971a80) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c971b30) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c971b30) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xffefafbcce0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a7bc7c8,ffff80003c971b30,ffff80003c971a80) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7bc7c8,ffff80003c971b30,ffff80003c971a80) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c971b30) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c971b30) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xffefafbcce0, count: -3