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(ffff80002a5aef68,ffff8000376750a0,ffff800037674ff0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a5aef68,ffff8000376750a0,ffff800037674ff0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000376750a0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71855ff4100, count: -3 ddb> show registers rdi 0 rsi 0x20001208 rbp 0xffff800037674fc0 rbx 0 rdx 0 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x4c6cbecc9aa88078 r11 0x2019d2f71b46ea84 r12 0xfffffd807dd69d98 r13 0xdeafbeaddeafbead r14 0xffff800001395700 r15 0xa rip 0xffffffff8207e712 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800037674f20 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=132717 pid=10490 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=0xffff80002a5aece0,0xffff80002a5ae558 process=0xffff8000327f48a8 user=0xffff800037670000, vmspace=0xfffffd806c2119b0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 80213 196876 47285 0 2 0 syz-executor 80213 489050 47285 0 3 0x4000080 fsleep syz-executor 88365 412585 42354 0 2 0 syz-executor 88365 482329 42354 0 3 0x4000000 futex syz-executor 88365 279965 42354 0 2 0x4000000 syz-executor 29460 181367 33719 0 2 0 syz-executor 29460 154776 33719 0 3 0x4000080 fsleep syz-executor 29460 107552 33719 0 3 0x4000080 fsleep syz-executor 8826 241167 48274 60928 3 0x10 futex syz-executor 8826 339740 48274 60928 3 0x4000090 fsleep syz-executor 8826 239977 48274 60928 2 0x4000010 syz-executor 8826 320792 48274 60928 3 0x4000090 fsleep syz-executor 10490 201310 60465 0 2 0 syz-executor *10490 132717 60465 0 7 0x4000000 syz-executor 10490 439461 60465 0 2 0x4000000 syz-executor 10490 120333 60465 0 3 0x4000000 futex syz-executor 90102 229618 62626 0 2 0 syz-executor 90102 462248 62626 0 3 0x4000080 kqread syz-executor 90102 347100 62626 0 3 0x4000000 futex syz-executor 90102 415538 62626 0 3 0x4000080 fsleep syz-executor 20961 369822 72802 0 2 0x10 syz-executor 20961 83499 72802 0 3 0x4000090 fifor syz-executor 20961 515856 72802 0 3 0x4000090 fifor syz-executor 20961 480287 72802 0 2 0x4000010 syz-executor 20961 426237 72802 0 2 0x4000010 syz-executor 72802 376670 37052 0 3 0x82 nanoslp syz-executor 66579 403035 0 0 3 0x14200 bored sosplice 60465 298677 37052 0 3 0x82 nanoslp syz-executor 86219 5305 37052 0 3 0x82 wait syz-executor 33719 369607 37052 0 3 0x82 nanoslp syz-executor 47285 107797 37052 0 3 0x82 nanoslp syz-executor 48274 154895 37052 0 3 0x82 nanoslp syz-executor 62626 1472 37052 0 3 0x82 nanoslp syz-executor 42354 292642 37052 0 3 0x82 nanoslp syz-executor 37052 493537 78821 0 3 0x82 kqread syz-executor 78821 44127 86240 0 3 0x10008a sigsusp ksh 86240 40675 46946 0 3 0x98 kqread sshd-session 46946 170156 11912 0 3 0x92 kqread sshd-session 32201 282803 1 0 3 0x100083 ttyopn getty 11912 22312 1 0 3 0x88 kqread sshd 67871 108191 35461 73 3 0x1100090 kqread syslogd 35461 138366 1 0 3 0x100082 sbwait syslogd 80258 384567 1 0 3 0x100080 kqread resolvd 83980 116973 64251 77 3 0x100092 kqread dhcpleased 62737 421101 64251 77 3 0x100092 kqread dhcpleased 64251 298650 1 0 3 0x80 kqread dhcpleased 56642 290321 0 0 3 0x14200 bored smr 10311 102141 0 0 2 0x14200 zerothread 79551 203646 0 0 3 0x14200 aiodoned aiodoned 43123 489275 0 0 3 0x14200 syncer update 11936 348854 0 0 3 0x14200 cleaner cleaner 72194 162601 0 0 3 0x14200 reaper reaper 63025 276460 0 0 3 0x14200 pgdaemon pagedaemon 72646 219534 0 0 3 0x14200 bored viomb 66839 143580 0 0 3 0x40014200 acpi0 acpi0 200 439262 0 0 3 0x14200 bored softnet3 58537 419354 0 0 3 0x14200 bored softnet2 64572 78071 0 0 3 0x14200 bored softnet1 38641 201607 0 0 3 0x14200 bored softnet0 62153 439419 0 0 3 0x14200 bored systqmp 6109 193045 0 0 3 0x14200 bored systq 85450 317653 0 0 3 0x40014200 tmoslp softclock 96321 362519 0 0 3 0x40014200 idle0 1 93329 0 0 3 0x80082 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 10201 11059K 11429K 166960K 12368 0 pcb 18 14K 14K 166960K 241 0 rtable 232 9K 9K 166960K 618 0 pf 33 13K 16K 166960K 144 0 ifaddr 42 7K 7K 166960K 67 0 ifgroup 53 2K 2K 166960K 99 0 sysctl 4 1K 3K 166960K 5 0 counters 30 17K 17K 166960K 44 0 ioctlops 0 0K 4K 166960K 184 0 iov 0 0K 16K 166960K 61 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1428 90K 90K 166960K 2147 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 28 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 95 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 18 65K 97K 166960K 1236 0 sigio 0 0K 0K 166960K 28 0 proc 60 59K 116K 166960K 584 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 0 0K 0K 166960K 117 0 in_multi 99 7K 7K 166960K 144 0 ether_multi 1 0K 0K 166960K 7 0 mrt 0 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 223 996K 996K 166960K 223 0 exec 0 0K 2K 166960K 539 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 248 73K 88K 166960K 12960 0 UVM aobj 27 4K 6K 166960K 41 0 pinsyscall 39 78K 106K 166960K 2295 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 3 0K 1K 166960K 78 0 NDP 11 0K 2K 166960K 45 0 temp 91 6818K 6894K 166960K 37660 0 kqueue 16 26K 30K 166960K 210 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 295 0 259 3 1 2 2 0 8 0 rtentry 112 169 0 65 4 0 4 4 0 8 0 unpcb 144 1081 0 1064 9 5 4 6 0 8 3 syncache 336 13 0 13 3 2 1 1 0 8 1 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 808 411 0 404 7 5 2 7 0 8 0 arp 88 23 0 5 1 0 1 1 0 8 0 ipq 40 2 0 1 1 0 1 1 0 8 0 ipqe 40 3 0 2 1 0 1 1 0 8 0 inpcb 336 1516 0 1501 19 9 10 10 0 8 8 nd6 104 35 0 10 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 7 0 7 1 1 0 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 264 2 0 2 1 1 0 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 4 1 0 1 1 0 8 0 pfstate 344 3 0 2 1 0 1 1 0 8 0 pfrule 1344 46 0 45 1 0 1 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 631 0 178 31 2 29 31 0 8 0 art_table 32 634 0 178 5 1 4 5 0 8 0 art_node 16 142 0 52 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 12 1 0 1 1 0 8 0 semapl 112 92 0 82 1 0 1 1 0 8 0 shmpl 112 38 0 14 2 1 1 1 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 3504 0 2011 95 0 95 95 0 8 0 ffsino 240 3504 0 2011 89 0 89 89 0 8 0 nchpl 144 5218 0 3536 63 0 63 63 0 8 0 uvmvnodes 80 4072 0 0 84 0 84 84 0 8 0 vnodes 216 4072 0 0 227 0 227 227 0 8 0 namei 1024 17245 0 17245 4 3 1 2 0 8 1 kstatmem 264 50 0 28 2 0 2 2 0 8 0 scsiplug 72 4 0 4 1 1 0 1 0 8 0 scxspl 216 15503 0 15503 10 9 1 8 1 8 1 plimitpl 152 342 0 326 1 0 1 1 0 8 0 sigapl 424 1539 0 1492 9 1 8 8 0 8 1 futexpl 64 16209 0 16202 1 0 1 1 0 8 0 knotepl 120 56629 0 56372 17 7 10 17 0 8 2 kqueuepl 184 401 0 389 4 0 4 4 0 8 3 pipepl 288 184 0 157 3 0 3 3 0 8 0 fdescpl 432 1499 0 1469 5 1 4 5 0 8 0 filepl 120 8934 0 8653 18 4 14 14 0 8 5 lockfpl 104 480 0 478 2 1 1 2 0 8 0 lockfspl 48 140 0 138 1 0 1 1 0 8 0 sessionpl 144 26 0 18 1 0 1 1 0 8 0 pgrppl 48 43 0 27 1 0 1 1 0 8 0 ucredpl 104 1448 0 1431 1 0 1 1 0 8 0 zombiepl 144 1748 0 1747 3 2 1 1 0 8 0 processpl 1096 1539 0 1492 5 0 5 5 0 8 1 procpl 648 3216 0 3151 8 0 8 8 0 8 2 sosppl 168 6 0 6 1 1 0 1 0 8 0 sockpl 504 2909 0 2841 47 34 13 22 0 8 4 mcl64k 65536 33 0 33 2 1 1 1 0 8 1 mcl16k 16384 22 0 22 2 1 1 1 0 8 1 mcl12k 12288 6 0 6 2 1 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 47 0 47 3 2 1 1 0 8 1 mcl4k 4096 4366 0 4318 14 7 7 14 0 8 0 mcl2k2 2112 3 0 2 1 0 1 1 0 8 0 mcl2k 2048 1203 0 1200 5 3 2 3 0 8 1 mtagpl 96 14 0 7 2 1 1 1 0 8 0 mbufpl 256 16765 0 16605 21 4 17 17 0 8 4 bufpl 280 5606 0 98 394 0 394 394 0 8 0 anonpl 24 294465 0 291029 72 26 46 46 0 187 21 amapchunkpl 152 44086 0 43528 43 15 28 35 0 158 6 amappl16 200 7823 0 7794 46 35 11 15 0 8 8 amappl15 192 11 0 11 1 1 0 1 0 8 0 amappl14 184 154 0 144 1 0 1 1 0 8 0 amappl13 176 16 0 16 1 1 0 1 0 8 0 amappl12 168 2131 0 2101 3 1 2 3 0 8 0 amappl11 160 51 0 41 1 0 1 1 0 8 0 amappl10 152 14 0 14 1 1 0 1 0 8 0 amappl9 144 136 0 136 1 1 0 1 0 8 0 amappl8 136 23 0 21 1 0 1 1 0 8 0 amappl7 128 177 0 167 1 0 1 1 0 8 0 amappl6 120 188 0 185 1 0 1 1 0 8 0 amappl5 112 139 0 131 1 0 1 1 0 8 0 amappl4 104 305 0 289 1 0 1 1 0 8 0 amappl3 96 7915 0 7809 3 0 3 3 0 8 0 amappl2 88 1818 0 1739 2 0 2 2 0 8 0 amappl1 80 11424 0 10906 14 2 12 14 0 8 0 amappl 88 12497 0 12303 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 256 0 256 2 2 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 40 0 14 1 0 1 1 0 8 0 uaddrrnd 24 1499 0 1469 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1499 0 1469 1 0 1 1 0 8 0 vmmpekpl 168 12454 0 12419 3 0 3 3 0 8 0 vmmpepl 168 99358 0 97533 106 16 90 90 0 357 9 vmsppl 352 1498 0 1469 4 1 3 4 0 8 0 rwobjpl 24 34086 0 29106 32 1 31 31 0 8 0 pdppl 4096 3004 0 2938 112 46 66 82 0 8 0 pvpl 32 704856 0 695195 149 37 112 112 0 265 27 pmappl 216 1498 0 1469 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 466 0 121 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a5aef68,ffff8000376750a0,ffff800037674ff0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a5aef68,ffff8000376750a0,ffff800037674ff0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000376750a0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71855ff4100, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a5aef68,ffff8000376750a0,ffff800037674ff0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a5aef68,ffff8000376750a0,ffff800037674ff0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff8000376750a0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71855ff4100, count: -3