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(ffff80002a456290,ffff8000376099b0,ffff800037609900) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a456290,ffff8000376099b0,ffff800037609900) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000376099b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x89577acbda0, count: -3 ddb> show registers rdi 0 rsi 0x20001208 rbp 0xffff8000376098d0 rbx 0 rdx 0xffff800001279780 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0xdd1f05649bc545f1 r11 0x426aa41f8f08b108 r12 0xfffffd806578fee0 r13 0xdeaf4152deaf4152 r14 0xffff8000012b3d00 r15 0xa rip 0xffffffff81e83b02 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800037609830 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=434259 pid=71207 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=0xffff80002d7d71e0,0xffff80003761c030 process=0xffff8000331f66a0 user=0xffff800037604000, vmspace=0xfffffd806c21cb10 estcpu=33, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 13263 320607 72377 0 2 0 syz-executor 13263 169831 72377 0 2 0x4000000 syz-executor 21270 233415 60615 0 2 0 syz-executor 21270 91638 60615 0 2 0x4000000 syz-executor 49991 343929 58878 0 2 0 syz-executor 49991 93325 58878 0 2 0x4000000 syz-executor 49991 311601 58878 0 3 0x4000000 inode syz-executor 49991 123748 58878 0 3 0x4000080 fsleep syz-executor 61310 452430 30038 0 2 0 syz-executor 61310 331181 30038 0 2 0x4000000 syz-executor 71207 479665 69562 0 2 0 syz-executor *71207 434259 69562 0 7 0x4000000 syz-executor 71207 354592 69562 0 3 0x4000000 futex syz-executor 71207 305724 69562 0 2 0x4000000 syz-executor 29065 85220 59174 0 2 0x2 syz-executor 78877 395693 0 0 3 0x14200 bored sosplice 55415 156362 1 0 3 0x100083 ttyin getty 60615 184813 59174 0 3 0x82 nanoslp syz-executor 30038 53777 59174 0 3 0x82 nanoslp syz-executor 69562 71781 59174 0 3 0x82 nanoslp syz-executor 44111 16153 59174 0 2 0x2 syz-executor 72377 399489 59174 0 3 0x82 nanoslp syz-executor 65532 199723 59174 0 2 0x2 syz-executor 58878 42972 59174 0 3 0x82 nanoslp syz-executor 59174 73789 82047 0 3 0x82 kqread syz-executor 82047 349364 54057 0 3 0x10008a sigsusp ksh 54057 110499 86793 0 3 0x98 kqread sshd-session 86793 64829 25233 0 3 0x92 kqread sshd-session 25233 174958 1 0 3 0x88 kqread sshd 13290 319911 40724 73 3 0x1100090 kqread syslogd 40724 440041 1 0 3 0x100082 sbwait syslogd 35028 399521 1 0 3 0x100080 kqread resolvd 7490 55881 51090 77 3 0x100092 kqread dhcpleased 59356 395595 51090 77 3 0x100092 kqread dhcpleased 51090 50024 1 0 3 0x80 kqread dhcpleased 79770 99604 0 0 3 0x14200 bored smr 17775 211474 0 0 2 0x14200 zerothread 85605 289667 0 0 3 0x14200 aiodoned aiodoned 5084 287444 0 0 3 0x14200 syncer update 72043 154063 0 0 3 0x14200 cleaner cleaner 15160 127609 0 0 3 0x14200 reaper reaper 9294 402713 0 0 3 0x14200 pgdaemon pagedaemon 29277 401845 0 0 3 0x14200 bored viomb 42674 312120 0 0 3 0x40014200 acpi0 acpi0 19464 152897 0 0 3 0x14200 bored softnet3 3461 469834 0 0 3 0x14200 bored softnet2 59780 211889 0 0 3 0x14200 bored softnet1 46896 369205 0 0 3 0x14200 bored softnet0 72365 247118 0 0 3 0x14200 bored systqmp 3609 325060 0 0 3 0x14200 bored systq 69825 154267 0 0 3 0x40014200 tmoslp softclock 46273 369967 0 0 3 0x40014200 idle0 1 87837 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 10180 11114K 11444K 166960K 11935 0 pcb 18 14K 16K 166960K 173 0 rtable 193 5K 6K 166960K 423 0 pf 33 13K 20K 166960K 58 0 ifaddr 39 6K 7K 166960K 64 0 ifgroup 53 2K 2K 166960K 80 0 counters 30 17K 17K 166960K 41 0 ioctlops 0 0K 4K 166960K 67 0 iov 0 0K 16K 166960K 18 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1433 90K 90K 166960K 1805 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 25 0 dirhash 12 2K 2K 166960K 30 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 16 57K 97K 166960K 530 0 sigio 0 0K 0K 166960K 10 0 proc 60 59K 124K 166960K 554 0 subproc 104 6K 6K 166960K 117 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 52 0 in_multi 86 6K 7K 166960K 141 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 476 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 213 72K 88K 166960K 6521 0 UVM aobj 77 3K 3K 166960K 79 0 pinsyscall 37 74K 100K 166960K 1583 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 14 0 NDP 11 0K 2K 166960K 42 0 temp 51 6813K 6878K 166960K 14608 0 kqueue 13 20K 30K 166960K 97 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 93 0 90 2 0 2 2 0 8 1 rtentry 112 133 0 45 4 0 4 4 0 8 0 unpcb 144 338 0 322 4 0 4 4 0 8 3 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 127 0 123 5 1 4 4 0 8 3 arp 88 22 0 4 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 6 0 4 1 0 1 1 0 8 0 inpcb 336 649 0 640 14 10 4 12 0 8 2 nd6 104 28 0 7 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 ppxss 1072 9 0 9 2 1 1 1 0 8 1 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 1 0 1 1 0 8 0 pfstate 344 2 0 1 1 0 1 1 0 8 0 pfrule 1344 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 572 0 193 31 2 29 29 0 8 3 art_table 32 573 0 193 4 0 4 4 0 8 0 art_node 16 131 0 54 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 8 2 1 1 1 0 8 1 semapl 112 22 0 12 1 0 1 1 0 8 0 shmpl 112 76 0 2 3 0 3 3 0 8 0 dirhash 1024 29 0 12 3 0 3 3 0 8 0 dino2pl 256 2306 0 807 95 0 95 95 0 8 0 ffsino 240 2306 0 807 89 0 89 89 0 8 0 nchpl 144 3034 0 1363 63 0 63 63 0 8 0 uvmvnodes 80 2665 0 0 55 0 55 55 0 8 0 vnodes 216 2665 0 0 149 0 149 149 0 8 0 namei 1024 10003 0 10003 2 1 1 2 0 8 1 kstatmem 264 44 0 22 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 0 1 1 0 8 1 scxspl 216 8540 0 8540 10 2 8 8 1 8 8 plimitpl 152 193 0 176 1 0 1 1 0 8 0 sigapl 424 810 0 765 7 1 6 7 0 8 0 futexpl 64 6579 0 6577 1 0 1 1 0 8 0 knotepl 120 18581 0 18534 24 14 10 16 0 8 8 kqueuepl 184 128 0 119 1 0 1 1 0 8 0 pipepl 288 136 0 109 4 1 3 3 0 8 0 fdescpl 432 793 0 765 5 1 4 5 0 8 0 filepl 120 4482 0 4233 14 3 11 12 0 8 1 lockfpl 104 204 0 200 2 1 1 2 0 8 0 lockfspl 48 62 0 58 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 33 0 17 1 0 1 1 0 8 0 ucredpl 104 894 0 882 1 0 1 1 0 8 0 zombiepl 144 977 0 977 2 1 1 1 0 8 1 processpl 1096 810 0 765 4 0 4 4 0 8 0 procpl 648 1487 0 1432 6 0 6 6 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 504 1092 0 1064 28 16 12 20 0 8 6 mcl64k 65536 9 0 9 2 1 1 1 0 8 1 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 13 0 13 2 1 1 1 0 8 1 mcl4k 4096 3249 0 3198 15 7 8 14 0 8 0 mcl2k 2048 509 0 507 2 0 2 2 0 8 1 mtagpl 96 15 0 7 1 0 1 1 0 8 0 mbufpl 256 8355 0 8184 13 0 13 13 0 8 0 bufpl 280 2765 0 96 191 0 191 191 0 8 0 anonpl 24 206439 0 203319 56 11 45 45 0 187 19 amapchunkpl 152 22988 0 22541 38 5 33 33 0 158 14 amappl16 200 5583 0 5561 17 7 10 14 0 8 8 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 115 0 105 1 0 1 1 0 8 0 amappl13 176 12 0 12 1 1 0 1 0 8 0 amappl12 168 1424 0 1397 3 1 2 3 0 8 0 amappl11 160 49 0 38 1 0 1 1 0 8 0 amappl10 152 47 0 47 2 1 1 1 0 8 1 amappl9 144 135 0 135 1 1 0 1 0 8 0 amappl8 136 47 0 46 1 0 1 1 0 8 0 amappl7 128 100 0 90 1 0 1 1 0 8 0 amappl6 120 176 0 174 1 0 1 1 0 8 0 amappl5 112 133 0 123 1 0 1 1 0 8 0 amappl4 104 304 0 290 1 0 1 1 0 8 0 amappl3 96 3954 0 3867 3 0 3 3 0 8 0 amappl2 88 1063 0 988 2 0 2 2 0 8 0 amappl1 80 8417 0 7909 15 3 12 14 0 8 1 amappl 88 6129 0 5972 5 0 5 5 0 92 0 dma32768 32768 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 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 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 78 0 2 2 0 2 2 0 8 0 uaddrrnd 24 793 0 765 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 793 0 765 1 0 1 1 0 8 0 vmmpekpl 168 7488 0 7453 2 0 2 2 0 8 0 vmmpepl 168 57094 0 55427 90 2 88 88 0 357 10 vmsppl 352 792 0 765 4 1 3 4 0 8 0 rwobjpl 24 22888 0 19315 22 0 22 22 0 8 0 pdppl 4096 1593 0 1530 103 36 67 83 0 8 4 pvpl 32 418838 0 410668 129 20 109 109 0 265 28 pmappl 216 792 0 765 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 415 0 79 11 1 10 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a456290,ffff8000376099b0,ffff800037609900) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a456290,ffff8000376099b0,ffff800037609900) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000376099b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x89577acbda0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a456290,ffff8000376099b0,ffff800037609900) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a456290,ffff8000376099b0,ffff800037609900) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000376099b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x89577acbda0, count: -3