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(ffff80002a7f1210,ffff8000389236f0,ffff800038923640) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7f1210,ffff8000389236f0,ffff800038923640) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000389236f0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000389236f0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x591969ee380, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff800038923610 rbx 0 rdx 0xffff80000143ab40 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x6ed4743d1b404be r11 0x21590cfdbc8ddf39 r12 0xfffffd806bf65f28 r13 0xdeafbeaddeafbead r14 0xffff8000014dbf00 r15 0xa rip 0xffffffff8182fa42 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800038923570 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=79227 pid=95275 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=74, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7f02b0,0xffff80002a7f0f90 process=0xffff800037d16458 user=0xffff80003891e000, vmspace=0xfffffd806c1d7180 estcpu=24, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 63712 225197 22819 0 2 0 syz-executor 63712 249193 22819 0 3 0x4000080 fsleep syz-executor 63712 375624 22819 0 3 0x4000080 fsleep syz-executor 56117 309522 90686 0 2 0 syz-executor 56117 407291 90686 0 3 0x4000080 fsleep syz-executor 67151 288201 46903 0 2 0 syz-executor 67151 324216 46903 0 3 0x4000080 fsleep syz-executor 44084 186373 76259 0 2 0 syz-executor 44084 185650 76259 0 3 0x4000080 fsleep syz-executor 5041 453103 13324 0 2 0 syz-executor 5041 398061 13324 0 2 0x4000000 syz-executor 2775 1974 61839 0 2 0 syz-executor 2775 14522 61839 0 3 0x4000080 fsleep syz-executor 73106 470967 84936 0 2 0 syz-executor 73106 110909 84936 0 3 0x4000080 fsleep syz-executor 95275 423226 35746 0 2 0 syz-executor *95275 79227 35746 0 7 0x4000000 syz-executor 95275 310435 35746 0 3 0x4000080 fsleep syz-executor 95275 93398 35746 0 2 0x4000000 syz-executor 47186 515655 0 0 3 0x14200 bored sosplice 22819 145877 44607 0 3 0x82 nanoslp syz-executor 76259 474133 44607 0 3 0x82 nanoslp syz-executor 90686 447871 44607 0 3 0x82 nanoslp syz-executor 61839 207770 44607 0 2 0xc82 syz-executor 13324 123025 44607 0 2 0xc82 syz-executor 46903 263576 44607 0 3 0x82 nanoslp syz-executor 84936 300609 44607 0 2 0xc82 syz-executor 35746 275338 44607 0 3 0x82 nanoslp syz-executor 44607 63422 49194 0 3 0x82 kqread syz-executor 49194 7627 92846 0 3 0x10008a sigsusp ksh 92846 406851 78594 0 3 0x98 kqread sshd-session 78594 43598 9091 0 3 0x92 kqread sshd-session 37520 46918 1 0 3 0x100083 ttyin getty 9091 97911 1 0 3 0x88 kqread sshd 49920 271040 50329 73 3 0x1100090 kqread syslogd 50329 10926 1 0 3 0x100082 sbwait syslogd 32193 150656 1 0 3 0x100080 kqread resolvd 40978 283677 82109 77 3 0x100092 kqread dhcpleased 73774 412405 82109 77 3 0x100092 kqread dhcpleased 82109 75938 1 0 3 0x80 kqread dhcpleased 41178 155854 0 0 3 0x14200 bored smr 12523 394337 0 0 2 0x14200 zerothread 85473 250073 0 0 3 0x14200 aiodoned aiodoned 25055 328643 0 0 3 0x14200 syncer update 40812 41473 0 0 3 0x14200 cleaner cleaner 57569 323572 0 0 3 0x14200 reaper reaper 50615 249649 0 0 3 0x14200 pgdaemon pagedaemon 50060 10906 0 0 3 0x14200 bored viomb 10979 139037 0 0 3 0x40014200 acpi0 acpi0 96223 377482 0 0 3 0x14200 bored softnet3 2858 36370 0 0 3 0x14200 bored softnet2 69964 8083 0 0 3 0x14200 bored softnet1 40042 195857 0 0 3 0x14200 bored softnet0 51328 367978 0 0 3 0x14200 bored systqmp 56347 290437 0 0 3 0x14200 bored systq 31768 170701 0 0 3 0x40014200 tmoslp softclock 16614 305279 0 0 3 0x40014200 idle0 1 89571 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 10210 11057K 11386K 166960K 11735 0 pcb 17 13K 13K 166960K 73 0 rtable 199 7K 7K 166960K 391 0 pf 33 13K 15K 166960K 53 0 ifaddr 39 6K 7K 166960K 57 0 ifgroup 54 2K 2K 166960K 77 0 sysctl 3 1K 9K 166960K 7 0 counters 33 17K 18K 166960K 44 0 ioctlops 0 0K 4K 166960K 81 0 iov 0 0K 12K 166960K 14 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1373 86K 87K 166960K 1652 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 7 0K 0K 166960K 8 0 dirhash 12 2K 2K 166960K 30 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 98K 166960K 390 0 sigio 0 0K 0K 166960K 9 0 proc 60 59K 108K 166960K 519 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 94 0 in_multi 84 6K 7K 166960K 108 0 ether_multi 1 0K 0K 166960K 1 0 mrt 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 435 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 230 151K 163K 166960K 5071 0 UVM aobj 16 2K 2K 166960K 17 0 pinsyscall 39 78K 96K 166960K 1415 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 20 0 NDP 12 0K 2K 166960K 36 0 temp 47 8669K 8734K 166960K 10009 0 kqueue 13 20K 32K 166960K 79 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 58 0 55 1 0 1 1 0 8 0 rtentry 136 116 0 30 4 0 4 4 0 8 0 unpcb 144 163 0 148 1 0 1 1 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 89 0 85 1 0 1 1 0 8 0 arp 88 18 0 2 1 0 1 1 0 8 0 ipq 40 2 0 1 2 1 1 1 0 8 0 ipqe 40 5 0 4 2 1 1 1 0 8 0 inpcb 328 356 0 349 8 1 7 7 0 8 6 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 104 26 0 5 1 0 1 1 0 8 0 pkpcb 40 3 0 3 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 8 0 8 2 1 1 1 0 8 1 pppxif 1384 2 0 2 2 1 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 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 499 0 113 29 1 28 29 0 8 1 art_table 32 500 0 113 4 0 4 4 0 8 0 art_node 16 115 0 37 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 6 0 1 1 0 1 1 0 8 0 shmpl 112 14 0 1 1 0 1 1 0 8 0 dirhash 1024 29 0 12 3 0 3 3 0 8 0 dino2pl 256 2080 0 583 95 0 95 95 0 8 0 ffsino 248 2080 0 583 95 0 95 95 0 8 0 nchpl 144 2600 0 919 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 uvmvnodes 80 2310 0 0 48 0 48 48 0 8 0 vnodes 216 2310 0 0 129 0 129 129 0 8 0 namei 1024 8888 0 8888 2 1 1 2 0 8 1 kstatmem 264 38 0 14 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 8219 0 8219 9 1 8 8 1 8 8 plimitpl 152 201 0 184 1 0 1 1 0 8 0 sigapl 424 665 0 618 7 1 6 7 0 8 0 knotepl 120 15974 0 15927 25 15 10 17 0 8 8 kqueuepl 184 115 0 106 1 0 1 1 0 8 0 pipepl 296 120 0 93 3 0 3 3 0 8 0 fdescpl 440 647 0 617 5 1 4 5 0 8 0 filepl 120 3514 0 3245 11 0 11 11 0 8 2 lockfpl 104 134 0 132 1 0 1 1 0 8 0 lockfspl 48 56 0 54 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 39 0 23 1 0 1 1 0 8 0 ucredpl 104 722 0 710 1 0 1 1 0 8 0 zombiepl 144 697 0 697 1 0 1 1 0 8 1 processpl 1160 665 0 618 4 0 4 4 0 8 0 procpl 656 1071 0 1013 6 0 6 6 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 528 589 0 564 8 1 7 7 0 8 5 mcl64k 65536 15 0 14 2 1 1 1 0 8 0 mcl16k 16384 2 0 2 2 1 1 1 0 8 1 mcl8k 8192 5 0 5 2 1 1 1 0 8 1 mcl4k 4096 2769 0 2717 14 6 8 14 0 8 1 mcl2k 2048 553 0 553 5 2 3 3 0 8 3 mtagpl 96 15 0 7 1 0 1 1 0 8 0 mbufpl 256 6948 0 6766 19 0 19 19 0 8 5 bufpl 280 2700 0 119 185 0 185 185 0 8 0 anonpl 24 110071 0 106832 23 2 21 23 0 187 0 amapchunkpl 152 15111 0 14609 23 1 22 22 0 158 2 amappl16 200 1937 0 1907 5 3 2 5 0 8 0 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 102 0 92 1 0 1 1 0 8 0 amappl13 176 2 0 2 1 1 0 1 0 8 0 amappl12 168 1261 0 1231 3 1 2 3 0 8 0 amappl11 160 113 0 103 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 247 0 247 1 1 0 1 0 8 0 amappl8 136 27 0 25 1 0 1 1 0 8 0 amappl7 128 124 0 113 1 0 1 1 0 8 0 amappl6 120 169 0 166 1 0 1 1 0 8 0 amappl5 112 111 0 104 1 0 1 1 0 8 0 amappl4 104 283 0 267 1 0 1 1 0 8 0 amappl3 96 2812 0 2699 3 0 3 3 0 8 0 amappl2 88 627 0 572 2 0 2 2 0 8 0 amappl1 80 8838 0 8288 13 1 12 13 0 8 0 amappl 88 4389 0 4221 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 16 0 1 1 0 1 1 0 8 0 uaddrrnd 24 647 0 617 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 647 0 617 1 0 1 1 0 8 0 vmmpekpl 168 6639 0 6609 2 0 2 2 0 8 0 vmmpepl 168 46332 0 44448 83 0 83 83 0 357 0 vmsppl 360 646 0 617 4 1 3 4 0 8 0 rwobjpl 32 16790 0 13613 26 0 26 26 0 8 0 pdppl 4096 1300 0 1234 98 32 66 82 0 8 0 pvpl 32 290615 0 282146 85 1 84 84 0 265 6 pmappl 216 646 0 617 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 277 0 48 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a7f1210,ffff8000389236f0,ffff800038923640) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7f1210,ffff8000389236f0,ffff800038923640) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000389236f0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000389236f0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x591969ee380, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a7f1210,ffff8000389236f0,ffff800038923640) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7f1210,ffff8000389236f0,ffff800038923640) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000389236f0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000389236f0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:742 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x591969ee380, count: -3