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(ffff80002a776528,ffff80003c999820,ffff80003c999770) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a776528,ffff80003c999820,ffff80003c999770) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c999820) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c999820) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3fe23642440, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff80003c999740 rbx 0 rdx 0xffff8000014ba3c0 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x8a53124a1a7ff5e8 r11 0x4187a2f6a6432c2c r12 0xfffffd8067fa3f00 r13 0xdeaf4152deaf4152 r14 0xffff800001566700 r15 0xa rip 0xffffffff81b48e72 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003c9996a0 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=216327 pid=37233 tcnt=5 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=81, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7f14a0,0xffff80003c96aa78 process=0xffff800035d15b48 user=0xffff80003c994000, vmspace=0xfffffd806c28f9e8 estcpu=31, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 85834 478646 92557 0 2 0 syz-executor 85834 494637 92557 0 3 0x4000080 fsleep syz-executor 21372 443794 1526 0 2 0 syz-executor 21372 110347 1526 0 3 0x4000080 fsleep syz-executor 20216 243888 57534 0 2 0 syz-executor 20216 284915 57534 0 3 0x4000080 fsleep syz-executor 14010 201149 45549 0 2 0 syz-executor 14010 206153 45549 0 3 0x4000080 fsleep syz-executor 14307 323897 60246 0 2 0 syz-executor 14307 414113 60246 0 3 0x4000080 fsleep syz-executor 69252 244031 10971 0 2 0 syz-executor 69252 273441 10971 0 3 0x4000080 fifor syz-executor 69252 240450 10971 0 3 0x4000080 fifor syz-executor 69252 488717 10971 0 3 0x4000080 fsleep syz-executor 69252 141538 10971 0 3 0x4000080 fsleep syz-executor 37233 403091 45932 0 2 0 syz-executor *37233 216327 45932 0 7 0x4000000 syz-executor 37233 433624 45932 0 3 0x4000080 fsleep syz-executor 37233 187170 45932 0 2 0x4000000 syz-executor 37233 456123 45932 0 2 0x4000000 syz-executor 3401 118844 10652 0 2 0 syz-executor 3401 396257 10652 0 2 0x4000000 syz-executor 45932 176225 94167 0 3 0x82 nanoslp syz-executor 54439 326441 1 0 3 0x100083 ttyin getty 81653 65733 0 0 3 0x14200 bored sosplice 10652 9567 94167 0 3 0x82 nanoslp syz-executor 1526 410320 94167 0 3 0x82 nanoslp syz-executor 60246 473500 94167 0 3 0x82 nanoslp syz-executor 45549 497210 94167 0 3 0x82 nanoslp syz-executor 57534 341168 94167 0 3 0x82 nanoslp syz-executor 92557 351518 94167 0 3 0x82 nanoslp syz-executor 10971 201616 94167 0 3 0x82 nanoslp syz-executor 94167 383327 40591 0 3 0x82 kqread syz-executor 40591 104457 96841 0 3 0x10008a sigsusp ksh 96841 165179 36803 0 3 0x98 kqread sshd-session 36803 404935 11155 0 3 0x92 kqread sshd-session 11155 150017 1 0 3 0x88 kqread sshd 98267 181810 27983 73 3 0x1100090 kqread syslogd 27983 387746 1 0 3 0x100082 sbwait syslogd 39699 64059 1 0 3 0x100080 kqread resolvd 72205 94288 84216 77 3 0x100092 kqread dhcpleased 18026 454991 84216 77 3 0x100092 kqread dhcpleased 84216 138764 1 0 3 0x80 kqread dhcpleased 74275 116663 0 0 3 0x14200 bored smr 31060 160179 0 0 2 0x14200 zerothread 24941 355370 0 0 3 0x14200 aiodoned aiodoned 32948 51028 0 0 3 0x14200 syncer update 82725 162037 0 0 3 0x14200 cleaner cleaner 11377 188449 0 0 3 0x14200 reaper reaper 7476 218072 0 0 3 0x14200 pgdaemon pagedaemon 84754 154338 0 0 3 0x14200 bored viomb 58474 351373 0 0 3 0x40014200 acpi0 acpi0 49099 6324 0 0 3 0x14200 bored softnet3 22988 510043 0 0 3 0x14200 bored softnet2 68238 422711 0 0 3 0x14200 bored softnet1 39619 487824 0 0 3 0x14200 bored softnet0 80242 469254 0 0 3 0x14200 bored systqmp 85249 208383 0 0 3 0x14200 bored systq 23958 466516 0 0 3 0x40014200 tmoslp softclock 29584 499122 0 0 3 0x40014200 idle0 1 237872 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 10184 11045K 11844K 166960K 12194 0 pcb 17 14K 16K 166960K 179 0 rtable 225 15K 16K 166960K 449 0 pf 33 13K 17K 166960K 82 0 ifaddr 41 7K 8K 166960K 65 0 ifgroup 50 2K 2K 166960K 89 0 sysctl 4 1K 9K 166960K 10 0 counters 32 17K 18K 166960K 51 0 ioctlops 0 0K 4K 166960K 130 0 iov 0 0K 16K 166960K 24 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1496 94K 94K 166960K 2000 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 0K 166960K 15 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 551 0 sigio 0 0K 0K 166960K 6 0 proc 60 59K 124K 166960K 556 0 subproc 72 4K 4K 166960K 83 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 71 0 in_multi 90 6K 7K 166960K 133 0 ether_multi 1 0K 0K 166960K 5 0 mrt 0 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 115 519K 519K 166960K 115 0 exec 0 0K 1K 166960K 398 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 234 135K 149K 166960K 6447 0 UVM aobj 15 2K 2K 166960K 15 0 pinsyscall 39 78K 96K 166960K 1603 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 20 0 NDP 11 0K 2K 166960K 40 0 temp 49 8676K 8804K 166960K 14324 0 kqueue 13 20K 28K 166960K 110 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 64 0 61 1 0 1 1 0 8 0 rtentry 136 134 0 34 4 0 4 4 0 8 0 unpcb 144 262 0 243 4 1 3 3 0 8 2 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 128 0 123 4 3 1 4 0 8 0 arp 88 21 0 2 1 0 1 1 0 8 0 inpcb 328 505 0 496 10 8 2 10 0 8 0 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 4 0 4 1 1 0 1 0 8 0 nd6 104 27 0 3 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 13 0 13 1 0 1 1 0 8 1 pppxif 1384 4 0 4 2 1 1 1 0 8 1 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 2 1 0 1 1 0 8 0 pfstate 384 3 0 1 1 0 1 1 0 8 0 pfrule 1344 7 0 6 1 0 1 1 0 8 0 rttmr 136 3 0 3 2 1 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 611 0 220 29 2 27 29 0 8 2 art_table 32 613 0 220 4 0 4 4 0 8 0 art_node 16 130 0 43 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 6 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 11 0 2 1 0 1 1 0 8 0 shmpl 112 12 0 0 1 0 1 1 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 2333 0 830 95 0 95 95 0 8 0 ffsino 248 2333 0 830 95 0 95 95 0 8 0 nchpl 144 3057 0 1378 63 0 63 63 0 8 0 rtmask 32 3 0 3 1 0 1 1 0 8 1 uvmvnodes 80 2893 0 0 60 0 60 60 0 8 0 vnodes 216 2893 0 0 161 0 161 161 0 8 0 namei 1024 10301 0 10301 4 1 3 3 0 8 3 kstatmem 264 44 0 22 2 0 2 2 0 8 0 scsiplug 72 2 0 2 2 1 1 1 0 8 1 scxspl 216 9681 0 9681 9 7 2 8 1 8 2 plimitpl 152 283 0 266 1 0 1 1 0 8 0 sigapl 424 828 0 781 7 1 6 7 0 8 0 knotepl 120 19380 0 19333 24 14 10 17 0 8 8 kqueuepl 184 169 0 160 1 0 1 1 0 8 0 pipepl 296 162 0 135 5 2 3 5 0 8 0 fdescpl 440 811 0 781 5 1 4 5 0 8 0 filepl 120 4385 0 4172 11 2 9 11 0 8 0 lockfpl 104 182 0 180 1 0 1 1 0 8 0 lockfspl 48 88 0 86 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 40 0 24 1 0 1 1 0 8 0 ucredpl 104 510 0 499 1 0 1 1 0 8 0 zombiepl 144 878 0 878 1 0 1 1 0 8 1 processpl 1160 828 0 781 4 0 4 4 0 8 0 procpl 656 1490 0 1429 6 0 6 6 0 8 0 sosppl 168 1 0 1 1 1 0 1 0 8 0 sockpl 528 843 0 812 12 7 5 10 0 8 2 mcl64k 65536 9 0 9 2 1 1 1 0 8 1 mcl8k 8192 6 0 6 2 1 1 1 0 8 1 mcl4k 4096 2909 0 2858 14 7 7 14 0 8 0 mcl2k 2048 491 0 488 5 3 2 4 0 8 1 mtagpl 96 51 0 41 2 0 2 2 0 8 0 mbufpl 256 9191 0 9014 20 6 14 20 0 8 0 bufpl 280 3038 0 120 209 0 209 209 0 8 0 anonpl 24 104037 0 100871 48 4 44 44 0 187 17 amapchunkpl 152 19701 0 19188 30 7 23 28 0 158 3 amappl16 200 1368 0 1340 18 7 11 14 0 8 8 amappl15 192 4 0 3 1 0 1 1 0 8 0 amappl14 184 107 0 97 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 1456 0 1426 3 1 2 3 0 8 0 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 253 0 253 1 1 0 1 0 8 0 amappl8 136 19 0 18 1 0 1 1 0 8 0 amappl7 128 159 0 149 1 0 1 1 0 8 0 amappl6 120 174 0 171 1 0 1 1 0 8 0 amappl5 112 114 0 108 1 0 1 1 0 8 0 amappl4 104 285 0 268 1 0 1 1 0 8 0 amappl3 96 3926 0 3811 4 0 4 4 0 8 1 amappl2 88 614 0 558 2 0 2 2 0 8 0 amappl1 80 9593 0 9045 13 1 12 13 0 8 0 amappl 88 5720 0 5546 5 0 5 5 0 92 0 dma16384 16384 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 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 14 0 0 1 0 1 1 0 8 0 uaddrrnd 24 811 0 781 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 811 0 781 1 0 1 1 0 8 0 vmmpekpl 168 7918 0 7882 3 0 3 3 0 8 0 vmmpepl 168 54744 0 52848 92 0 92 92 0 357 9 vmsppl 360 810 0 781 4 1 3 4 0 8 0 rwobjpl 32 18472 0 14710 32 0 32 32 0 8 0 pdppl 4096 1628 0 1562 102 36 66 82 0 8 0 pvpl 32 323283 0 314711 112 5 107 107 0 265 30 pmappl 216 810 0 781 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 287 0 63 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a776528,ffff80003c999820,ffff80003c999770) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a776528,ffff80003c999820,ffff80003c999770) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c999820) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c999820) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3fe23642440, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a776528,ffff80003c999820,ffff80003c999770) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a776528,ffff80003c999820,ffff80003c999770) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c999820) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c999820) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3fe23642440, count: -3