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(ffff80003761ca40,ffff8000376e5260,ffff8000376e51b0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003761ca40,ffff8000376e5260,ffff8000376e51b0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000376e5260) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf4ed132f4c0, count: -3 ddb> show registers rdi 0 rsi 0x20001208 rbp 0xffff8000376e5180 rbx 0 rdx 0xffff800001278700 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x1571c4df9c204bbd r11 0x489a7f88c9821e01 r12 0xfffffd8078bd5e60 r13 0xdeafbeaddeafbead r14 0xffff8000012efa00 r15 0xa rip 0xffffffff810b7ca2 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000376e50e0 ss 0 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=430259 pid=75281 tcnt=5 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=82, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003761d1d8,0xffff80003761ccd8 process=0xffff8000376a2f38 user=0xffff8000376e0000, vmspace=0xfffffd806b7c7178 estcpu=32, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 68644 72586 98892 0 3 0x3000 suspend syz-executor 68644 476920 98892 0 3 0x4081000 futex syz-executor 68644 271183 98892 0 3 0x4081000 futex syz-executor 90276 338138 97307 0 2 0 syz-executor 90276 164108 97307 0 3 0x4000080 fsleep syz-executor 42647 260079 22867 0 2 0 syz-executor 42647 55718 22867 0 3 0x4000080 fsleep syz-executor 42647 231824 22867 0 3 0x4000000 futex syz-executor 99673 276456 33441 0 3 0 futex syz-executor 99673 405820 33441 0 3 0x4000080 fsleep syz-executor 99673 502607 33441 0 3 0x4000000 futex syz-executor 42924 303342 23747 0 2 0 syz-executor 42924 460867 23747 0 3 0x4000080 fsleep syz-executor 42924 70497 23747 0 2 0x4000000 syz-executor 1423 459116 38549 0 3 0x80 nanoslp syz-executor 1423 324614 38549 0 3 0x4000080 ttyin syz-executor 1423 440328 38549 0 3 0x4000000 inode syz-executor 1423 432820 38549 0 3 0x4000080 fsleep syz-executor 75281 85532 72398 0 2 0 syz-executor *75281 430259 72398 0 7 0x4000000 syz-executor 75281 317102 72398 0 2 0x4000000 syz-executor 75281 231649 72398 0 2 0x4000000 syz-executor 75281 347631 72398 0 2 0x4000000 syz-executor 47949 104003 89397 0 3 0 futex syz-executor 47949 4008 89397 0 3 0x4000080 fsleep syz-executor 47949 512999 89397 0 3 0x4000080 fsleep syz-executor 47949 283761 89397 0 3 0x4000080 fsleep syz-executor 75874 362446 0 0 3 0x14280 nfsidl nfsio 91971 288983 0 0 3 0x14280 nfsidl nfsio 23669 92226 0 0 3 0x14280 nfsidl nfsio 65399 222190 0 0 3 0x14280 nfsidl nfsio 70362 213001 0 0 3 0x14280 nfsidl nfsio 45454 176727 0 0 3 0x14280 nfsidl nfsio 67259 1916 0 0 3 0x14280 nfsidl nfsio 5505 4151 0 0 3 0x14280 nfsidl nfsio 20025 263804 0 0 3 0x14280 nfsidl nfsio 69224 165945 0 0 3 0x14280 nfsidl nfsio 98240 316044 0 0 3 0x14280 nfsidl nfsio 4655 97926 0 0 3 0x14280 nfsidl nfsio 32134 343522 0 0 3 0x14280 nfsidl nfsio 39075 460404 0 0 3 0x14280 nfsidl nfsio 25083 64322 0 0 3 0x14280 nfsidl nfsio 46960 158666 0 0 3 0x14280 nfsidl nfsio 26204 474252 0 0 3 0x14280 nfsidl nfsio 99092 29850 0 0 3 0x14280 nfsidl nfsio 25475 208817 0 0 3 0x14280 nfsidl nfsio 70625 489104 0 0 3 0x14280 nfsidl nfsio 26683 330001 0 0 3 0x14200 bored sosplice 98892 384731 16420 0 3 0x82 nanoslp syz-executor 33441 254941 16420 0 3 0x82 nanoslp syz-executor 89397 509429 16420 0 3 0x82 nanoslp syz-executor 72398 223850 16420 0 3 0x82 nanoslp syz-executor 97307 335963 16420 0 3 0x82 nanoslp syz-executor 38549 134612 16420 0 3 0x82 nanoslp syz-executor 22867 308204 16420 0 3 0x82 nanoslp syz-executor 23747 343935 16420 0 3 0x82 nanoslp syz-executor 16420 28526 37324 0 3 0x82 kqread syz-executor 37324 412158 13482 0 3 0x10008a sigsusp ksh 13482 484306 27759 0 3 0x98 kqread sshd-session 27759 284197 25448 0 3 0x92 kqread sshd-session 59186 317758 1 0 3 0x100083 ttyin getty 25448 25117 1 0 3 0x88 kqread sshd 10050 524039 83067 73 3 0x1100090 kqread syslogd 83067 388569 1 0 3 0x100082 sbwait syslogd 94314 231175 1 0 3 0x100080 kqread resolvd 54686 436347 97401 77 3 0x100092 kqread dhcpleased 88505 174268 97401 77 3 0x100092 kqread dhcpleased 97401 128069 1 0 3 0x80 kqread dhcpleased 97510 323802 0 0 3 0x14200 bored smr 99615 28007 0 0 2 0x14200 zerothread 210 473780 0 0 3 0x14200 aiodoned aiodoned 11270 369948 0 0 3 0x14200 syncer update 47904 521242 0 0 3 0x14200 cleaner cleaner 17788 293966 0 0 3 0x14200 reaper reaper 14797 63766 0 0 3 0x14200 pgdaemon pagedaemon 31023 36525 0 0 3 0x14200 bored viomb 23822 183350 0 0 3 0x40014200 acpi0 acpi0 40048 391322 0 0 3 0x14200 bored softnet3 16325 151068 0 0 3 0x14200 bored softnet2 45731 249541 0 0 3 0x14200 bored softnet1 97705 453780 0 0 3 0x14200 bored softnet0 24258 95180 0 0 3 0x14200 bored systqmp 76697 244720 0 0 3 0x14200 bored systq 27027 77362 0 0 3 0x40014200 tmoslp softclock 8001 85792 0 0 3 0x40014200 idle0 1 327630 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 10177 11048K 11303K 166960K 11702 0 pcb 17 13K 14K 166960K 130 0 rtable 147 5K 8K 166960K 413 0 pf 38 14K 20K 166960K 74 0 ifaddr 30 4K 7K 166960K 63 0 ifgroup 50 2K 2K 166960K 95 0 sysctl 3 0K 0K 166960K 3 0 counters 30 17K 17K 166960K 45 0 ioctlops 0 0K 4K 166960K 53 0 iov 0 0K 16K 166960K 62 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1373 86K 86K 166960K 1651 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 19 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 18 65K 97K 166960K 557 0 sigio 0 0K 0K 166960K 16 0 proc 60 59K 124K 166960K 502 0 subproc 104 6K 6K 166960K 105 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 62 0 in_multi 55 4K 7K 166960K 122 0 ether_multi 1 0K 0K 166960K 5 0 mrt 0 0K 0K 166960K 2 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 483 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 252 77K 87K 166960K 6919 0 UVM aobj 47 2K 2K 166960K 50 0 pinsyscall 39 78K 102K 166960K 1585 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 23 0 NDP 11 0K 2K 166960K 43 0 temp 48 6809K 6935K 166960K 25104 0 kqueue 14 22K 26K 166960K 82 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 70 0 67 1 0 1 1 0 8 0 rtentry 112 124 0 62 4 0 4 4 0 8 0 unpcb 144 672 0 652 9 5 4 6 0 8 3 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 808 268 0 263 18 7 11 11 0 8 10 arp 88 22 0 11 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 0 1 0 1 1 0 8 0 inpcb 336 654 0 643 14 5 9 9 0 8 8 nd6 104 28 0 16 1 0 1 1 0 8 0 pkpcb 40 7 0 7 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 9 0 9 2 1 1 1 0 8 1 pfstscr 40 2 0 2 1 0 1 1 0 8 1 pfrktable 1344 1 0 0 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 4 2 1 1 1 0 8 1 pfstate 344 2 0 2 2 1 1 1 0 8 1 pfrule 1344 1 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 476 0 213 29 1 28 29 0 8 7 art_table 32 477 0 213 4 0 4 4 0 8 0 art_node 16 123 0 67 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 4 1 0 1 1 0 8 0 semapl 112 17 0 7 1 0 1 1 0 8 0 shmpl 112 47 0 3 2 0 2 2 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2313 0 819 95 0 95 95 0 8 0 ffsino 240 2313 0 819 89 0 89 89 0 8 0 nchpl 144 3178 0 1500 63 0 63 63 0 8 0 uvmvnodes 80 2576 0 0 53 0 53 53 0 8 0 vnodes 216 2576 0 0 144 0 144 144 0 8 0 namei 1024 10215 0 10214 5 3 2 2 0 8 1 kstatmem 264 52 0 30 2 0 2 2 0 8 0 scsiplug 72 5 0 5 1 0 1 1 0 8 1 scxspl 216 9366 0 9366 9 7 2 8 1 8 2 plimitpl 152 223 0 207 1 0 1 1 0 8 0 sigapl 424 859 0 792 9 1 8 8 0 8 0 futexpl 64 6779 0 6769 1 0 1 1 0 8 0 knotepl 120 253469 0 253420 31 15 16 17 0 8 13 kqueuepl 184 228 0 218 5 2 3 3 0 8 2 pipepl 288 128 0 100 4 1 3 3 0 8 0 fdescpl 432 822 0 792 5 1 4 5 0 8 0 filepl 120 4736 0 4479 18 7 11 16 0 8 0 lockfpl 104 180 0 178 1 0 1 1 0 8 0 lockfspl 48 54 0 52 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 102 0 86 1 0 1 1 0 8 0 ucredpl 104 536 0 523 1 0 1 1 0 8 0 zombiepl 144 989 0 989 1 0 1 1 0 8 1 processpl 1096 859 0 792 5 0 5 5 0 8 0 procpl 648 1621 0 1535 8 0 8 8 0 8 0 sosppl 168 3 0 3 1 0 1 1 0 8 1 sockpl 504 1410 0 1376 43 27 16 30 0 8 10 mcl64k 65536 3 0 3 2 1 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 12 0 12 2 1 1 1 0 8 1 mcl4k 4096 3180 0 3129 19 11 8 19 0 8 1 mcl2k 2048 672 0 669 4 2 2 3 0 8 1 mtagpl 96 15 0 6 1 0 1 1 0 8 0 mbufpl 256 9042 0 8928 19 3 16 16 0 8 4 bufpl 280 3046 0 96 211 0 211 211 0 8 0 anonpl 24 206756 0 199092 80 26 54 54 0 187 6 amapchunkpl 152 23415 0 22800 34 1 33 33 0 158 9 amappl16 200 5575 0 5352 32 16 16 16 0 8 3 amappl15 192 45 0 45 1 1 0 1 0 8 0 amappl14 184 114 0 104 1 0 1 1 0 8 0 amappl13 176 20 0 20 1 1 0 1 0 8 0 amappl12 168 1438 0 1408 3 1 2 3 0 8 0 amappl11 160 75 0 65 1 0 1 1 0 8 0 amappl10 152 9 0 9 1 1 0 1 0 8 0 amappl9 144 132 0 132 1 1 0 1 0 8 0 amappl8 136 25 0 23 1 0 1 1 0 8 0 amappl7 128 102 0 92 1 0 1 1 0 8 0 amappl6 120 189 0 188 1 0 1 1 0 8 0 amappl5 112 127 0 119 1 0 1 1 0 8 0 amappl4 104 284 0 269 1 0 1 1 0 8 0 amappl3 96 4174 0 4075 3 0 3 3 0 8 0 amappl2 88 1103 0 1023 2 0 2 2 0 8 0 amappl1 80 8729 0 8208 14 2 12 14 0 8 0 amappl 88 6522 0 6325 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 49 0 3 1 0 1 1 0 8 0 uaddrrnd 24 822 0 792 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 822 0 792 1 0 1 1 0 8 0 vmmpekpl 168 7909 0 7875 3 0 3 3 0 8 0 vmmpepl 168 59282 0 57269 103 13 90 90 0 357 2 vmsppl 352 821 0 792 4 1 3 4 0 8 0 rwobjpl 24 23229 0 19534 23 0 23 23 0 8 0 pdppl 4096 1651 0 1584 105 38 67 83 0 8 0 pvpl 32 427372 0 414348 159 37 122 122 0 265 13 pmappl 216 821 0 792 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 456 0 103 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80003761ca40,ffff8000376e5260,ffff8000376e51b0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003761ca40,ffff8000376e5260,ffff8000376e51b0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000376e5260) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf4ed132f4c0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80003761ca40,ffff8000376e5260,ffff8000376e51b0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003761ca40,ffff8000376e5260,ffff8000376e51b0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000376e5260) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf4ed132f4c0, count: -3