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(ffff800035c1c538,ffff800037623330,ffff800037623280) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff800035c1c538,ffff800037623330,ffff800037623280) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff800037623330) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb0e40765380, count: -3 ddb> show registers rdi 0 rsi 0x20001208 rbp 0xffff800037623250 rbx 0 rdx 0 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x4208ec63018217b6 r11 0xd5dff35b2f98620b r12 0xfffffd807290df58 r13 0xdeafbeaddeafbead r14 0xffff8000012f5900 r15 0xa rip 0xffffffff82ba14e2 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000376231b0 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=486638 pid=55941 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=55, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800035c1d468,0xffff800035c1d700 process=0xffff8000ffff59c8 user=0xffff80003761e000, vmspace=0xfffffd806c381598 estcpu=5, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 20889 213349 57146 0 2 0 syz-executor 20889 384176 57146 0 3 0x4000080 fsleep syz-executor 86169 138021 51359 0 2 0 syz-executor 86169 449828 51359 0 3 0x4000080 fsleep syz-executor 72334 300273 12674 0 2 0 syz-executor 72334 398978 12674 0 3 0x4000080 fsleep syz-executor 64835 478388 31818 0 2 0 syz-executor 64835 39180 31818 0 3 0x4000080 fsleep syz-executor 16402 142995 28309 0 2 0 syz-executor 55941 484927 57367 0 2 0 syz-executor *55941 486638 57367 0 7 0x4000000 syz-executor 55941 226830 57367 0 3 0x4000080 fsleep syz-executor 55941 3363 57367 0 2 0x4000000 syz-executor 66846 280885 0 0 3 0x14200 acct acct 19531 224786 96430 0 2 0 syz-executor 19531 194513 96430 0 2 0x4000480 syz-executor 19531 455403 96430 0 2 0x4000080 syz-executor 96430 460968 91255 0 2 0x482 syz-executor 28309 106704 91255 0 2 0x482 syz-executor 12674 286749 91255 0 3 0x82 nanoslp syz-executor 90350 78451 91255 0 3 0x82 nanoslp syz-executor 57367 376831 91255 0 3 0x82 nanoslp syz-executor 57146 96941 91255 0 3 0x82 nanoslp syz-executor 51359 274153 91255 0 3 0x82 nanoslp syz-executor 31818 196314 91255 0 2 0x482 syz-executor 91255 213794 51381 0 3 0x82 kqread syz-executor 51381 342451 46008 0 3 0x10008a sigsusp ksh 46008 162447 8089 0 3 0x98 kqread sshd-session 8089 183405 15122 0 3 0x92 kqread sshd-session 46716 41733 1 0 3 0x100083 ttyin getty 15122 307812 1 0 3 0x88 kqread sshd 41842 327655 58048 73 3 0x1100090 kqread syslogd 58048 161681 1 0 3 0x100082 sbwait syslogd 82953 263931 1 0 3 0x100080 kqread resolvd 54693 328987 31230 77 3 0x100092 kqread dhcpleased 55960 1532 31230 77 3 0x100092 kqread dhcpleased 31230 131196 1 0 3 0x80 kqread dhcpleased 44256 88567 0 0 3 0x14200 bored smr 41324 496135 0 0 2 0x14200 zerothread 50881 5166 0 0 3 0x14200 aiodoned aiodoned 14152 410220 0 0 3 0x14200 syncer update 2824 366234 0 0 3 0x14200 cleaner cleaner 57205 218324 0 0 3 0x14200 reaper reaper 18166 378152 0 0 3 0x14200 pgdaemon pagedaemon 13783 170567 0 0 3 0x14200 bored viomb 56777 502147 0 0 3 0x40014200 acpi0 acpi0 91447 280036 0 0 3 0x14200 bored softnet3 42480 278210 0 0 3 0x14200 bored softnet2 22176 13541 0 0 3 0x14200 bored softnet1 60383 407760 0 0 3 0x14200 bored softnet0 52349 441915 0 0 3 0x14200 bored systqmp 61817 7779 0 0 3 0x14200 bored systq 13598 457869 0 0 3 0x40014200 tmoslp softclock 37151 353774 0 0 3 0x40014200 idle0 1 185160 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 10178 11110K 11492K 166960K 11354 0 pcb 17 12K 12K 166960K 31 0 rtable 222 6K 6K 166960K 359 0 pf 30 12K 14K 166960K 37 0 ifaddr 40 7K 7K 166960K 46 0 ifgroup 50 2K 2K 166960K 52 0 sysctl 2 0K 1K 166960K 3 0 counters 30 17K 17K 166960K 31 0 ioctlops 0 0K 4K 166960K 69 0 iov 0 0K 12K 166960K 3 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1370 86K 86K 166960K 1431 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 3 0K 0K 166960K 3 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 18 65K 89K 166960K 203 0 sigio 0 0K 0K 166960K 10 0 proc 60 59K 100K 166960K 484 0 subproc 104 6K 6K 166960K 104 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 10 0 in_multi 94 6K 7K 166960K 109 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 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 345 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 217 72K 86K 166960K 3376 0 UVM aobj 6 2K 2K 166960K 6 0 pinsyscall 39 78K 96K 166960K 1216 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 1 0 NDP 11 0K 2K 166960K 29 0 temp 74 6816K 6880K 166960K 4024 0 kqueue 13 20K 22K 166960K 27 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 38 0 35 1 0 1 1 0 8 0 rtentry 112 115 0 11 4 0 4 4 0 8 0 unpcb 144 126 0 111 4 3 1 4 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 68 0 30 5 1 4 4 0 8 0 arp 88 18 0 0 1 0 1 1 0 8 0 inpcb 336 148 0 107 5 1 4 4 0 8 0 nd6 104 25 0 3 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 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 477 0 46 29 0 29 29 0 8 0 art_table 32 478 0 46 4 0 4 4 0 8 0 art_node 16 114 0 19 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 3 2 1 1 1 0 8 1 semapl 112 1 0 0 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1643 0 142 94 0 94 94 0 8 0 ffsino 240 1643 0 142 89 0 89 89 0 8 0 nchpl 144 1923 0 247 63 0 63 63 0 8 0 uvmvnodes 80 1795 0 0 37 0 37 37 0 8 0 vnodes 216 1795 0 0 100 0 100 100 0 8 0 namei 1024 5792 0 5792 2 1 1 2 0 8 1 kstatmem 264 24 0 2 2 0 2 2 0 8 0 scxspl 216 5482 0 5482 2 1 1 2 1 8 1 plimitpl 152 33 0 17 1 0 1 1 0 8 0 sigapl 424 482 0 435 6 0 6 6 0 8 0 futexpl 64 1075 0 1070 1 0 1 1 0 8 0 knotepl 120 5137 0 5090 8 6 2 8 0 8 0 kqueuepl 184 33 0 24 1 0 1 1 0 8 0 pipepl 288 172 0 145 3 1 2 3 0 8 0 fdescpl 432 464 0 434 5 1 4 5 0 8 0 filepl 120 1968 0 1691 10 1 9 10 0 8 0 lockfpl 104 15 0 13 1 0 1 1 0 8 0 lockfspl 48 8 0 6 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 29 0 13 1 0 1 1 0 8 0 ucredpl 104 108 0 96 1 0 1 1 0 8 0 zombiepl 144 439 0 438 1 0 1 1 0 8 0 processpl 1096 482 0 435 4 0 4 4 0 8 0 procpl 648 585 0 529 6 0 6 6 0 8 0 sockpl 504 317 0 258 17 9 8 13 0 8 0 mcl8k 8192 7 0 7 1 1 0 1 0 8 0 mcl4k 4096 2708 0 2657 15 8 7 15 0 8 0 mcl2k2 2112 3 0 3 1 1 0 1 0 8 0 mcl2k 2048 186 0 186 1 0 1 1 0 8 1 mtagpl 96 4 0 4 1 1 0 1 0 8 0 mbufpl 256 4838 0 4675 11 0 11 11 0 8 0 bufpl 280 2298 0 94 158 0 158 158 0 8 0 anonpl 24 131554 0 128445 24 4 20 24 0 187 0 amapchunkpl 152 10680 0 10223 27 7 20 27 0 158 0 amappl16 200 3304 0 3288 5 3 2 5 0 8 0 amappl15 192 11 0 11 1 1 0 1 0 8 0 amappl14 184 106 0 96 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 1070 0 1041 2 0 2 2 0 8 0 amappl11 160 50 0 40 1 0 1 1 0 8 0 amappl10 152 12 0 12 1 1 0 1 0 8 0 amappl9 144 119 0 119 1 1 0 1 0 8 0 amappl8 136 21 0 20 1 0 1 1 0 8 0 amappl7 128 96 0 86 1 0 1 1 0 8 0 amappl6 120 166 0 165 1 0 1 1 0 8 0 amappl5 112 130 0 122 1 0 1 1 0 8 0 amappl4 104 273 0 258 1 0 1 1 0 8 0 amappl3 96 2031 0 1946 3 0 3 3 0 8 0 amappl2 88 729 0 653 2 0 2 2 0 8 0 amappl1 80 7333 0 6812 13 1 12 13 0 8 0 amappl 88 3033 0 2870 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 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 464 0 434 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 464 0 434 1 0 1 1 0 8 0 vmmpekpl 168 5157 0 5125 2 0 2 2 0 8 0 vmmpepl 168 36427 0 34689 78 1 77 78 0 357 0 vmsppl 352 463 0 434 4 1 3 4 0 8 0 rwobjpl 24 15837 0 13218 16 0 16 16 0 8 0 pdppl 4096 934 0 868 94 28 66 78 0 8 0 pvpl 32 255334 0 247031 74 0 74 74 0 265 0 pmappl 216 463 0 434 2 0 2 2 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 374 0 53 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff800035c1c538,ffff800037623330,ffff800037623280) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff800035c1c538,ffff800037623330,ffff800037623280) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff800037623330) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb0e40765380, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff800035c1c538,ffff800037623330,ffff800037623280) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff800035c1c538,ffff800037623330,ffff800037623280) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff800037623330) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb0e40765380, count: -3