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(ffff80002a7c27c8,ffff80003c993090,ffff80003c992fe0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7c27c8,ffff80003c993090,ffff80003c992fe0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c993090) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c993090) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x217f25fe0a0, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff80003c992fb0 rbx 0 rdx 0 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0xdf909c603fd1178d r11 0xdf3c031e012ba655 r12 0xfffffd806c28ec58 r13 0xdead4110dead4110 r14 0xffff8000014d6200 r15 0xa rip 0xffffffff82fe04f2 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003c992f10 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=457297 pid=40286 tcnt=4 stat=onproc flags process=10 proc=4000000 runpri=36, usrpri=83, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7c39b8,0xffff80002a7c2f88 process=0xffff800035d16d68 user=0xffff80003c98e000, vmspace=0xfffffd80712c9010 estcpu=33, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 23429 523143 19812 0 2 0 syz-executor 23429 402873 19812 0 3 0x4000000 smrbar syz-executor 96965 32509 43153 0 2 0 syz-executor 96965 83181 43153 0 3 0x4000080 fsleep syz-executor 2160 188415 76157 0 2 0 syz-executor 2160 291345 76157 0 3 0x4000080 bell syz-executor 2160 169947 76157 0 2 0x4000000 syz-executor 40286 380057 68312 -1 2 0x10 syz-executor *40286 457297 68312 -1 7 0x4000010 syz-executor 40286 223871 68312 -1 3 0x4000090 fsleep syz-executor 40286 150448 68312 -1 2 0x4000010 syz-executor 85832 44276 17935 0 2 0 syz-executor 85832 68211 17935 0 3 0x4000080 ttyin syz-executor 85832 22818 17935 0 2 0x4000000 syz-executor 85832 355252 17935 0 3 0x4000080 fsleep syz-executor 81236 497056 60894 0 3 0 vmmaplk syz-executor 81236 274011 60894 0 2 0x4000000 syz-executor 19812 259983 68960 0 3 0x82 nanoslp syz-executor 56457 148392 68960 0 2 0x2 syz-executor 9334 285930 1 0 3 0x100083 ttyin getty 68312 260376 68960 0 3 0x82 nanoslp syz-executor 43153 280694 68960 0 3 0x82 nanoslp syz-executor 17935 93263 68960 0 3 0x82 nanoslp syz-executor 69188 297294 0 0 3 0x14200 bored sosplice 76157 240599 68960 0 3 0x82 nanoslp syz-executor 60894 60645 68960 0 3 0x82 nanoslp syz-executor 65959 136535 68960 0 3 0x82 wait syz-executor 68960 413237 3519 0 3 0x82 kqread syz-executor 3519 358960 9890 0 3 0x10008a sigsusp ksh 9890 111432 39234 0 3 0x98 kqread sshd-session 39234 143968 18735 0 3 0x92 kqread sshd-session 18735 82382 1 0 3 0x88 kqread sshd 13333 164001 39754 73 3 0x1100090 kqread syslogd 39754 283013 1 0 3 0x100082 sbwait syslogd 62710 72400 1 0 3 0x100080 kqread resolvd 70924 403169 10480 77 3 0x100092 kqread dhcpleased 49209 468186 10480 77 3 0x100092 kqread dhcpleased 10480 134335 1 0 3 0x80 kqread dhcpleased 9627 214130 0 0 3 0x14200 bored smr 54848 496251 0 0 2 0x14200 zerothread 22801 418875 0 0 3 0x14200 aiodoned aiodoned 90359 514189 0 0 3 0x14200 syncer update 1145 357478 0 0 3 0x14200 cleaner cleaner 15511 59385 0 0 3 0x14200 reaper reaper 87255 119674 0 0 3 0x14200 pgdaemon pagedaemon 32620 413982 0 0 3 0x14200 bored viomb 75171 278026 0 0 3 0x40014200 acpi0 acpi0 27473 76876 0 0 3 0x14200 bored softnet3 73199 480706 0 0 3 0x14200 bored softnet2 84320 11809 0 0 3 0x14200 bored softnet1 2865 9867 0 0 3 0x14200 bored softnet0 10744 77625 0 0 3 0x14200 bored systqmp 11787 402814 0 0 3 0x14200 bored systq 68476 267143 0 0 3 0x40014200 tmoslp softclock 7959 28184 0 0 3 0x40014200 idle0 1 356701 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 10182 11045K 12114K 166960K 13086 0 pcb 18 14K 16K 166960K 384 0 rtable 203 7K 8K 166960K 572 0 pf 34 13K 16K 166960K 111 0 ifaddr 41 7K 8K 166960K 108 0 ifgroup 50 2K 2K 166960K 163 0 sysctl 3 1K 9K 166960K 10 0 counters 32 17K 18K 166960K 75 0 ioctlops 0 0K 4K 166960K 243 0 iov 2 14K 14K 166960K 66 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1519 95K 96K 166960K 2564 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 24 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 69 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 1229 0 sigio 0 0K 0K 166960K 27 0 proc 60 59K 124K 166960K 794 0 subproc 72 4K 4K 166960K 127 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 146 0 in_multi 94 6K 7K 166960K 213 0 ether_multi 1 0K 0K 166960K 13 0 mrt 0 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 587 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 239 160K 183K 166960K 12371 0 UVM aobj 27 5K 5K 166960K 32 0 pinsyscall 38 76K 96K 166960K 2450 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 79 0 NDP 13 0K 2K 166960K 69 0 temp 71 8688K 8799K 166960K 48211 0 kqueue 14 22K 30K 166960K 205 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 184 0 180 3 0 3 3 0 8 2 rtentry 136 183 0 101 4 0 4 4 0 8 0 unpcb 144 1024 0 1009 9 6 3 7 0 8 2 syncache 336 9 0 9 2 1 1 1 0 8 1 tcpqe 32 6 0 6 2 1 1 1 0 8 1 tcpcb 736 556 0 546 11 6 5 7 0 8 3 arp 88 22 0 11 1 0 1 1 0 8 0 ipq 40 2 0 2 1 0 1 1 0 8 1 ipqe 40 3 0 3 1 0 1 1 0 8 1 inpcb 328 1443 0 1428 12 5 7 7 0 8 5 ip6q 72 5 0 1 1 0 1 1 0 8 0 ip6af 40 7 0 3 1 0 1 1 0 8 0 nd6 104 35 0 18 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 1 1 1 0 8 1 kcovpl 48 14 0 6 1 0 1 1 0 8 0 ppxss 1072 22 0 22 2 1 1 1 0 8 1 pppxif 1384 8 0 8 1 0 1 1 0 8 1 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 10 0 7 1 0 1 1 0 8 0 pfstate 384 5 0 3 1 0 1 1 0 8 0 pfrule 1344 7 0 5 1 0 1 1 0 8 0 art_heap8 4096 5 0 0 5 0 5 5 0 8 0 art_heap4 256 831 0 418 30 3 27 30 0 8 1 art_table 40 836 0 418 5 0 5 5 0 8 0 art_node 32 182 0 110 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 13 1 0 1 1 0 8 0 semupl 112 4 0 4 2 1 1 1 0 8 1 semapl 112 65 0 55 1 0 1 1 0 8 0 shmpl 112 29 0 5 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 3528 0 2022 95 0 95 95 0 8 0 ffsino 248 3528 0 2022 95 0 95 95 0 8 0 nchpl 144 5225 0 4677 63 41 22 63 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 uvmvnodes 80 4374 0 0 90 0 90 90 0 8 0 vnodes 216 4374 0 0 243 0 243 243 0 8 0 namei 1024 19242 0 19242 3 1 2 2 0 8 2 kstatmem 264 82 0 60 3 0 3 3 0 8 1 scsiplug 72 5 0 5 2 1 1 1 0 8 1 scxspl 216 20389 0 20389 9 7 2 8 1 8 2 plimitpl 152 272 0 254 1 0 1 1 0 8 0 sigapl 424 1508 0 1462 7 1 6 7 0 8 0 knotepl 120 138297 0 138247 18 8 10 10 0 8 8 kqueuepl 184 437 0 427 4 0 4 4 0 8 3 pipepl 296 214 0 187 3 0 3 3 0 8 0 fdescpl 440 1488 0 1459 5 1 4 5 0 8 0 filepl 120 9989 0 9771 14 3 11 12 0 8 2 lockfpl 104 782 0 779 2 0 2 2 0 8 1 lockfspl 48 352 0 349 1 0 1 1 0 8 0 sessionpl 144 34 0 26 1 0 1 1 0 8 0 pgrppl 48 67 0 51 1 0 1 1 0 8 0 ucredpl 104 1550 0 1537 1 0 1 1 0 8 0 zombiepl 144 1750 0 1749 1 0 1 1 0 8 0 processpl 1160 1508 0 1462 4 0 4 4 0 8 0 procpl 656 3124 0 3067 6 0 6 6 0 8 0 sosppl 168 4 0 4 2 1 1 1 0 8 1 sockpl 528 2681 0 2647 17 10 7 13 0 8 3 mcl64k 65536 101 0 101 2 1 1 1 0 8 1 mcl16k 16384 3 0 3 2 1 1 1 0 8 1 mcl8k 8192 15 0 15 2 1 1 1 0 8 1 mcl4k 4096 3831 0 3781 15 7 8 14 0 8 1 mcl2k2 2112 3 0 3 1 1 0 1 0 8 0 mcl2k 2048 1794 0 1789 3 1 2 3 0 8 0 mtagpl 96 163 0 60 4 0 4 4 0 8 0 mbufpl 256 87327 0 87076 145 118 27 80 0 8 8 bufpl 280 7085 0 858 445 0 445 445 0 8 0 anonpl 24 220719 0 213064 85 13 72 72 0 187 17 amapchunkpl 152 41462 0 40886 50 12 38 38 0 158 12 amappl16 200 4080 0 3846 34 13 21 26 0 8 8 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 142 0 132 1 0 1 1 0 8 0 amappl13 176 3 0 3 1 1 0 1 0 8 0 amappl12 168 2198 0 2169 3 1 2 3 0 8 0 amappl11 160 43 0 33 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 248 0 248 1 1 0 1 0 8 0 amappl8 136 29 0 27 1 0 1 1 0 8 0 amappl7 128 118 0 108 1 0 1 1 0 8 0 amappl6 120 234 0 230 1 0 1 1 0 8 0 amappl5 112 134 0 128 1 0 1 1 0 8 0 amappl4 104 296 0 279 1 0 1 1 0 8 0 amappl3 96 8146 0 8032 4 0 4 4 0 8 0 amappl2 88 742 0 685 2 0 2 2 0 8 0 amappl1 80 13613 0 13072 13 0 13 13 0 8 0 amappl 88 11368 0 11193 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 7 0 7 2 1 1 1 0 8 1 dma128 128 254 0 254 1 1 0 1 0 8 0 dma64 64 7 0 7 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 20 0 19 1 0 1 1 0 8 0 aobjpl 72 31 0 5 1 0 1 1 0 8 0 uaddrrnd 24 1488 0 1459 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1488 0 1459 1 0 1 1 0 8 0 vmmpekpl 168 12180 0 12126 3 0 3 3 0 8 0 vmmpepl 168 97833 0 95752 111 6 105 105 0 357 12 vmsppl 360 1487 0 1459 4 1 3 4 0 8 0 rwobjpl 32 30777 0 25304 45 0 45 45 0 8 0 pdppl 4096 2982 0 2918 110 42 68 82 0 8 4 pvpl 32 630166 0 617126 175 25 150 150 0 265 31 pmappl 216 1487 0 1459 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 432 0 184 9 0 9 9 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a7c27c8,ffff80003c993090,ffff80003c992fe0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7c27c8,ffff80003c993090,ffff80003c992fe0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c993090) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c993090) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x217f25fe0a0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a7c27c8,ffff80003c993090,ffff80003c992fe0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7c27c8,ffff80003c993090,ffff80003c992fe0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c993090) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c993090) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x217f25fe0a0, count: -3