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(ffff80002a825cb0,ffff800033943ca0,ffff800033943bf0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a825cb0,ffff800033943ca0,ffff800033943bf0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff800033943ca0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800033943ca0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc56ee8246c0, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff800033943bd0 rbx 0 rdx 0 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x3c05e6ad7162e814 r11 0xeb3da70d926b8457 r12 0xfffffd806b86ae60 r13 0xdead4110dead4110 r14 0xffff8000014c1100 r15 0xa rip 0xffffffff82b79872 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800033943b30 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=101826 pid=61513 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=50, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a824028,0xffff80002a825790 process=0xffff80002cd30498 user=0xffff80003393e000, vmspace=0xfffffd80784b68b8 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 45358 519636 40253 0 2 0 syz-executor 45358 367832 40253 0 3 0x4000080 fsleep syz-executor 76928 449997 70245 0 2 0 syz-executor 76928 289230 70245 0 3 0x4000080 sbwait syz-executor 40915 96386 23132 0 2 0 syz-executor 40915 251020 23132 0 3 0x4000080 fsleep syz-executor 82311 349733 96367 0 2 0 syz-executor 82311 406989 96367 0 3 0x4000080 msgwait syz-executor 91034 135284 56799 60928 2 0x82010 syz-executor 91034 466714 56799 60928 3 0x4002010 suspend syz-executor 61513 158894 43062 0 2 0 syz-executor *61513 101826 43062 0 7 0x4000000 syz-executor 61513 274425 43062 0 3 0x4000080 fsleep syz-executor 61513 53393 43062 0 2 0x4000000 syz-executor 38080 420018 92627 0 2 0 syz-executor 38080 485405 92627 0 3 0x4000080 kqread syz-executor 38080 263337 92627 0 2 0x4000000 syz-executor 38080 60379 92627 0 2 0x4000000 syz-executor 31677 215960 0 0 3 0x14200 bored sosplice 92627 299125 31762 0 3 0x82 nanoslp syz-executor 43062 140867 31762 0 3 0x82 nanoslp syz-executor 96367 438189 31762 0 3 0x82 nanoslp syz-executor 23132 314103 31762 0 3 0x82 nanoslp syz-executor 40253 519046 31762 0 3 0x82 nanoslp syz-executor 8427 215435 31762 0 3 0x82 nanoslp syz-executor 56799 498268 31762 0 3 0x82 nanoslp syz-executor 70245 315146 31762 0 3 0x82 nanoslp syz-executor 31762 228674 65130 0 3 0x82 kqread syz-executor 65130 147800 26317 0 3 0x10008a sigsusp ksh 26317 215980 99260 0 3 0x98 kqread sshd-session 99260 348764 66260 0 3 0x92 kqread sshd-session 56229 448326 1 0 3 0x100083 ttyin getty 66260 117184 1 0 3 0x88 kqread sshd 88236 75320 23959 73 3 0x1100090 kqread syslogd 23959 8188 1 0 3 0x100082 sbwait syslogd 63289 363076 1 0 3 0x100080 kqread resolvd 97299 322345 88677 77 3 0x100092 kqread dhcpleased 10668 265673 88677 77 3 0x100092 kqread dhcpleased 88677 322602 1 0 3 0x80 kqread dhcpleased 99411 137 0 0 3 0x14200 bored smr 46703 414426 0 0 2 0x14200 zerothread 19162 105414 0 0 3 0x14200 aiodoned aiodoned 87821 343598 0 0 3 0x14200 syncer update 48388 404613 0 0 3 0x14200 cleaner cleaner 63985 484098 0 0 3 0x14200 reaper reaper 81615 263601 0 0 3 0x14200 pgdaemon pagedaemon 85108 117481 0 0 3 0x14200 bored viomb 22939 224106 0 0 3 0x40014200 acpi0 acpi0 43556 398844 0 0 3 0x14200 bored softnet7 41643 235704 0 0 3 0x14200 bored softnet6 61257 417777 0 0 3 0x14200 bored softnet5 4539 126595 0 0 3 0x14200 bored softnet4 67921 233270 0 0 3 0x14200 bored softnet3 75532 481739 0 0 3 0x14200 bored softnet2 6579 72827 0 0 3 0x14200 bored softnet1 1463 60630 0 0 3 0x14200 bored softnet0 41909 236165 0 0 3 0x14200 bored systqmp 86083 357781 0 0 3 0x14200 bored systq 70033 227401 0 0 3 0x40014200 tmoslp softclock 1616 100254 0 0 3 0x40014200 idle0 1 183153 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 10203 11259K 11259K 166960K 11399 0 pcb 19 12K 12K 166960K 47 0 rtable 187 5K 6K 166960K 271 0 pf 32 13K 13K 166960K 37 0 ifaddr 43 7K 7K 166960K 47 0 ifgroup 50 2K 2K 166960K 52 0 sysctl 3 1K 9K 166960K 7 0 counters 32 17K 17K 166960K 33 0 ioctlops 0 0K 4K 166960K 49 0 iov 1 4K 4K 166960K 3 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1342 84K 85K 166960K 1466 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 6 0K 0K 166960K 7 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 258 0 proc 60 59K 124K 166960K 489 0 subproc 72 4K 4K 166960K 73 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 8 0 in_multi 102 7K 7K 166960K 105 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 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 350 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 227 151K 160K 166960K 3865 0 UVM aobj 7 2K 2K 166960K 7 0 pinsyscall 39 78K 96K 166960K 1280 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 6 0 NDP 11 0K 2K 166960K 28 0 temp 42 8632K 8696K 166960K 9438 0 kqueue 14 22K 28K 166960K 57 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 45 0 42 1 0 1 1 0 8 0 rtentry 136 98 0 13 4 0 4 4 0 8 0 unpcb 144 104 0 87 2 0 2 2 0 8 1 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 101 0 97 7 0 7 7 0 8 6 arp 88 10 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 328 215 0 206 8 1 7 7 0 8 6 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 18 0 1 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 1 0 1 1 0 1 1 0 8 1 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1344 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 485 0 56 30 0 30 30 0 8 1 art_table 40 486 0 56 5 0 5 5 0 8 0 art_node 32 98 0 23 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 4 1 0 1 1 0 8 0 semapl 112 5 0 1 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1792 0 289 95 0 95 95 0 8 0 ffsino 256 1792 0 289 95 0 95 95 0 8 0 nchpl 144 2161 0 476 63 0 63 63 0 8 0 uvmvnodes 80 1927 0 0 40 0 40 40 0 8 0 vnodes 216 1927 0 0 108 0 108 108 0 8 0 namei 1024 6411 0 6411 3 2 1 2 0 8 1 kstatmem 264 24 0 2 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 0 1 1 0 8 1 scxspl 216 7677 0 7677 15 7 8 8 1 8 8 plimitpl 152 107 0 91 1 0 1 1 0 8 0 sigapl 424 540 0 489 7 0 7 7 0 8 1 knotepl 120 7471 0 7422 9 0 9 9 0 8 7 kqueuepl 184 71 0 61 1 0 1 1 0 8 0 pipepl 304 109 0 81 3 0 3 3 0 8 0 fdescpl 448 519 0 489 5 0 5 5 0 8 1 filepl 120 2198 0 1982 10 0 10 10 0 8 2 lockfpl 104 40 0 37 1 0 1 1 0 8 0 lockfspl 48 22 0 18 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 32 0 16 1 0 1 1 0 8 0 ucredpl 104 221 0 209 1 0 1 1 0 8 0 zombiepl 144 582 0 581 2 1 1 1 0 8 0 processpl 1168 540 0 489 5 0 5 5 0 8 1 procpl 664 776 0 714 6 0 6 6 0 8 0 sockpl 552 372 0 343 9 1 8 8 0 8 5 mcl64k 65536 14 0 14 1 0 1 1 0 8 1 mcl8k 8192 8 0 8 2 1 1 1 0 8 1 mcl4k 4096 2607 0 2555 12 4 8 12 0 8 1 mcl2k 2048 403 0 395 2 0 2 2 0 8 1 mtagpl 96 7 0 4 2 1 1 1 0 8 0 mbufpl 256 5219 0 5021 18 0 18 18 0 8 5 bufpl 280 3088 0 117 213 0 213 213 0 8 0 anonpl 24 110548 0 107346 35 3 32 32 0 187 10 amapchunkpl 152 12324 0 11847 29 1 28 28 0 158 9 amappl16 200 1960 0 1936 5 3 2 5 0 8 0 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 105 0 95 1 0 1 1 0 8 0 amappl13 176 4 0 4 1 1 0 1 0 8 0 amappl12 168 1128 0 1098 2 0 2 2 0 8 0 amappl11 160 47 0 37 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 247 0 247 1 1 0 1 0 8 0 amappl8 136 28 0 26 1 0 1 1 0 8 0 amappl7 128 96 0 86 1 0 1 1 0 8 0 amappl6 120 172 0 169 1 0 1 1 0 8 0 amappl5 112 111 0 105 1 0 1 1 0 8 0 amappl4 104 262 0 248 1 0 1 1 0 8 0 amappl3 96 2061 0 1952 4 0 4 4 0 8 1 amappl2 88 605 0 547 2 0 2 2 0 8 0 amappl1 80 8275 0 7717 14 1 13 14 0 8 1 amappl 88 3219 0 3057 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 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 519 0 489 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 519 0 489 1 0 1 1 0 8 0 vmmpekpl 168 5684 0 5659 2 0 2 2 0 8 0 vmmpepl 168 38723 0 36842 86 2 84 84 0 357 1 vmsppl 368 518 0 489 4 0 4 4 0 8 1 rwobjpl 40 15195 0 12426 28 0 28 28 0 8 0 pdppl 4096 1045 0 978 99 32 67 83 0 8 0 pvpl 32 255962 0 247065 104 1 103 103 0 265 27 pmappl 216 518 0 489 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 386 0 42 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a825cb0,ffff800033943ca0,ffff800033943bf0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a825cb0,ffff800033943ca0,ffff800033943bf0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff800033943ca0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800033943ca0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc56ee8246c0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a825cb0,ffff800033943ca0,ffff800033943bf0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a825cb0,ffff800033943ca0,ffff800033943bf0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff800033943ca0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800033943ca0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc56ee8246c0, count: -3