login: 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(ffff80002f906a68,ffff80003c9576b0,ffff80003c957600) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002f906a68,ffff80003c9576b0,ffff80003c957600) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c9576b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9576b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb6b7466e510, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff80003c9575d0 rbx 0 rdx 0 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x9b7b61333428747c r11 0x96c53e1d827848b5 r12 0xfffffd806b854eb0 r13 0xdeadbeefdeadbeef r14 0xffff8000014a4f00 r15 0xa rip 0xffffffff81714a62 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003c957530 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=512263 pid=68473 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=82, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002f907738,0xffff80002a7c2a68 process=0xffff800033917678 user=0xffff80003c952000, vmspace=0xfffffd806fb0ae20 estcpu=32, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 25020 450485 56165 0 2 0 syz-executor 25020 365833 56165 0 2 0x4000000 syz-executor 67823 326607 80230 0 3 0 vmmaplk syz-executor 67823 431045 80230 0 3 0x4000080 fsleep syz-executor 67823 228535 80230 0 2 0x4000000 syz-executor 68473 73138 91180 0 2 0 syz-executor *68473 512263 91180 0 7 0x4000000 syz-executor 68473 380638 91180 0 2 0x4000000 syz-executor 68473 19247 91180 0 3 0x4000080 fsleep syz-executor 87029 102308 99133 0 3 0x80 nanoslp syz-executor 87029 181246 99133 0 3 0x4000080 sbwait syz-executor 87029 478442 99133 0 3 0x4000080 ttyin syz-executor 87029 36351 99133 0 3 0x4000080 fsleep syz-executor 87029 274276 99133 0 3 0x4000080 fsleep syz-executor 84699 87668 28526 0 2 0x1 syz-executor 84699 187457 28526 0 2 0x4000000 syz-executor 69363 510283 18476 0 2 0x1 syz-executor 69363 145711 18476 0 2 0x4000000 syz-executor 1161 249236 12659 0 2 0x1 syz-executor 1161 64827 12659 0 2 0x4000001 syz-executor 70220 416737 1 0 3 0x100083 ttyin getty 2868 361978 0 0 3 0x14200 acct acct 73982 369132 0 0 3 0x14200 bored sosplice 12659 475840 69414 0 3 0x82 nanoslp syz-executor 91180 476576 69414 0 3 0x82 nanoslp syz-executor 80230 431153 69414 0 3 0x82 nanoslp syz-executor 18476 472735 69414 0 3 0x82 nanoslp syz-executor 99815 235444 69414 0 3 0x82 nanoslp syz-executor 99133 134755 69414 0 3 0x82 nanoslp syz-executor 56165 209250 69414 0 3 0x82 nanoslp syz-executor 28526 481605 69414 0 3 0x82 nanoslp syz-executor 69414 493916 20408 0 3 0x82 kqread syz-executor 20408 128319 31155 0 3 0x10008a sigsusp ksh 31155 330878 89867 0 3 0x98 kqread sshd-session 89867 22421 58908 0 3 0x92 kqread sshd-session 58908 276630 1 0 3 0x88 kqread sshd 12121 331298 47115 73 3 0x1100090 kqread syslogd 47115 37182 1 0 3 0x100082 sbwait syslogd 24530 192948 1 0 3 0x100080 kqread resolvd 11622 121243 63222 77 3 0x100092 kqread dhcpleased 68428 330504 63222 77 3 0x100092 kqread dhcpleased 63222 325534 1 0 3 0x80 kqread dhcpleased 87659 201796 0 0 3 0x14200 bored smr 54242 377492 0 0 2 0x14200 zerothread 31540 417063 0 0 3 0x14200 aiodoned aiodoned 99780 105190 0 0 3 0x14200 syncer update 40326 130465 0 0 3 0x14200 cleaner cleaner 56361 41696 0 0 3 0x14200 reaper reaper 89985 24479 0 0 3 0x14200 pgdaemon pagedaemon 14929 258267 0 0 3 0x14200 bored viomb 77230 339112 0 0 3 0x40014200 acpi0 acpi0 54968 125698 0 0 3 0x14200 bored softnet3 79485 292130 0 0 3 0x14200 bored softnet2 24249 397868 0 0 3 0x14200 bored softnet1 86594 265437 0 0 3 0x14200 bored softnet0 13804 111850 0 0 3 0x14200 bored systqmp 94606 200882 0 0 3 0x14200 bored systq 80770 241947 0 0 3 0x40014200 tmoslp softclock 81462 325716 0 0 3 0x40014200 idle0 1 214437 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 11071K 11445K 166960K 11687 0 pcb 17 14K 15K 166960K 89 0 rtable 171 5K 6K 166960K 465 0 pf 26 12K 16K 166960K 51 0 ifaddr 32 5K 7K 166960K 50 0 ifgroup 42 1K 2K 166960K 61 0 sysctl 3 1K 9K 166960K 9 0 counters 30 17K 17K 166960K 38 0 ioctlops 0 0K 4K 166960K 103 0 iov 0 0K 20K 166960K 48 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1339 84K 85K 166960K 1634 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 12 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 17 0 dirhash 12 2K 3K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 439 0 sigio 0 0K 0K 166960K 6 0 proc 60 59K 100K 166960K 520 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 86 0 in_multi 70 5K 7K 166960K 103 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 2 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 2K 166960K 679 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 235 143K 152K 166960K 5452 0 UVM aobj 18 2K 2K 166960K 18 0 pinsyscall 39 78K 94K 166960K 1475 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 27 0 NDP 9 0K 2K 166960K 32 0 temp 58 8670K 8745K 166960K 14219 0 kqueue 13 20K 27K 166960K 94 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 63 0 60 1 0 1 1 0 8 0 rtentry 136 118 0 45 4 0 4 4 0 8 0 unpcb 144 422 0 405 2 1 1 2 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 73 0 68 1 0 1 1 0 8 0 arp 88 19 0 4 1 0 1 1 0 8 0 inpcb 328 347 0 337 8 1 7 7 0 8 6 ip6q 72 5 0 4 1 0 1 1 0 8 0 ip6af 40 10 0 9 1 0 1 1 0 8 0 nd6 104 25 0 9 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 5 0 5 2 1 1 1 0 8 1 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pfrule 1344 4 0 4 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 505 0 197 32 7 25 32 0 8 0 art_table 40 506 0 197 6 1 5 6 0 8 0 art_node 32 116 0 51 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 13 0 3 1 0 1 1 0 8 0 shmpl 112 15 0 0 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2186 0 685 95 0 95 95 0 8 0 ffsino 248 2186 0 685 95 0 95 95 0 8 0 nchpl 144 2799 0 1116 63 0 63 63 0 8 0 uvmvnodes 80 2395 0 0 49 0 49 49 0 8 0 vnodes 216 2395 0 0 134 0 134 134 0 8 0 namei 1024 9228 0 9228 2 1 1 2 0 8 1 kstatmem 264 30 0 12 2 0 2 2 0 8 0 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 11113 0 11113 6 2 4 4 1 8 4 plimitpl 152 114 0 97 1 0 1 1 0 8 0 sigapl 424 722 0 674 7 1 6 7 0 8 0 knotepl 120 13600 0 13553 16 7 9 9 0 8 7 kqueuepl 184 215 0 206 4 3 1 4 0 8 0 pipepl 296 194 0 167 3 0 3 3 0 8 0 fdescpl 440 704 0 674 5 1 4 5 0 8 0 filepl 120 4210 0 3991 12 3 9 10 0 8 2 lockfpl 104 152 0 149 1 0 1 1 0 8 0 lockfspl 48 75 0 72 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 104 526 0 514 1 0 1 1 0 8 0 zombiepl 144 732 0 729 1 0 1 1 0 8 0 processpl 1160 722 0 674 4 0 4 4 0 8 0 procpl 656 1211 0 1147 6 0 6 6 0 8 0 sockpl 528 848 0 818 9 2 7 7 0 8 4 mcl64k 65536 8 0 8 2 1 1 1 0 8 1 mcl8k 8192 5 0 5 1 1 0 1 0 8 0 mcl4k 4096 2835 0 2784 16 8 8 15 0 8 1 mcl2k 2048 802 0 797 5 2 3 5 0 8 0 mtagpl 96 22 0 5 1 0 1 1 0 8 0 mbufpl 256 8677 0 8507 19 4 15 19 0 8 0 bufpl 280 4220 0 121 293 0 293 293 0 8 0 anonpl 24 137664 0 134461 65 15 50 50 0 187 18 amapchunkpl 152 17284 0 16770 28 1 27 27 0 158 6 amappl16 200 2927 0 2898 28 12 16 16 0 8 12 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 109 0 98 1 0 1 1 0 8 0 amappl13 176 4 0 4 1 1 0 1 0 8 0 amappl12 168 1315 0 1285 3 1 2 3 0 8 0 amappl11 160 46 0 36 1 0 1 1 0 8 0 amappl10 152 4 0 3 1 0 1 1 0 8 0 amappl9 144 242 0 242 1 1 0 1 0 8 0 amappl8 136 29 0 28 1 0 1 1 0 8 0 amappl7 128 106 0 96 1 0 1 1 0 8 0 amappl6 120 182 0 179 1 0 1 1 0 8 0 amappl5 112 114 0 108 1 0 1 1 0 8 0 amappl4 104 297 0 283 1 0 1 1 0 8 0 amappl3 96 3238 0 3119 4 0 4 4 0 8 0 amappl2 88 618 0 561 2 0 2 2 0 8 0 amappl1 80 9217 0 8663 14 2 12 14 0 8 0 amappl 88 4761 0 4589 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 255 0 255 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 17 0 0 1 0 1 1 0 8 0 uaddrrnd 24 704 0 674 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 704 0 674 1 0 1 1 0 8 0 vmmpekpl 168 7162 0 7126 2 0 2 2 0 8 0 vmmpepl 168 50535 0 48613 100 4 96 96 0 357 5 vmsppl 360 703 0 674 4 1 3 4 0 8 0 rwobjpl 32 18564 0 15292 29 0 29 29 0 8 0 pdppl 4096 1414 0 1348 98 32 66 82 0 8 0 pvpl 32 328109 0 319663 149 30 119 121 0 265 31 pmappl 216 703 0 674 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 279 0 59 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002f906a68,ffff80003c9576b0,ffff80003c957600) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002f906a68,ffff80003c9576b0,ffff80003c957600) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c9576b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9576b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb6b7466e510, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002f906a68,ffff80003c9576b0,ffff80003c957600) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002f906a68,ffff80003c9576b0,ffff80003c957600) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c9576b0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9576b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb6b7466e510, count: -3