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(ffff80002a7a8a50,ffff80003c95f6b0,ffff80003c95f600) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7a8a50,ffff80003c95f6b0,ffff80003c95f600) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c95f6b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c95f6b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x87bd662590, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff80003c95f5d0 rbx 0 rdx 0xffff80000146a780 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0xe77075d414ad8684 r11 0xfdb5ae741e28849c r12 0xfffffd8064313eb8 r13 0xdeaf4152deaf4152 r14 0xffff80000149ec00 r15 0xa rip 0xffffffff81bfb822 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003c95f530 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=126905 pid=89390 tcnt=4 stat=onproc flags process=10 proc=4000000 runpri=36, usrpri=50, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c9739c8,0xffff80002a7f2550 process=0xffff800035d184a0 user=0xffff80003c95a000, vmspace=0xfffffd806c285e20 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 89390 444481 53996 0 2 0x10 syz-executor *89390 126905 53996 0 7 0x4000010 syz-executor 89390 299328 53996 0 3 0x4000090 fsleep syz-executor 89390 305344 53996 0 2 0x4000010 syz-executor 51846 293906 0 0 3 0x14200 acct acct 86939 336615 0 0 3 0x14200 bored sosplice 44290 357864 37596 0 3 0x82 piperd syz-executor 16651 233664 37596 0 3 0x82 piperd syz-executor 53996 200906 37596 0 2 0xc82 syz-executor 20069 283424 37596 0 3 0x82 piperd syz-executor 59140 93201 37596 0 3 0x82 piperd syz-executor 87642 196681 37596 0 3 0x82 piperd syz-executor 87915 403539 37596 0 3 0x82 piperd syz-executor 37596 112881 53370 0 3 0x82 wait syz-executor 53370 440248 52607 0 3 0x10008a sigsusp ksh 52607 295392 28095 0 3 0x98 kqread sshd-session 28095 138000 15540 0 3 0x92 kqread sshd-session 54672 491350 1 0 3 0x100083 ttyin getty 15540 178331 1 0 3 0x88 kqread sshd 19858 222569 2984 73 3 0x1100090 kqread syslogd 2984 120618 1 0 3 0x100082 sbwait syslogd 60719 476620 1 0 3 0x100080 kqread resolvd 14690 495713 79932 77 3 0x100092 kqread dhcpleased 77146 391522 79932 77 3 0x100092 kqread dhcpleased 79932 357198 1 0 3 0x80 kqread dhcpleased 65605 208128 0 0 3 0x14200 bored smr 15302 106063 0 0 2 0x14200 zerothread 1016 311376 0 0 3 0x14200 aiodoned aiodoned 51423 81324 0 0 3 0x14200 syncer update 88722 383362 0 0 3 0x14200 cleaner cleaner 37666 490989 0 0 3 0x14200 reaper reaper 67921 470994 0 0 3 0x14200 pgdaemon pagedaemon 11326 354570 0 0 3 0x14200 bored viomb 22595 164133 0 0 3 0x40014200 acpi0 acpi0 86610 386776 0 0 3 0x14200 bored softnet3 98519 252672 0 0 3 0x14200 bored softnet2 3157 93362 0 0 3 0x14200 bored softnet1 10408 15427 0 0 3 0x14200 bored softnet0 88252 475316 0 0 3 0x14200 bored systqmp 18375 368661 0 0 3 0x14200 bored systq 56139 421874 0 0 2 0x40014200 softclock 33571 469909 0 0 3 0x40014200 idle0 1 176069 0 0 3 0x80082 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 10178 11039K 11474K 166960K 11890 0 pcb 17 16K 18K 166960K 228 0 rtable 254 11K 11K 166960K 781 0 pf 36 14K 15K 166960K 370 0 ifaddr 42 7K 8K 166960K 108 0 ifgroup 50 2K 2K 166960K 124 0 sysctl 4 1K 9K 166960K 11 0 counters 32 17K 18K 166960K 56 0 ioctlops 0 0K 4K 166960K 253 0 iov 0 0K 16K 166960K 29 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1373 86K 87K 166960K 1885 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 58 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 11 37K 236K 166960K 772 0 sigio 0 0K 0K 166960K 11 0 proc 60 59K 124K 166960K 866 0 subproc 72 4K 4K 166960K 180 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 54 0 in_multi 102 7K 7K 166960K 248 0 ether_multi 1 0K 0K 166960K 3 0 mrt 2 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 548 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 174 157K 173K 166960K 7750 0 UVM aobj 81 5K 5K 166960K 83 0 pinsyscall 32 64K 96K 166960K 2108 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 29 0 NDP 13 0K 2K 166960K 73 0 temp 55 8683K 8809K 166960K 20723 0 kqueue 13 20K 32K 166960K 98 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 130 0 127 2 1 1 2 0 8 0 rtentry 136 257 0 144 4 0 4 4 0 8 0 unpcb 144 347 0 332 1 0 1 1 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 246 0 242 10 9 1 10 0 8 0 arp 88 45 0 25 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 759 0 752 17 11 6 12 0 8 5 nd6 104 65 0 38 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 20 0 12 1 0 1 1 0 8 0 ppxss 1072 9 0 9 2 1 1 1 0 8 1 pppxif 1384 2 0 2 1 0 1 1 0 8 1 pfrktable 1344 1 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 2 1 0 1 1 0 8 0 pfstkey 128 4 0 1 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1344 65 0 0 6 0 6 6 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 1071 0 592 33 2 31 31 0 8 0 art_table 32 1074 0 592 4 0 4 4 0 8 0 art_node 16 254 0 153 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 5 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 56 0 46 1 0 1 1 0 8 0 shmpl 112 80 0 2 3 0 3 3 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2411 0 888 96 0 96 96 0 8 0 ffsino 248 2411 0 888 96 0 96 96 0 8 0 nchpl 144 3245 0 1535 64 0 64 64 0 8 0 rtmask 32 1 0 1 1 1 0 1 0 8 0 uvmvnodes 80 2865 0 0 59 0 59 59 0 8 0 vnodes 216 2865 0 0 160 0 160 160 0 8 0 namei 1024 11456 0 11456 3 2 1 2 0 8 1 kstatmem 264 64 0 42 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 1 0 1 0 8 0 scxspl 216 10105 0 10105 8 7 1 8 1 8 1 plimitpl 152 134 0 118 1 0 1 1 0 8 0 sigapl 424 1018 0 977 7 1 6 7 0 8 0 knotepl 120 19409 0 19362 21 11 10 13 0 8 7 kqueuepl 184 190 0 181 3 2 1 3 0 8 0 pipepl 296 162 0 135 3 0 3 3 0 8 0 fdescpl 440 1000 0 977 5 1 4 5 0 8 0 filepl 120 4910 0 4707 14 5 9 13 0 8 2 lockfpl 104 234 0 232 1 0 1 1 0 8 0 lockfspl 48 93 0 91 1 0 1 1 0 8 0 sessionpl 144 34 0 26 1 0 1 1 0 8 0 pgrppl 48 60 0 44 1 0 1 1 0 8 0 ucredpl 104 529 0 517 1 0 1 1 0 8 0 zombiepl 144 1205 0 1204 1 0 1 1 0 8 0 processpl 1160 1018 0 977 4 0 4 4 0 8 0 procpl 656 1825 0 1781 6 0 6 6 0 8 0 sosppl 168 5 0 5 2 1 1 1 0 8 1 sockpl 528 1309 0 1284 15 9 6 11 0 8 4 mcl64k 65536 6 0 6 2 1 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 8 0 8 2 1 1 1 0 8 1 mcl4k 4096 3014 0 2959 16 8 8 15 0 8 0 mcl2k 2048 894 0 892 4 2 2 3 0 8 1 mtagpl 96 58 0 9 2 0 2 2 0 8 0 mbufpl 256 10286 0 10057 48 30 18 46 0 8 1 bufpl 280 4141 0 119 288 0 288 288 0 8 0 anonpl 24 116683 0 113955 65 21 44 44 0 187 20 amapchunkpl 152 23250 0 22951 28 2 26 26 0 158 10 amappl16 200 1347 0 1319 27 17 10 15 0 8 8 amappl15 192 5 0 4 1 0 1 1 0 8 0 amappl14 184 130 0 120 1 0 1 1 0 8 0 amappl13 176 1 0 1 1 1 0 1 0 8 0 amappl12 168 1802 0 1778 3 1 2 3 0 8 0 amappl11 160 42 0 32 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 251 0 251 1 1 0 1 0 8 0 amappl8 136 19 0 18 1 0 1 1 0 8 0 amappl7 128 115 0 105 1 0 1 1 0 8 0 amappl6 120 287 0 283 1 0 1 1 0 8 0 amappl5 112 157 0 150 1 0 1 1 0 8 0 amappl4 104 322 0 305 1 0 1 1 0 8 0 amappl3 96 4699 0 4631 5 1 4 4 0 8 1 amappl2 88 786 0 732 2 0 2 2 0 8 0 amappl1 80 11431 0 10903 14 1 13 14 0 8 0 amappl 88 6812 0 6702 5 0 5 5 0 92 1 dma65536 65536 1 0 1 1 1 0 1 0 8 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 255 0 255 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 82 0 2 2 0 2 2 0 8 0 uaddrrnd 24 1000 0 977 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1000 0 977 1 0 1 1 0 8 0 vmmpekpl 168 9414 0 9372 3 0 3 3 0 8 0 vmmpepl 168 66945 0 65410 95 8 87 92 0 357 3 vmsppl 360 999 0 977 4 1 3 4 0 8 0 rwobjpl 32 21905 0 18166 31 0 31 31 0 8 0 pdppl 4096 2007 0 1954 118 49 69 83 0 8 16 pvpl 32 381996 0 374974 153 40 113 119 0 265 34 pmappl 216 999 0 977 3 0 3 3 0 8 1 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 344 0 108 9 0 9 9 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a7a8a50,ffff80003c95f6b0,ffff80003c95f600) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7a8a50,ffff80003c95f6b0,ffff80003c95f600) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c95f6b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c95f6b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x87bd662590, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a7a8a50,ffff80003c95f6b0,ffff80003c95f600) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7a8a50,ffff80003c95f6b0,ffff80003c95f600) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c95f6b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c95f6b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x87bd662590, count: -3