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(ffff80002a7f1c50,ffff80003a531d10,ffff80003a531c60) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7f1c50,ffff80003a531d10,ffff80003a531c60) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003a531d10) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a531d10) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc6fe2777d50, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff80003a531c30 rbx 0 rdx 0 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x606693e7f8404d98 r11 0x8504eb3e07d48782 r12 0xfffffd80667d9f28 r13 0xdeafbeaddeafbead r14 0xffff80000149f000 r15 0xa rip 0xffffffff81132b12 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003a531b90 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=307578 pid=52863 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=0xffff80002a7f19c0,0xffff80002a7f0030 process=0xffff800036916730 user=0xffff80003a52c000, vmspace=0xfffffd806c097010 estcpu=15, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 52863 419011 7183 0 2 0 syz-executor *52863 307578 7183 0 7 0x4000000 syz-executor 52863 406712 7183 0 2 0x4000000 syz-executor 52863 292493 7183 0 2 0x4000000 syz-executor 30691 79459 45119 0 2 0 syz-executor 30691 179653 45119 0 3 0x4000080 fsleep syz-executor 24639 363556 40334 0 2 0 syz-executor 24639 280153 40334 0 2 0x4000000 syz-executor 24639 519888 40334 0 3 0x4000080 fsleep syz-executor 28337 498631 36786 0 2 0 syz-executor 28337 354506 36786 0 2 0x4000000 syz-executor 28337 513844 36786 0 2 0x4000000 syz-executor 21517 124666 40130 0 2 0 syz-executor 21517 441120 40130 0 3 0x4000080 fsleep syz-executor 21517 427230 40130 0 3 0x4000080 fsleep syz-executor 21517 93675 40130 0 3 0x4000080 fsleep syz-executor 51246 140574 57857 0 2 0 syz-executor 51246 90984 57857 0 3 0x4000080 fsleep syz-executor 36786 169136 86882 0 3 0x82 nanoslp syz-executor 4049 466835 0 0 3 0x14200 bored sosplice 40130 1708 86882 0 3 0x82 nanoslp syz-executor 57857 372315 86882 0 3 0x82 nanoslp syz-executor 45119 275266 86882 0 3 0x82 nanoslp syz-executor 83287 26208 86882 0 3 0x82 wait syz-executor 28395 459354 86882 0 2 0x2 syz-executor 7183 407951 86882 0 3 0x82 nanoslp syz-executor 40334 432309 86882 0 3 0x82 nanoslp syz-executor 86882 495656 16433 0 3 0x82 kqread syz-executor 16433 246989 92237 0 3 0x10008a sigsusp ksh 92237 359797 29737 0 3 0x98 kqread sshd-session 29737 166288 44354 0 3 0x92 kqread sshd-session 88763 46610 1 0 3 0x100083 ttyin getty 44354 267562 1 0 3 0x88 kqread sshd 60248 405992 89017 73 3 0x1100090 kqread syslogd 89017 486701 1 0 3 0x100082 sbwait syslogd 17306 157824 1 0 3 0x100080 kqread resolvd 10228 93309 70506 77 3 0x100092 kqread dhcpleased 29207 117336 70506 77 3 0x100092 kqread dhcpleased 70506 357602 1 0 3 0x80 kqread dhcpleased 42610 226028 0 0 3 0x14200 bored smr 63568 158295 0 0 2 0x14200 zerothread 75941 367399 0 0 3 0x14200 aiodoned aiodoned 65229 249514 0 0 3 0x14200 syncer update 55796 356079 0 0 3 0x14200 cleaner cleaner 51126 217685 0 0 3 0x14200 reaper reaper 271 435622 0 0 3 0x14200 pgdaemon pagedaemon 28194 74524 0 0 3 0x14200 bored viomb 54359 143657 0 0 3 0x40014200 acpi0 acpi0 65652 106174 0 0 3 0x14200 bored softnet3 41343 91777 0 0 3 0x14200 bored softnet2 77929 308306 0 0 3 0x14200 bored softnet1 98083 95162 0 0 3 0x14200 bored softnet0 96327 234016 0 0 3 0x14200 bored systqmp 18771 82037 0 0 3 0x14200 bored systq 54136 173881 0 0 3 0x40014200 tmoslp softclock 7758 63527 0 0 3 0x40014200 idle0 1 183988 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 10174 11041K 11252K 166960K 11498 0 pcb 17 12K 12K 166960K 40 0 rtable 212 7K 7K 166960K 393 0 pf 28 12K 13K 166960K 39 0 ifaddr 38 6K 7K 166960K 51 0 ifgroup 46 2K 2K 166960K 63 0 sysctl 4 1K 1K 166960K 4 0 counters 29 17K 17K 166960K 36 0 ioctlops 0 0K 2K 166960K 41 0 iov 0 0K 16K 166960K 8 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1346 85K 85K 166960K 1540 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 5 0K 0K 166960K 5 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 259 0 sigio 0 0K 0K 166960K 4 0 proc 60 59K 124K 166960K 507 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 13 0 in_multi 88 6K 7K 166960K 111 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 365 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 232 143K 154K 166960K 3823 0 UVM aobj 73 3K 3K 166960K 74 0 pinsyscall 38 76K 96K 166960K 1307 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 10 0K 2K 166960K 33 0 temp 37 8670K 8736K 166960K 4831 0 kqueue 13 20K 28K 166960K 39 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 44 0 41 1 0 1 1 0 8 0 rtentry 136 126 0 29 4 0 4 4 0 8 0 unpcb 144 80 0 63 1 0 1 1 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 27 0 23 1 0 1 1 0 8 0 arp 88 22 0 6 1 0 1 1 0 8 0 inpcb 344 146 0 136 2 0 2 2 0 8 0 nd6 104 27 0 6 1 0 1 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 4 0 4 1 0 1 1 0 8 1 pfqueue 320 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 498 0 92 30 1 29 29 0 8 2 art_table 32 499 0 92 4 0 4 4 0 8 0 art_node 16 125 0 38 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semapl 112 3 0 0 1 0 1 1 0 8 0 shmpl 112 71 0 1 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1817 0 316 95 0 95 95 0 8 0 ffsino 248 1817 0 316 95 0 95 95 0 8 0 nchpl 144 2163 0 484 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 uvmvnodes 80 1975 0 0 41 0 41 41 0 8 0 vnodes 216 1975 0 0 110 0 110 110 0 8 0 namei 1024 6669 0 6669 2 1 1 2 0 8 1 kstatmem 264 30 0 10 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 6427 0 6427 2 1 1 2 1 8 1 plimitpl 152 44 0 26 1 0 1 1 0 8 0 sigapl 424 535 0 489 7 1 6 7 0 8 0 futexpl 64 1852 0 1845 1 0 1 1 0 8 0 knotepl 120 7060 0 7013 10 0 10 10 0 8 8 kqueuepl 184 50 0 40 1 0 1 1 0 8 0 pipepl 296 111 0 83 3 0 3 3 0 8 0 fdescpl 440 518 0 489 5 1 4 5 0 8 0 filepl 120 2261 0 2040 10 0 10 10 0 8 1 lockfpl 104 40 0 35 1 0 1 1 0 8 0 lockfspl 48 22 0 17 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 35 0 19 1 0 1 1 0 8 0 ucredpl 104 398 0 387 1 0 1 1 0 8 0 zombiepl 144 533 0 532 1 0 1 1 0 8 0 processpl 1112 535 0 489 4 0 4 4 0 8 0 procpl 656 725 0 667 6 0 6 6 0 8 0 sosppl 168 2 0 2 1 0 1 1 0 8 1 sockpl 528 274 0 242 3 0 3 3 0 8 0 mcl64k 65536 3 0 3 1 1 0 1 0 8 0 mcl8k 8192 5 0 5 1 1 0 1 0 8 0 mcl4k 4096 2541 0 2492 13 6 7 13 0 8 0 mcl2k 2048 254 0 252 2 1 1 1 0 8 0 mtagpl 96 9 0 5 1 0 1 1 0 8 0 mbufpl 256 5036 0 4883 12 1 11 11 0 8 0 bufpl 280 2387 0 119 162 0 162 162 0 8 0 anonpl 24 107200 0 104035 35 3 32 32 0 187 10 amapchunkpl 152 11473 0 10976 25 0 25 25 0 158 1 amappl16 200 1986 0 1961 5 3 2 5 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 103 0 93 1 0 1 1 0 8 0 amappl13 176 8 0 8 1 1 0 1 0 8 0 amappl12 168 1142 0 1113 3 1 2 3 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 9 0 9 1 1 0 1 0 8 0 amappl9 144 239 0 239 1 1 0 1 0 8 0 amappl8 136 29 0 27 1 0 1 1 0 8 0 amappl7 128 110 0 100 1 0 1 1 0 8 0 amappl6 120 183 0 180 1 0 1 1 0 8 0 amappl5 112 123 0 117 1 0 1 1 0 8 0 amappl4 104 284 0 269 1 0 1 1 0 8 0 amappl3 96 1916 0 1804 4 0 4 4 0 8 0 amappl2 88 615 0 562 2 0 2 2 0 8 0 amappl1 80 8372 0 7831 14 2 12 14 0 8 0 amappl 88 3149 0 2979 5 0 5 5 0 92 0 dma16384 16384 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 254 0 254 2 1 1 1 0 8 1 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 73 0 1 2 0 2 2 0 8 0 uaddrrnd 24 518 0 489 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 518 0 489 1 0 1 1 0 8 0 vmmpekpl 168 5708 0 5669 3 0 3 3 0 8 0 vmmpepl 168 38760 0 36922 84 1 83 83 0 357 0 vmsppl 360 517 0 489 4 1 3 4 0 8 0 rwobjpl 32 15384 0 12490 24 0 24 24 0 8 0 pdppl 4096 1042 0 978 98 32 66 82 0 8 2 pvpl 32 249850 0 241322 96 1 95 95 0 265 15 pmappl 216 517 0 489 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 264 0 48 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a7f1c50,ffff80003a531d10,ffff80003a531c60) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7f1c50,ffff80003a531d10,ffff80003a531c60) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003a531d10) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a531d10) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc6fe2777d50, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a7f1c50,ffff80003a531d10,ffff80003a531c60) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7f1c50,ffff80003a531d10,ffff80003a531c60) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003a531d10) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a531d10) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc6fe2777d50, count: -3