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(ffff80002a8227e0,ffff800033943a70,ffff8000339439c0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a8227e0,ffff800033943a70,ffff8000339439c0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff800033943a70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800033943a70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfceae2c5160, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff8000339439a0 rbx 0 rdx 0 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x66fb532b7e857d39 r11 0x572986be9d07dc93 r12 0xfffffd80634b6e88 r13 0xdead4110dead4110 r14 0xffff800000b50300 r15 0xa rip 0xffffffff82b79872 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800033943900 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=184400 pid=56726 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=0xffff80002a822018,0xffff80002a824a98 process=0xffff80002cd2e018 user=0xffff80003393e000, vmspace=0xfffffd806ba51b90 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 16157 170450 54254 0 2 0 syz-executor 16157 514787 54254 0 3 0x4000080 ttyin syz-executor 99934 349912 93368 0 2 0 syz-executor 99934 140424 93368 0 3 0x4000080 fsleep syz-executor 22662 294331 31085 0 2 0 syz-executor 22662 328215 31085 0 3 0x4000080 fsleep syz-executor 93993 451020 65555 0 2 0 syz-executor 93993 224129 65555 0 3 0x4000080 fsleep syz-executor 93993 476197 65555 0 3 0x4000080 fsleep syz-executor 56726 349410 7676 0 2 0 syz-executor *56726 184400 7676 0 7 0x4000000 syz-executor 56726 327014 7676 0 2 0x4000000 syz-executor 56726 475879 7676 0 3 0x4000080 fsleep syz-executor 88028 325549 44691 -1 2 0x10 syz-executor 88028 470118 44691 -1 3 0x4000090 kqread syz-executor 54041 136216 85327 0 3 0x80 nanoslp syz-executor 54041 278666 85327 0 3 0x4000080 sbwait syz-executor 99721 51115 0 0 3 0x14200 bored sosplice 7676 326072 36661 0 3 0x82 nanoslp syz-executor 65555 302607 36661 0 2 0xc82 syz-executor 85327 263200 36661 0 2 0xc82 syz-executor 31085 78069 36661 0 2 0xc82 syz-executor 93368 64283 36661 0 2 0xc82 syz-executor 44691 317891 36661 0 3 0x82 nanoslp syz-executor 28901 180119 36661 0 2 0x2 syz-executor 54254 424594 36661 0 2 0xc82 syz-executor 36661 442581 25497 0 3 0x82 kqread syz-executor 25497 118252 65638 0 3 0x10008a sigsusp ksh 65638 352845 85940 0 3 0x98 kqread sshd-session 85940 381557 74651 0 3 0x92 kqread sshd-session 91085 253820 1 0 3 0x100083 ttyin getty 74651 393655 1 0 3 0x88 kqread sshd 44392 300463 39401 73 3 0x1100090 kqread syslogd 39401 81939 1 0 3 0x100082 sbwait syslogd 50758 108599 1 0 3 0x100080 kqread resolvd 77897 119504 69353 77 3 0x100092 kqread dhcpleased 25945 84456 69353 77 3 0x100092 kqread dhcpleased 69353 258661 1 0 3 0x80 kqread dhcpleased 63002 130148 0 0 3 0x14200 bored smr 87696 36401 0 0 2 0x14200 zerothread 97701 3844 0 0 3 0x14200 aiodoned aiodoned 8575 370758 0 0 3 0x14200 syncer update 93360 435496 0 0 3 0x14200 cleaner cleaner 99828 11818 0 0 3 0x14200 reaper reaper 89755 385344 0 0 3 0x14200 pgdaemon pagedaemon 76360 450760 0 0 3 0x14200 bored viomb 24939 238668 0 0 3 0x40014200 acpi0 acpi0 46886 470939 0 0 3 0x14200 bored softnet7 9057 471739 0 0 3 0x14200 bored softnet6 96927 53926 0 0 3 0x14200 bored softnet5 42048 183989 0 0 3 0x14200 bored softnet4 10345 329189 0 0 3 0x14200 bored softnet3 36302 233569 0 0 3 0x14200 bored softnet2 11263 128993 0 0 3 0x14200 bored softnet1 32495 480025 0 0 3 0x14200 bored softnet0 82115 375529 0 0 3 0x14200 bored systqmp 52663 501900 0 0 3 0x14200 bored systq 14726 389151 0 0 2 0x40014200 softclock 74792 53186 0 0 3 0x40014200 idle0 1 108627 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 10212 11062K 11235K 166960K 11970 0 pcb 17 14K 16K 166960K 139 0 rtable 157 7K 8K 166960K 339 0 pf 31 13K 20K 166960K 65 0 ifaddr 31 4K 7K 166960K 55 0 ifgroup 50 2K 2K 166960K 71 0 sysctl 4 1K 9K 166960K 13 0 counters 32 17K 18K 166960K 110 0 ioctlops 0 0K 4K 166960K 172 0 iov 0 0K 16K 166960K 16 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1401 88K 89K 166960K 1777 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 4 0K 0K 166960K 5 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 415 0 sigio 0 0K 0K 166960K 4 0 proc 60 59K 124K 166960K 509 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 39 0 in_multi 62 4K 7K 166960K 116 0 ether_multi 1 0K 0K 166960K 5 0 mrt 1 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 217 970K 970K 166960K 217 0 exec 0 0K 2K 166960K 426 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 218 151K 161K 166960K 5069 0 UVM aobj 68 3K 3K 166960K 68 0 pinsyscall 38 76K 96K 166960K 1404 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 16 0 NDP 11 0K 2K 166960K 35 0 temp 44 8635K 8710K 166960K 5279 0 kqueue 14 22K 26K 166960K 74 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 54 0 50 1 0 1 1 0 8 0 rtentry 136 108 0 50 4 0 4 4 0 8 0 unpcb 144 263 0 244 1 0 1 1 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 170 0 165 7 0 7 7 0 8 6 arp 88 15 0 4 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 1 1 0 1 1 0 8 0 inpcb 328 401 0 391 8 1 7 7 0 8 5 ip6q 72 3 0 1 1 0 1 1 0 8 0 ip6af 40 4 0 2 1 0 1 1 0 8 0 nd6 104 18 0 7 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 77 0 77 1 0 1 1 0 8 1 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 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 pfrule 1344 1 0 1 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 505 0 231 28 0 28 28 0 8 8 art_table 40 509 0 231 5 0 5 5 0 8 0 art_node 32 106 0 55 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 2 1 0 1 1 0 8 0 semapl 112 3 0 1 1 0 1 1 0 8 0 shmpl 112 65 0 0 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2035 0 540 95 0 95 95 0 8 0 ffsino 256 2035 0 540 95 0 95 95 0 8 0 nchpl 144 2583 0 906 63 0 63 63 0 8 0 rtmask 32 4 0 4 1 0 1 1 0 8 1 uvmvnodes 80 2402 0 0 50 0 50 50 0 8 0 vnodes 216 2402 0 0 134 0 134 134 0 8 0 namei 1024 8361 0 8360 3 2 1 2 0 8 0 kstatmem 264 38 0 16 3 0 3 3 0 8 1 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 8715 0 8715 15 7 8 8 1 8 8 plimitpl 152 71 0 55 1 0 1 1 0 8 0 sigapl 424 664 0 614 7 1 6 7 0 8 0 knotepl 120 23551 0 23503 10 0 10 10 0 8 8 kqueuepl 184 97 0 85 1 0 1 1 0 8 0 pipepl 304 113 0 86 3 0 3 3 0 8 0 fdescpl 448 643 0 614 5 1 4 5 0 8 0 filepl 120 3212 0 2985 11 1 10 10 0 8 3 lockfpl 104 323 0 321 3 1 2 2 0 8 1 lockfspl 48 158 0 156 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 104 517 0 505 1 0 1 1 0 8 0 zombiepl 144 749 0 749 2 1 1 1 0 8 1 processpl 1168 664 0 614 5 1 4 5 0 8 0 procpl 664 1071 0 1011 6 0 6 6 0 8 0 sosppl 168 2 0 2 1 1 0 1 0 8 0 sockpl 552 723 0 690 8 0 8 8 0 8 5 mcl64k 65536 19 0 19 2 1 1 1 0 8 1 mcl16k 16384 9 0 9 1 0 1 1 0 8 1 mcl12k 12288 4 0 4 1 0 1 1 0 8 1 mcl8k 8192 15 0 15 2 1 1 1 0 8 1 mcl4k 4096 2855 0 2803 15 7 8 14 0 8 1 mcl2k 2048 559 0 555 5 1 4 4 0 8 3 mtagpl 96 13 0 9 2 1 1 1 0 8 0 mbufpl 256 6568 0 6410 14 0 14 14 0 8 1 bufpl 280 3231 0 117 223 0 223 223 0 8 0 anonpl 24 121403 0 118308 48 3 45 45 0 187 19 amapchunkpl 152 16303 0 15853 31 0 31 31 0 158 11 amappl16 200 1575 0 1547 6 3 3 4 0 8 0 amappl15 192 2 0 2 1 1 0 1 0 8 0 amappl14 184 107 0 97 1 0 1 1 0 8 0 amappl13 176 4 0 4 1 1 0 1 0 8 0 amappl12 168 1248 0 1219 3 1 2 3 0 8 0 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 8 0 8 1 1 0 1 0 8 0 amappl9 144 248 0 248 1 1 0 1 0 8 0 amappl8 136 21 0 20 1 0 1 1 0 8 0 amappl7 128 98 0 88 1 0 1 1 0 8 0 amappl6 120 253 0 250 1 0 1 1 0 8 0 amappl5 112 107 0 101 1 0 1 1 0 8 0 amappl4 104 263 0 248 1 0 1 1 0 8 0 amappl3 96 2823 0 2721 4 0 4 4 0 8 1 amappl2 88 607 0 553 2 0 2 2 0 8 0 amappl1 80 8824 0 8281 13 1 12 13 0 8 0 amappl 88 4390 0 4236 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 67 0 0 2 0 2 2 0 8 0 uaddrrnd 24 643 0 614 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 643 0 614 1 0 1 1 0 8 0 vmmpekpl 168 6467 0 6442 2 0 2 2 0 8 0 vmmpepl 168 45412 0 43594 85 1 84 84 0 357 1 vmsppl 368 642 0 614 4 1 3 4 0 8 0 rwobjpl 40 16628 0 13337 35 1 34 34 0 8 0 pdppl 4096 1293 0 1228 99 32 67 83 0 8 2 pvpl 32 307854 0 299322 134 4 130 130 0 265 47 pmappl 216 642 0 614 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 391 0 50 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a8227e0,ffff800033943a70,ffff8000339439c0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a8227e0,ffff800033943a70,ffff8000339439c0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff800033943a70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800033943a70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfceae2c5160, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a8227e0,ffff800033943a70,ffff8000339439c0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a8227e0,ffff800033943a70,ffff8000339439c0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff800033943a70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800033943a70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfceae2c5160, count: -3