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(ffff80002a90aa78,ffff80003c998fd0,ffff80003c998f20) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a90aa78,ffff80003c998fd0,ffff80003c998f20) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c998fd0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c998fd0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x81384c297c0, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff80003c998ef0 rbx 0 rdx 0xffff8000014424c0 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x8fc02f3c5f853424 r11 0x95e6224976ccd550 r12 0xfffffd806052b848 r13 0xdeaf4152deaf4152 r14 0xffff800001490a00 r15 0xa rip 0xffffffff813f1de2 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003c998e50 ss 0 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=377120 pid=10101 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=83, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a90b4b8,0xffff80002a90a2d8 process=0xffff800030520938 user=0xffff80003c994000, vmspace=0xfffffd806b8c4b98 estcpu=33, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 23588 81158 21996 0 2 0 syz-executor 23588 259799 21996 0 3 0x4000080 kqsel syz-executor 23588 304450 21996 0 3 0x4000080 fsleep syz-executor 86306 260126 14753 0 2 0x10 syz-executor 86306 504174 14753 0 3 0x4000090 fsleep syz-executor 46787 523718 19367 0 2 0 syz-executor 46787 411996 19367 0 2 0x4000000 syz-executor 46787 155448 19367 0 3 0x4000080 fsleep syz-executor 10101 462068 92501 0 2 0 syz-executor *10101 377120 92501 0 7 0x4000000 syz-executor 10101 433962 92501 0 3 0x4000080 fsleep syz-executor 10101 246500 92501 0 2 0x4000000 syz-executor 86344 278091 79091 0 2 0 syz-executor 86344 139691 79091 0 3 0x4000080 tunread syz-executor 86344 421246 79091 0 3 0x4000000 inode syz-executor 35940 406009 58024 0 2 0 syz-executor 35940 352393 58024 0 2 0x4000000 syz-executor 10316 261977 0 0 3 0x14200 acct acct 73311 488813 0 0 3 0x14200 bored sosplice 79091 313231 79916 0 3 0x82 nanoslp syz-executor 21996 9083 79916 0 3 0x82 nanoslp syz-executor 14753 462867 79916 0 3 0x82 nanoslp syz-executor 58024 195207 79916 0 3 0x82 nanoslp syz-executor 92501 203509 79916 0 3 0x82 nanoslp syz-executor 93053 79522 79916 0 2 0x2 syz-executor 51357 68472 79916 0 2 0x2 syz-executor 19367 343831 79916 0 3 0x82 nanoslp syz-executor 79916 106297 71116 0 3 0x82 kqread syz-executor 71116 331400 96533 0 3 0x10008a sigsusp ksh 96533 468530 36572 0 3 0x98 kqread sshd-session 36572 135198 59599 0 3 0x92 kqread sshd-session 58911 483065 1 0 3 0x100083 ttyopn getty 59599 43500 1 0 3 0x88 kqread sshd 17674 417418 16484 73 3 0x1100090 kqread syslogd 16484 198794 1 0 3 0x100082 sbwait syslogd 86839 414853 1 0 3 0x100080 kqread resolvd 41418 156716 44391 77 3 0x100092 kqread dhcpleased 99494 452688 44391 77 3 0x100092 kqread dhcpleased 44391 425975 1 0 3 0x80 kqread dhcpleased 26996 386838 0 0 3 0x14200 bored smr 68645 278565 0 0 2 0x14200 zerothread 89293 275161 0 0 3 0x14200 aiodoned aiodoned 38779 31294 0 0 3 0x14200 syncer update 24062 146523 0 0 3 0x14200 cleaner cleaner 34609 433918 0 0 3 0x14200 reaper reaper 5150 159618 0 0 3 0x14200 pgdaemon pagedaemon 51593 468023 0 0 3 0x14200 bored viomb 55414 178217 0 0 3 0x40014200 acpi0 acpi0 6697 203681 0 0 3 0x14200 bored softnet7 17662 40916 0 0 3 0x14200 bored softnet6 52082 351579 0 0 3 0x14200 bored softnet5 78487 325148 0 0 3 0x14200 bored softnet4 37715 340387 0 0 3 0x14200 bored softnet3 65766 53312 0 0 3 0x14200 bored softnet2 26009 247765 0 0 3 0x14200 bored softnet1 36349 409714 0 0 3 0x14200 bored softnet0 75957 292668 0 0 3 0x14200 bored systqmp 56907 289989 0 0 3 0x14200 bored systq 36542 202041 0 0 3 0x40014200 tmoslp softclock 52285 167635 0 0 3 0x40014200 idle0 1 499113 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 10181 11060K 11509K 166960K 12440 0 pcb 18 16K 19K 166960K 265 0 rtable 148 6K 7K 166960K 359 0 pf 30 13K 20K 166960K 102 0 ifaddr 29 5K 7K 166960K 78 0 ifgroup 42 1K 2K 166960K 121 0 sysctl 4 1K 9K 166960K 10 0 counters 30 17K 18K 166960K 95 0 ioctlops 0 0K 4K 166960K 269 0 iov 0 0K 12K 166960K 29 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1395 88K 88K 166960K 1983 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 17 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 23 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 744 0 sigio 0 0K 0K 166960K 15 0 proc 60 59K 91K 166960K 592 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 320 0 in_multi 56 4K 7K 166960K 128 0 ether_multi 1 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 459 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 213 158K 169K 166960K 8455 0 UVM aobj 30 2K 2K 166960K 37 0 pinsyscall 39 78K 91K 166960K 1829 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 1K 166960K 38 0 NDP 9 0K 2K 166960K 51 0 temp 72 8674K 8741K 166960K 28658 0 kqueue 13 20K 30K 166960K 131 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 81 0 78 1 0 1 1 0 8 0 rtentry 136 122 0 65 4 0 4 4 0 8 0 unpcb 144 351 0 334 2 0 2 2 0 8 1 syncache 336 11 0 11 2 1 1 1 0 8 1 tcpqe 32 4 0 4 1 0 1 1 0 8 1 tcpcb 736 307 0 299 10 3 7 7 0 8 6 arp 88 14 0 5 1 0 1 1 0 8 0 ipq 40 3 0 2 1 0 1 1 0 8 0 ipqe 40 4 0 3 1 0 1 1 0 8 0 inpcb 328 1007 0 994 23 13 10 15 0 8 8 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 104 19 0 11 1 0 1 1 0 8 0 pkpcb 40 5 0 5 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 54 0 54 1 0 1 1 0 8 1 pppxif 1384 3 0 3 1 0 1 1 0 8 1 pfstscr 40 3 0 3 1 0 1 1 0 8 1 pfanchor 1288 4 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 8 0 4 1 0 1 1 0 8 0 pfstate 384 4 0 2 1 0 1 1 0 8 0 pfrule 1344 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 535 0 271 30 1 29 30 0 8 7 art_table 40 539 0 271 5 0 5 5 0 8 0 art_node 32 121 0 70 1 0 1 1 0 8 0 sysvmsgpl 40 24 0 5 1 0 1 1 0 8 0 semapl 112 21 0 11 1 0 1 1 0 8 0 shmpl 112 34 0 7 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2615 0 1115 95 0 95 95 0 8 0 ffsino 256 2615 0 1115 95 0 95 95 0 8 0 nchpl 144 3643 0 1966 63 0 63 63 0 8 0 rtmask 32 3 0 3 1 0 1 1 0 8 1 uvmvnodes 80 3123 0 0 64 0 64 64 0 8 0 vnodes 216 3123 0 0 174 0 174 174 0 8 0 namei 1024 12535 0 12533 2 1 1 2 0 8 0 kstatmem 264 66 0 48 2 0 2 2 0 8 0 scsiplug 72 7 0 7 1 0 1 1 0 8 1 scxspl 216 11727 0 11727 15 7 8 8 1 8 8 plimitpl 152 315 0 299 1 0 1 1 0 8 0 sigapl 424 1043 0 991 10 1 9 9 0 8 2 knotepl 120 27872 0 27825 44 33 11 17 0 8 8 kqueuepl 184 246 0 236 3 0 3 3 0 8 2 pipepl 304 190 0 163 5 0 5 5 0 8 2 fdescpl 448 1001 0 971 4 0 4 4 0 8 0 filepl 120 6231 0 6019 14 3 11 13 0 8 3 lockfpl 104 407 0 405 1 0 1 1 0 8 0 lockfspl 48 190 0 188 1 0 1 1 0 8 0 sessionpl 144 30 0 22 1 0 1 1 0 8 0 pgrppl 48 43 0 27 1 0 1 1 0 8 0 ucredpl 104 758 0 744 1 0 1 1 0 8 0 zombiepl 144 1465 0 1465 1 0 1 1 0 8 1 processpl 1168 1043 0 991 6 0 6 6 0 8 2 procpl 656 2150 0 2086 8 0 8 8 0 8 2 sosppl 168 3 0 3 1 0 1 1 0 8 1 sockpl 552 1464 0 1431 21 10 11 14 0 8 8 mcl64k 65536 29 0 29 2 1 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 41 0 41 2 1 1 1 0 8 1 mcl4k 4096 3284 0 3231 17 9 8 16 0 8 1 mcl2k 2048 1033 0 1029 4 2 2 3 0 8 1 mtagpl 96 39 0 16 1 0 1 1 0 8 0 mbufpl 256 11057 0 10899 23 4 19 19 0 8 3 bufpl 280 4001 0 118 278 0 278 278 0 8 0 anonpl 24 164190 0 161068 40 2 38 38 0 187 12 amapchunkpl 152 27398 0 26954 31 3 28 28 0 158 8 amappl16 200 2755 0 2727 9 3 6 6 0 8 4 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 121 0 111 1 0 1 1 0 8 0 amappl13 176 10 0 10 1 1 0 1 0 8 0 amappl12 168 1634 0 1606 3 1 2 3 0 8 0 amappl11 160 49 0 39 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 238 0 237 1 0 1 1 0 8 0 amappl8 136 25 0 24 1 0 1 1 0 8 0 amappl7 128 110 0 100 1 0 1 1 0 8 0 amappl6 120 211 0 207 1 0 1 1 0 8 0 amappl5 112 124 0 117 1 0 1 1 0 8 0 amappl4 104 305 0 289 1 0 1 1 0 8 0 amappl3 96 5356 0 5255 4 0 4 4 0 8 0 amappl2 88 695 0 638 2 0 2 2 0 8 0 amappl1 80 11810 0 11265 14 1 13 13 0 8 0 amappl 88 7634 0 7484 5 0 5 5 0 92 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 dma256 256 7 0 7 2 1 1 1 0 8 1 dma128 128 257 0 257 2 1 1 1 0 8 1 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 36 0 7 1 0 1 1 0 8 0 uaddrrnd 24 1001 0 971 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1001 0 971 1 0 1 1 0 8 0 vmmpekpl 168 9617 0 9581 3 0 3 3 0 8 0 vmmpepl 168 70450 0 68613 90 1 89 89 0 357 3 vmsppl 368 1000 0 971 4 1 3 4 0 8 0 rwobjpl 40 23805 0 19815 41 0 41 41 0 8 0 pdppl 4096 2008 0 1942 108 40 68 76 0 8 2 pvpl 32 437292 0 428997 101 0 101 101 0 265 20 pmappl 216 1000 0 971 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 416 0 66 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a90aa78,ffff80003c998fd0,ffff80003c998f20) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a90aa78,ffff80003c998fd0,ffff80003c998f20) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c998fd0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c998fd0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x81384c297c0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a90aa78,ffff80003c998fd0,ffff80003c998f20) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a90aa78,ffff80003c998fd0,ffff80003c998f20) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c998fd0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c998fd0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x81384c297c0, count: -3