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(ffff80003c94e2b8,ffff8000321512e0,ffff800032151230) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003c94e2b8,ffff8000321512e0,ffff800032151230) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000321512e0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000321512e0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe3e672c8900, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff800032151200 rbx 0 rdx 0xffff8000014b2280 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0xcf527cc680b03cce r11 0xf976848682de939 r12 0xfffffd8068c9cf00 r13 0xdeadbeefdeadbeef r14 0xffff8000014da900 r15 0xa rip 0xffffffff81a34472 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800032151160 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=275979 pid=60487 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=0xffff80003c94f4a8,0xffff80003c94e038 process=0xffff8000ffff9620 user=0xffff80003214c000, vmspace=0xfffffd806c06a880 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 95953 367422 28339 0 2 0x1 syz-executor 95953 8666 28339 0 3 0x4000080 fsleep syz-executor 4062 297099 89531 0 2 0x1 syz-executor 4062 325022 89531 0 3 0x4000080 fsleep syz-executor 4062 25492 89531 0 3 0x4000080 fsleep syz-executor 76061 397016 62905 0 2 0x1 syz-executor 76061 369158 62905 0 3 0x4000080 fsleep syz-executor 28057 398513 97777 0 2 0x1 syz-executor 28057 257791 97777 0 3 0x4000080 fsleep syz-executor 63856 69719 71568 -1 2 0x11 syz-executor 63856 315664 71568 -1 3 0x4000090 fsleep syz-executor 40084 233989 51773 0 2 0x1 syz-executor 40084 166519 51773 0 3 0x4000080 fsleep syz-executor 60487 128877 38162 0 2 0 syz-executor *60487 275979 38162 0 7 0x4000000 syz-executor 60487 198389 38162 0 2 0x4000001 syz-executor 60487 2539 38162 0 2 0x4000000 syz-executor 38162 266893 1882 0 3 0x82 nanoslp syz-executor 2298 345546 0 0 3 0x14200 bored sosplice 62905 299461 1882 0 3 0x82 nanoslp syz-executor 98112 19232 1882 0 2 0x2 syz-executor 97777 367204 1882 0 3 0x82 nanoslp syz-executor 89531 413908 1882 0 3 0x82 nanoslp syz-executor 28339 502220 1882 0 3 0x82 nanoslp syz-executor 71568 108263 1882 0 3 0x82 nanoslp syz-executor 51773 463492 1882 0 3 0x82 nanoslp syz-executor 1882 447499 77205 0 3 0x82 kqread syz-executor 77205 235103 36905 0 3 0x10008a sigsusp ksh 36905 330495 69537 0 3 0x98 kqread sshd-session 69537 128391 42134 0 3 0x92 kqread sshd-session 28551 217885 1 0 3 0x100083 ttyin getty 42134 110895 1 0 3 0x88 kqread sshd 21958 343625 90586 73 3 0x1100090 kqread syslogd 90586 136181 1 0 3 0x100082 sbwait syslogd 33991 19267 1 0 3 0x100080 kqread resolvd 94684 200803 87817 77 3 0x100092 kqread dhcpleased 55360 110220 87817 77 3 0x100092 kqread dhcpleased 87817 443221 1 0 3 0x80 kqread dhcpleased 36420 389763 0 0 3 0x14200 bored smr 6387 139900 0 0 2 0x14200 zerothread 73523 10179 0 0 3 0x14200 aiodoned aiodoned 64223 149774 0 0 3 0x14200 syncer update 69644 377345 0 0 3 0x14200 cleaner cleaner 9217 310271 0 0 3 0x14200 reaper reaper 64164 394540 0 0 3 0x14200 pgdaemon pagedaemon 58834 43529 0 0 3 0x14200 bored viomb 15516 46377 0 0 3 0x40014200 acpi0 acpi0 71855 335191 0 0 3 0x14200 bored softnet3 93836 101293 0 0 3 0x14200 bored softnet2 44336 367515 0 0 3 0x14200 bored softnet1 16637 413562 0 0 3 0x14200 bored softnet0 5975 98874 0 0 3 0x14200 bored systqmp 92380 365337 0 0 3 0x14200 bored systq 37272 368396 0 0 3 0x40014200 tmoslp softclock 18080 333929 0 0 3 0x40014200 idle0 1 291861 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 10198 11237K 11497K 166960K 12304 0 pcb 17 14K 16K 166960K 120 0 rtable 238 16K 16K 166960K 455 0 pf 32 13K 21K 166960K 75 0 ifaddr 41 7K 7K 166960K 68 0 ifgroup 54 2K 2K 166960K 111 0 sysctl 4 1K 9K 166960K 9 0 counters 32 17K 18K 166960K 53 0 ioctlops 0 0K 4K 166960K 118 0 iov 0 0K 16K 166960K 33 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1462 92K 93K 166960K 2035 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 17 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 25 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 683 0 sigio 0 0K 0K 166960K 8 0 proc 60 59K 124K 166960K 553 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 59 0 in_multi 89 6K 7K 166960K 129 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 464 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 223 159K 174K 166960K 8075 0 UVM aobj 36 6K 6K 166960K 37 0 pinsyscall 38 76K 96K 166960K 1741 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 41 0 NDP 12 0K 2K 166960K 47 0 temp 53 8661K 8741K 166960K 27242 0 kqueue 13 20K 28K 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 102 0 99 2 1 1 2 0 8 0 rtentry 136 137 0 30 5 0 5 5 0 8 0 unpcb 144 444 0 429 2 0 2 2 0 8 1 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 134 0 130 2 0 2 2 0 8 1 arp 88 21 0 4 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 4 0 1 1 0 1 1 0 8 0 inpcb 344 709 0 698 16 11 5 13 0 8 3 nd6 104 34 0 11 1 0 1 1 0 8 0 pkpcb 40 5 0 5 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 12 0 12 1 0 1 1 0 8 1 pfrule 1344 2 0 1 1 0 1 1 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 574 0 152 30 0 30 30 0 8 3 art_table 32 577 0 152 4 0 4 4 0 8 0 art_node 16 136 0 39 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 5 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 20 0 10 1 0 1 1 0 8 0 shmpl 112 34 0 1 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2556 0 1064 95 0 95 95 0 8 0 ffsino 248 2556 0 1064 95 0 95 95 0 8 0 nchpl 144 3519 0 3006 63 16 47 63 0 8 26 rtmask 32 1 0 1 1 0 1 1 0 8 1 uvmvnodes 80 3104 0 0 64 0 64 64 0 8 0 vnodes 216 3104 0 0 173 0 173 173 0 8 0 namei 1024 11737 0 11736 4 2 2 2 0 8 1 kstatmem 264 58 0 34 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 11504 0 11504 9 7 2 8 1 8 2 plimitpl 152 425 0 409 1 0 1 1 0 8 0 sigapl 424 964 0 918 7 1 6 7 0 8 0 knotepl 120 38015 0 37968 11 0 11 11 0 8 7 kqueuepl 184 211 0 202 4 0 4 4 0 8 3 pipepl 296 211 0 184 3 0 3 3 0 8 0 fdescpl 440 945 0 916 5 1 4 5 0 8 0 filepl 120 5635 0 5425 13 2 11 11 0 8 3 lockfpl 104 137 0 135 1 0 1 1 0 8 0 lockfspl 48 60 0 58 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 104 846 0 834 1 0 1 1 0 8 0 zombiepl 144 1258 0 1258 1 0 1 1 0 8 1 processpl 1128 964 0 918 4 0 4 4 0 8 0 procpl 656 1920 0 1864 6 0 6 6 0 8 0 sosppl 168 4 0 4 1 0 1 1 0 8 1 sockpl 528 1270 0 1244 13 8 5 11 0 8 3 mcl64k 65536 67 0 66 2 1 1 1 0 8 0 mcl16k 16384 5 0 5 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 30 0 30 2 1 1 1 0 8 1 mcl4k 4096 3201 0 3150 16 8 8 15 0 8 1 mcl2k 2048 894 0 891 2 0 2 2 0 8 1 mtagpl 96 25 0 7 1 0 1 1 0 8 0 mbufpl 256 9764 0 9559 18 3 15 15 0 8 0 bufpl 280 3481 0 121 240 0 240 240 0 8 0 anonpl 24 139180 0 135889 53 9 44 44 0 187 14 amapchunkpl 152 25443 0 24977 37 3 34 34 0 158 14 amappl16 200 2083 0 2049 22 11 11 15 0 8 7 amappl15 192 2 0 2 1 1 0 1 0 8 0 amappl14 184 105 0 95 1 0 1 1 0 8 0 amappl13 176 18 0 18 1 1 0 1 0 8 0 amappl12 168 1572 0 1543 3 1 2 3 0 8 0 amappl11 160 42 0 31 1 0 1 1 0 8 0 amappl10 152 1 0 1 1 1 0 1 0 8 0 amappl9 144 257 0 257 1 1 0 1 0 8 0 amappl8 136 18 0 16 1 0 1 1 0 8 0 amappl7 128 95 0 85 1 0 1 1 0 8 0 amappl6 120 182 0 178 1 0 1 1 0 8 0 amappl5 112 112 0 105 1 0 1 1 0 8 0 amappl4 104 281 0 266 1 0 1 1 0 8 0 amappl3 96 4999 0 4894 4 0 4 4 0 8 1 amappl2 88 624 0 569 2 0 2 2 0 8 0 amappl1 80 10159 0 9604 14 2 12 14 0 8 0 amappl 88 7286 0 7126 6 1 5 5 0 92 0 dma16384 16384 1 0 1 1 0 1 1 0 8 1 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 7 0 7 2 1 1 1 0 8 1 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 7 0 7 2 1 1 1 0 8 1 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 36 0 1 1 0 1 1 0 8 0 uaddrrnd 24 945 0 916 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 945 0 916 1 0 1 1 0 8 0 vmmpekpl 168 9094 0 9054 3 0 3 3 0 8 0 vmmpepl 168 63971 0 62109 94 0 94 94 0 357 6 vmsppl 360 944 0 916 4 1 3 4 0 8 0 rwobjpl 32 21247 0 17259 33 0 33 33 0 8 0 pdppl 4096 1896 0 1832 98 32 66 82 0 8 2 pvpl 32 401514 0 392482 131 15 116 116 0 265 30 pmappl 216 944 0 916 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 284 0 51 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80003c94e2b8,ffff8000321512e0,ffff800032151230) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003c94e2b8,ffff8000321512e0,ffff800032151230) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000321512e0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000321512e0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe3e672c8900, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80003c94e2b8,ffff8000321512e0,ffff800032151230) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003c94e2b8,ffff8000321512e0,ffff800032151230) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000321512e0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000321512e0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe3e672c8900, count: -3