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(ffff80002a4c2f48,ffff80003760fdc0,ffff80003760fd10) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a4c2f48,ffff80003760fdc0,ffff80003760fd10) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003760fdc0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6b8d5f5ae50, count: -3 ddb> show registers rdi 0 rsi 0x20001208 rbp 0xffff80003760fce0 rbx 0 rdx 0xffff80000125e540 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0xf5042d539eb0cdc5 r11 0xfe5c86f1e4d964a2 r12 0xfffffd80723d9f28 r13 0xdeafbeaddeafbead r14 0xffff8000012b9e00 r15 0xa rip 0xffffffff8226b6a2 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003760fc40 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=493588 pid=36570 tcnt=5 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=51, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a4c27b0,0xffff80002a4c3468 process=0xffff800033bf5138 user=0xffff80003760a000, vmspace=0xfffffd806c226430 estcpu=1, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 7157 459450 17595 0 2 0 syz-executor 7157 260320 17595 0 3 0x4000080 sbwait syz-executor 7157 81077 17595 0 3 0x4000080 fsleep syz-executor 7157 295630 17595 0 3 0x4000080 fsleep syz-executor 22081 369479 65906 0 2 0 syz-executor 22081 302023 65906 0 3 0x4000080 fsleep syz-executor 36570 445066 39698 0 2 0 syz-executor *36570 493588 39698 0 7 0x4000000 syz-executor 36570 86091 39698 0 3 0x4000080 fsleep syz-executor 36570 260193 39698 0 3 0x4000080 fsleep syz-executor 36570 487137 39698 0 2 0x4000000 syz-executor 56525 466193 27713 0 2 0 syz-executor 56525 250648 27713 0 2 0x4000000 syz-executor 56525 45476 27713 0 3 0x4000080 fsleep syz-executor 85142 497682 93643 0 2 0 syz-executor 85142 200300 93643 0 2 0x4000000 syz-executor 94769 438853 75000 0 4 0x82004 syz-executor 94769 375813 75000 0 4 0x4082004 syz-executor 94769 267682 75000 0 2 0x4002004 syz-executor 87466 277360 91340 0 2 0 syz-executor 65906 274137 29052 0 3 0x82 nanoslp syz-executor 93643 35898 29052 0 3 0x82 nanoslp syz-executor 27713 135931 29052 0 3 0x82 nanoslp syz-executor 91340 203009 29052 0 3 0x82 nanoslp syz-executor 17595 502455 29052 0 3 0x82 nanoslp syz-executor 75000 193853 29052 0 3 0x82 nanoslp syz-executor 39698 80878 29052 0 3 0x82 nanoslp syz-executor 49554 36356 29052 0 3 0x82 nanoslp syz-executor 29052 251673 27052 0 3 0x82 kqread syz-executor 27052 328946 80478 0 3 0x10008a sigsusp ksh 80478 98131 64066 0 3 0x98 kqread sshd-session 64066 69106 82504 0 3 0x92 kqread sshd-session 86547 521584 1 0 3 0x100083 ttyin getty 82504 44208 1 0 3 0x88 kqread sshd 29360 133630 85814 73 3 0x1100090 kqread syslogd 85814 4931 1 0 3 0x100082 sbwait syslogd 51980 499641 1 0 3 0x100080 kqread resolvd 19109 104574 21284 77 3 0x100092 kqread dhcpleased 85811 439288 21284 77 3 0x100092 kqread dhcpleased 21284 303714 1 0 3 0x80 kqread dhcpleased 56048 237670 0 0 3 0x14200 bored smr 21317 162977 0 0 2 0x14200 zerothread 29479 101543 0 0 3 0x14200 aiodoned aiodoned 47617 131192 0 0 3 0x14200 syncer update 96179 227818 0 0 3 0x14200 cleaner cleaner 3506 176496 0 0 3 0x14200 reaper reaper 23762 159362 0 0 3 0x14200 pgdaemon pagedaemon 70545 338647 0 0 3 0x14200 bored viomb 7930 117729 0 0 3 0x40014200 acpi0 acpi0 69096 55485 0 0 3 0x14200 bored softnet3 22155 112041 0 0 3 0x14200 bored softnet2 50640 415305 0 0 3 0x14200 bored softnet1 33169 161887 0 0 3 0x14200 bored softnet0 58537 139923 0 0 3 0x14200 bored systqmp 78949 373504 0 0 3 0x14200 bored systq 51111 108573 0 0 3 0x40014200 tmoslp softclock 43739 421244 0 0 3 0x40014200 idle0 1 286120 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 11043K 11241K 166960K 11484 0 pcb 18 14K 16K 166960K 103 0 rtable 223 6K 7K 166960K 363 0 pf 33 13K 13K 166960K 33 0 ifaddr 41 7K 7K 166960K 45 0 ifgroup 55 2K 2K 166960K 55 0 counters 31 17K 17K 166960K 31 0 ioctlops 0 0K 2K 166960K 32 0 iov 1 2K 2K 166960K 2 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1365 86K 86K 166960K 1461 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 3 0K 0K 166960K 4 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 18 65K 97K 166960K 168 0 sigio 0 0K 0K 166960K 1 0 proc 59 59K 124K 166960K 482 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 1 0 in_multi 89 6K 7K 166960K 99 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 43 201K 201K 166960K 43 0 exec 0 0K 1K 166960K 348 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 243 72K 72K 166960K 2926 0 UVM aobj 4 2K 2K 166960K 5 0 pinsyscall 39 78K 102K 166960K 1181 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 13 0K 2K 166960K 29 0 temp 37 6806K 6878K 166960K 3758 0 kqueue 13 20K 24K 166960K 26 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 39 0 36 1 0 1 1 0 8 0 rtentry 112 112 0 9 4 0 4 4 0 8 0 unpcb 144 63 0 46 1 0 1 1 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 13 0 8 1 0 1 1 0 8 0 arp 88 18 0 0 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 336 152 0 142 7 6 1 7 0 8 0 nd6 104 24 0 3 1 0 1 1 0 8 0 pkpcb 40 65 0 65 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 452 0 40 29 0 29 29 0 8 0 art_table 32 453 0 40 4 0 4 4 0 8 0 art_node 16 110 0 16 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semapl 112 2 0 1 1 0 1 1 0 8 0 shmpl 112 2 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1659 0 159 95 0 95 95 0 8 0 ffsino 240 1659 0 159 89 0 89 89 0 8 0 nchpl 144 1889 0 213 63 0 63 63 0 8 0 uvmvnodes 80 1781 0 0 37 0 37 37 0 8 0 vnodes 216 1781 0 0 99 0 99 99 0 8 0 namei 1024 5667 0 5666 4 2 2 2 0 8 1 kstatmem 264 24 0 0 2 0 2 2 0 8 0 scxspl 216 5161 0 5161 3 2 1 3 1 8 1 plimitpl 152 32 0 16 1 0 1 1 0 8 0 sigapl 424 445 0 399 7 1 6 7 0 8 0 futexpl 64 535 0 529 1 0 1 1 0 8 0 knotepl 120 3955 0 3908 10 0 10 10 0 8 8 kqueuepl 184 24 0 15 1 0 1 1 0 8 0 pipepl 288 103 0 76 3 1 2 3 0 8 0 fdescpl 432 429 0 399 5 1 4 5 0 8 0 filepl 120 1862 0 1618 10 0 10 10 0 8 1 lockfpl 104 18 0 16 1 0 1 1 0 8 0 lockfspl 48 9 0 7 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 31 0 15 1 0 1 1 0 8 0 ucredpl 104 280 0 269 1 0 1 1 0 8 0 zombiepl 144 410 0 409 2 1 1 1 0 8 0 processpl 1096 445 0 399 4 0 4 4 0 8 0 procpl 648 502 0 442 6 0 6 6 0 8 0 sockpl 504 321 0 290 13 1 12 13 0 8 8 mcl64k 65536 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 7 1 1 0 1 0 8 0 mcl4k 4096 2677 0 2628 15 8 7 15 0 8 0 mcl2k 2048 189 0 187 1 0 1 1 0 8 0 mtagpl 96 5 0 4 2 1 1 1 0 8 0 mbufpl 256 4708 0 4545 11 0 11 11 0 8 0 bufpl 280 2195 0 95 150 0 150 150 0 8 0 anonpl 24 138216 0 134959 23 3 20 23 0 187 0 amapchunkpl 152 9619 0 9067 23 1 22 22 0 158 0 amappl16 200 3624 0 3607 5 4 1 5 0 8 0 amappl15 192 11 0 11 1 1 0 1 0 8 0 amappl14 184 110 0 100 1 0 1 1 0 8 0 amappl13 176 9 0 9 1 1 0 1 0 8 0 amappl12 168 1040 0 1010 3 1 2 3 0 8 0 amappl11 160 51 0 41 1 0 1 1 0 8 0 amappl10 152 12 0 12 1 1 0 1 0 8 0 amappl9 144 129 0 129 1 1 0 1 0 8 0 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 100 0 90 1 0 1 1 0 8 0 amappl6 120 162 0 161 1 0 1 1 0 8 0 amappl5 112 119 0 111 1 0 1 1 0 8 0 amappl4 104 275 0 261 1 0 1 1 0 8 0 amappl3 96 1833 0 1728 3 0 3 3 0 8 0 amappl2 88 683 0 607 2 0 2 2 0 8 0 amappl1 80 7316 0 6802 13 2 11 13 0 8 0 amappl 88 2587 0 2397 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 4 0 1 1 0 1 1 0 8 0 uaddrrnd 24 429 0 399 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 429 0 399 1 0 1 1 0 8 0 vmmpekpl 168 4816 0 4785 2 0 2 2 0 8 0 vmmpepl 168 34564 0 32792 82 4 78 79 0 357 0 vmsppl 352 428 0 399 4 1 3 4 0 8 0 rwobjpl 24 15973 0 13334 16 0 16 16 0 8 0 pdppl 4096 864 0 798 96 30 66 82 0 8 0 pvpl 32 254739 0 246121 77 1 76 76 0 265 4 pmappl 216 428 0 399 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 374 0 52 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a4c2f48,ffff80003760fdc0,ffff80003760fd10) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a4c2f48,ffff80003760fdc0,ffff80003760fd10) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003760fdc0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6b8d5f5ae50, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a4c2f48,ffff80003760fdc0,ffff80003760fd10) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a4c2f48,ffff80003760fdc0,ffff80003760fd10) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003760fdc0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6b8d5f5ae50, count: -3