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(ffff80003c988548,ffff80003c94dae0,ffff80003c94da30) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003c988548,ffff80003c94dae0,ffff80003c94da30) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c94dae0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94dae0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x188079e78e0, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff80003c94da00 rbx 0 rdx 0 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x23b2fe5135fb8282 r11 0x3631d810589d3460 r12 0xfffffd806b529de8 r13 0xdeafbeaddeafbead r14 0xffff800001490d00 r15 0xa rip 0xffffffff81920e72 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003c94d960 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=342362 pid=83223 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=0xffff80003c988028,0xffff80002a7e27d8 process=0xffff800035d15b48 user=0xffff80003c948000, vmspace=0xfffffd806c2bf880 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 82009 364223 48056 0 2 0 syz-executor 82009 96676 48056 0 3 0x4000080 fsleep syz-executor 29137 367551 66276 0 2 0 syz-executor 29137 217908 66276 0 3 0x4000080 fsleep syz-executor 9974 348173 82224 -1 2 0x10 syz-executor 9974 449847 82224 -1 3 0x4000090 fsleep syz-executor 74084 167785 2461 0 2 0 syz-executor 74084 176845 2461 0 3 0x4000080 fsleep syz-executor 74084 167733 2461 0 3 0x4000080 fsleep syz-executor 74084 513758 2461 0 3 0x4000080 fsleep syz-executor 78520 424851 47357 0 2 0 syz-executor 78520 431441 47357 0 3 0x4000000 smrbar syz-executor 83223 52297 89518 0 2 0 syz-executor *83223 342362 89518 0 7 0x4000000 syz-executor 83223 198219 89518 0 2 0x4000000 syz-executor 83223 319893 89518 0 3 0x4000080 fsleep syz-executor 94968 337053 92194 0 2 0 syz-executor 94968 136742 92194 0 3 0x4000080 fsleep syz-executor 97874 72787 0 0 3 0x14200 bored sosplice 82224 149302 29865 0 3 0x82 nanoslp syz-executor 2461 218012 29865 0 3 0x82 nanoslp syz-executor 48056 208328 29865 0 3 0x82 nanoslp syz-executor 89518 200352 29865 0 3 0x82 nanoslp syz-executor 92194 396796 29865 0 3 0x82 nanoslp syz-executor 49431 225284 29865 0 3 0x82 nanoslp syz-executor 47357 483374 29865 0 3 0x82 nanoslp syz-executor 66276 287457 29865 0 3 0x82 nanoslp syz-executor 29865 164000 56863 0 3 0x82 kqread syz-executor 56863 262228 90837 0 3 0x10008a sigsusp ksh 90837 151046 62370 0 3 0x98 kqread sshd-session 62370 480398 89988 0 3 0x92 kqread sshd-session 49098 378448 1 0 3 0x100083 ttyopn getty 89988 288797 1 0 3 0x88 kqread sshd 81403 212363 74641 73 3 0x1100090 kqread syslogd 74641 282426 1 0 3 0x100082 sbwait syslogd 5770 64999 1 0 3 0x100080 kqread resolvd 80832 457835 58646 77 3 0x100092 kqread dhcpleased 3610 19737 58646 77 3 0x100092 kqread dhcpleased 58646 363515 1 0 3 0x80 kqread dhcpleased 85440 13359 0 0 3 0x14200 bored smr 38385 479497 0 0 2 0x14200 zerothread 96350 285166 0 0 3 0x14200 aiodoned aiodoned 23213 103235 0 0 3 0x14200 syncer update 8717 249661 0 0 3 0x14200 cleaner cleaner 30523 266396 0 0 3 0x14200 reaper reaper 28326 320141 0 0 3 0x14200 pgdaemon pagedaemon 97848 142196 0 0 3 0x14200 bored viomb 14992 343421 0 0 3 0x40014200 acpi0 acpi0 90745 375427 0 0 3 0x14200 bored softnet3 3312 447670 0 0 3 0x14200 bored softnet2 11998 227448 0 0 3 0x14200 bored softnet1 59900 275887 0 0 3 0x14200 bored softnet0 5915 58345 0 0 3 0x14200 bored systqmp 47689 45478 0 0 3 0x14200 bored systq 65759 365032 0 0 3 0x40014200 tmoslp softclock 21331 97247 0 0 3 0x40014200 idle0 1 327991 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 10186 11181K 11524K 166960K 11950 0 pcb 17 15K 16K 166960K 149 0 rtable 212 6K 7K 166960K 375 0 pf 32 13K 13K 166960K 45 0 ifaddr 45 7K 7K 166960K 55 0 ifgroup 52 2K 2K 166960K 66 0 sysctl 3 1K 9K 166960K 7 0 counters 33 17K 17K 166960K 40 0 ioctlops 0 0K 4K 166960K 126 0 iov 0 0K 16K 166960K 112 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1404 88K 89K 166960K 1679 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 0K 166960K 11 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 398 0 sigio 0 0K 0K 166960K 11 0 proc 61 67K 100K 166960K 507 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 47 0 in_multi 102 7K 7K 166960K 116 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 370 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 228 151K 169K 166960K 4901 0 UVM aobj 82 3K 3K 166960K 84 0 pinsyscall 39 78K 102K 166960K 1417 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 12 0 NDP 12 0K 2K 166960K 32 0 temp 47 8681K 8748K 166960K 5381 0 kqueue 14 22K 28K 166960K 75 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 55 0 52 1 0 1 1 0 8 0 rtentry 136 116 0 18 4 0 4 4 0 8 0 unpcb 144 608 0 591 10 9 1 10 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 121 0 117 7 6 1 7 0 8 0 arp 88 18 0 2 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 0 1 0 1 1 0 8 0 inpcb 328 604 0 597 10 3 7 10 0 8 6 nd6 104 25 0 0 1 0 1 1 0 8 0 pkpcb 40 2 0 2 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 6 0 5 2 1 1 1 0 8 0 pppxif 1384 2 0 2 1 1 0 1 0 8 0 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 527 0 57 30 0 30 30 0 8 0 art_table 32 528 0 57 4 0 4 4 0 8 0 art_node 16 115 0 27 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 3 1 0 1 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 81 0 2 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2018 0 518 95 0 95 95 0 8 0 ffsino 248 2018 0 518 95 0 95 95 0 8 0 nchpl 144 2574 0 897 63 0 63 63 0 8 0 uvmvnodes 80 2321 0 0 48 0 48 48 0 8 0 vnodes 216 2321 0 0 129 0 129 129 0 8 0 namei 1024 8575 0 8575 1 0 1 1 0 8 1 kstatmem 264 32 0 8 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 8078 0 8078 8 7 1 8 1 8 1 plimitpl 152 92 0 75 1 0 1 1 0 8 0 sigapl 424 666 0 619 6 0 6 6 0 8 0 knotepl 120 23897 0 23613 29 20 9 16 0 8 0 kqueuepl 184 198 0 187 4 3 1 4 0 8 0 pipepl 296 124 0 97 3 0 3 3 0 8 0 fdescpl 440 649 0 619 5 1 4 5 0 8 0 filepl 120 4354 0 4131 15 6 9 15 0 8 2 lockfpl 104 151 0 149 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 31 0 15 1 0 1 1 0 8 0 ucredpl 104 513 0 501 1 0 1 1 0 8 0 zombiepl 144 639 0 638 1 0 1 1 0 8 0 processpl 1160 666 0 619 4 0 4 4 0 8 0 procpl 656 1069 0 1011 6 0 6 6 0 8 0 sosppl 168 3 0 3 1 1 0 1 0 8 0 sockpl 528 1280 0 1253 19 12 7 19 0 8 5 mcl64k 65536 5 0 5 1 1 0 1 0 8 0 mcl16k 16384 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 6 0 6 1 1 0 1 0 8 0 mcl4k 4096 2802 0 2752 13 5 8 12 0 8 1 mcl2k 2048 482 0 481 1 0 1 1 0 8 0 mtagpl 96 17 0 6 1 0 1 1 0 8 0 mbufpl 256 7365 0 7193 15 3 12 14 0 8 0 bufpl 280 2708 0 120 185 0 185 185 0 8 0 anonpl 24 77148 0 73943 33 4 29 33 0 187 2 amapchunkpl 152 14652 0 14161 29 2 27 27 0 158 8 amappl16 200 347 0 316 3 0 3 3 0 8 0 amappl14 184 136 0 126 1 0 1 1 0 8 0 amappl13 176 34 0 34 1 1 0 1 0 8 0 amappl12 168 1257 0 1227 2 0 2 2 0 8 0 amappl11 160 41 0 31 1 0 1 1 0 8 0 amappl9 144 248 0 248 1 1 0 1 0 8 0 amappl8 136 25 0 23 1 0 1 1 0 8 0 amappl7 128 111 0 101 1 0 1 1 0 8 0 amappl6 120 164 0 161 1 0 1 1 0 8 0 amappl5 112 107 0 101 1 0 1 1 0 8 0 amappl4 104 300 0 283 1 0 1 1 0 8 0 amappl3 96 2829 0 2717 3 0 3 3 0 8 0 amappl2 88 603 0 547 2 0 2 2 0 8 0 amappl1 80 8926 0 8376 15 3 12 15 0 8 0 amappl 88 4201 0 4036 4 0 4 4 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 254 0 254 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 83 0 2 2 0 2 2 0 8 0 uaddrrnd 24 649 0 619 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 649 0 619 1 0 1 1 0 8 0 vmmpekpl 168 6624 0 6595 2 0 2 2 0 8 0 vmmpepl 168 44805 0 42921 87 4 83 87 0 357 1 vmsppl 360 648 0 619 4 1 3 4 0 8 0 rwobjpl 32 15191 0 11938 27 0 27 27 0 8 0 pdppl 4096 1304 0 1238 98 32 66 80 0 8 0 pvpl 32 251797 0 242781 101 3 98 101 0 265 16 pmappl 216 648 0 619 3 1 2 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 271 0 52 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80003c988548,ffff80003c94dae0,ffff80003c94da30) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003c988548,ffff80003c94dae0,ffff80003c94da30) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c94dae0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94dae0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x188079e78e0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80003c988548,ffff80003c94dae0,ffff80003c94da30) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003c988548,ffff80003c94dae0,ffff80003c94da30) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c94dae0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94dae0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x188079e78e0, count: -3