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(ffff80002a7f0538,ffff80003c959b10,ffff80003c959a60) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7f0538,ffff80003c959b10,ffff80003c959a60) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c959b10) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c959b10) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x23557210030, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff80003c959a30 rbx 0 rdx 0xffff800001432580 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x57195fe34b32cb8a r11 0xe92de8503d4ee2d6 r12 0xfffffd8069414f50 r13 0xdeadbeefdeadbeef r14 0xffff8000014e4200 r15 0xa rip 0xffffffff81b48e72 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003c959990 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=111283 pid=21816 tcnt=5 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=77, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7f0f78,0xffff80003c960f98 process=0xffff800036914928 user=0xffff80003c954000, vmspace=0xfffffd806c2a3178 estcpu=27, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 60334 405466 18560 0 2 0 syz-executor 60334 345324 18560 0 3 0x4000080 fsleep syz-executor 72255 230746 96717 0 2 0 syz-executor 72255 357228 96717 0 3 0x4000080 fsleep syz-executor 79368 413903 51567 0 2 0 syz-executor 79368 430421 51567 0 3 0x4000080 fsleep syz-executor 1044 326823 69603 0 2 0x1044 syz-executor 69603 353425 99400 0 3 0x82 ppwait syz-executor 21816 187475 35255 0 2 0 syz-executor *21816 111283 35255 0 7 0x4000000 syz-executor 21816 391848 35255 0 3 0x4000080 fsleep syz-executor 21816 436191 35255 0 2 0x4000000 syz-executor 21816 435515 35255 0 2 0x4000000 syz-executor 79588 123191 73846 0 2 0 syz-executor 79588 390450 73846 0 3 0x4000080 fsleep syz-executor 79588 520023 73846 0 3 0x4000080 fsleep syz-executor 96717 127495 99400 0 2 0xc82 syz-executor 38050 176621 0 0 3 0x14200 bored sosplice 73846 141824 99400 0 2 0xc82 syz-executor 51567 442802 99400 0 3 0x82 nanoslp syz-executor 18560 416864 99400 0 2 0xc82 syz-executor 42944 511176 99400 0 2 0x2 syz-executor 52550 402570 99400 0 2 0x2 syz-executor 35255 514525 99400 0 3 0x82 nanoslp syz-executor 99400 325713 48737 0 3 0x82 kqread syz-executor 48737 476477 13813 0 3 0x10008a sigsusp ksh 13813 393166 74368 0 3 0x98 kqread sshd-session 74368 111520 84538 0 3 0x92 kqread sshd-session 7089 309715 1 0 3 0x100083 ttyin getty 84538 344422 1 0 3 0x88 kqread sshd 1356 426634 21673 73 3 0x1100090 kqread syslogd 21673 311464 1 0 3 0x100082 sbwait syslogd 89914 441358 1 0 3 0x100080 kqread resolvd 25490 274748 82906 77 3 0x100092 kqread dhcpleased 69545 192219 82906 77 3 0x100092 kqread dhcpleased 82906 81558 1 0 3 0x80 kqread dhcpleased 89446 318711 0 0 3 0x14200 bored smr 162 35529 0 0 2 0x14200 zerothread 49885 443985 0 0 3 0x14200 aiodoned aiodoned 88434 406626 0 0 3 0x14200 syncer update 73199 397382 0 0 3 0x14200 cleaner cleaner 78102 268061 0 0 3 0x14200 reaper reaper 12081 111374 0 0 3 0x14200 pgdaemon pagedaemon 34371 430399 0 0 3 0x14200 bored viomb 22815 512383 0 0 3 0x40014200 acpi0 acpi0 22922 337323 0 0 3 0x14200 bored softnet3 73814 284773 0 0 3 0x14200 bored softnet2 71292 506125 0 0 3 0x14200 bored softnet1 21722 191554 0 0 3 0x14200 bored softnet0 48349 46178 0 0 3 0x14200 bored systqmp 3045 7253 0 0 3 0x14200 bored systq 96736 366802 0 0 2 0x40014200 softclock 98370 125367 0 0 3 0x40014200 idle0 1 77721 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 11170K 11286K 166960K 11405 0 pcb 17 16K 18K 166960K 55 0 rtable 198 6K 7K 166960K 396 0 pf 31 13K 15K 166960K 42 0 ifaddr 38 6K 7K 166960K 54 0 ifgroup 50 2K 2K 166960K 66 0 sysctl 1 1K 9K 166960K 5 0 counters 32 17K 17K 166960K 73 0 ioctlops 0 0K 4K 166960K 113 0 iov 0 0K 12K 166960K 2 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1345 85K 85K 166960K 1498 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 4 0K 0K 166960K 4 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 97K 166960K 284 0 sigio 0 0K 0K 166960K 43 0 proc 61 67K 124K 166960K 519 0 subproc 72 4K 4K 166960K 93 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 12 0 in_multi 85 6K 7K 166960K 115 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 1 0K 1K 166960K 371 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 214 158K 186K 166960K 3989 0 UVM aobj 70 5K 5K 166960K 70 0 pinsyscall 38 76K 98K 166960K 1348 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 6 0 NDP 13 0K 2K 166960K 34 0 temp 74 8683K 8802K 166960K 4547 0 kqueue 13 20K 26K 166960K 47 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 51 0 48 1 0 1 1 0 8 0 rtentry 136 125 0 36 4 0 4 4 0 8 0 unpcb 144 273 0 256 6 5 1 6 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 128 0 123 10 9 1 10 0 8 0 arp 88 20 0 4 1 0 1 1 0 8 0 inpcb 328 455 0 446 25 18 7 20 0 8 6 nd6 104 29 0 7 1 0 1 1 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1072 38 0 38 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 rttmr 136 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 513 0 144 29 1 28 29 0 8 4 art_table 32 514 0 144 4 0 4 4 0 8 0 art_node 16 124 0 44 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semapl 112 2 0 0 1 0 1 1 0 8 0 shmpl 112 67 0 0 2 0 2 2 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1831 0 329 95 0 95 95 0 8 0 ffsino 248 1831 0 329 95 0 95 95 0 8 0 nchpl 144 2207 0 526 63 0 63 63 0 8 0 rtmask 32 4 0 4 1 0 1 1 0 8 1 uvmvnodes 80 1989 0 0 41 0 41 41 0 8 0 vnodes 216 1989 0 0 111 0 111 111 0 8 0 namei 1024 7196 0 7194 2 1 1 2 0 8 0 kstatmem 264 32 0 10 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 6705 0 6705 3 2 1 3 1 8 1 plimitpl 152 43 0 27 1 0 1 1 0 8 0 sigapl 424 561 0 516 7 1 6 7 0 8 0 knotepl 120 16400 0 16353 9 0 9 9 0 8 6 kqueuepl 184 58 0 49 1 0 1 1 0 8 0 pipepl 296 150 0 123 5 2 3 5 0 8 0 fdescpl 440 544 0 516 5 1 4 5 0 8 0 filepl 120 2856 0 2647 18 9 9 18 0 8 1 lockfpl 104 171 0 169 2 1 1 2 0 8 0 lockfspl 48 22 0 20 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 36 0 20 1 0 1 1 0 8 0 ucredpl 104 291 0 280 1 0 1 1 0 8 0 zombiepl 144 568 0 568 1 0 1 1 0 8 1 processpl 1160 561 0 516 4 0 4 4 0 8 0 procpl 656 792 0 738 6 0 6 6 0 8 0 sosppl 168 3 0 3 1 0 1 1 0 8 1 sockpl 528 786 0 757 30 23 7 26 0 8 4 mcl64k 65536 8 0 8 2 1 1 1 0 8 1 mcl8k 8192 5 0 5 2 1 1 1 0 8 1 mcl4k 4096 2583 0 2532 15 7 8 14 0 8 1 mcl2k 2048 343 0 342 5 0 5 5 0 8 4 mtagpl 96 6 0 4 2 1 1 1 0 8 0 mbufpl 256 5650 0 5478 16 1 15 15 0 8 1 bufpl 280 2418 0 118 165 0 165 165 0 8 0 anonpl 24 81189 0 78224 32 7 25 32 0 187 0 amapchunkpl 152 11776 0 11337 28 6 22 28 0 158 2 amappl16 200 834 0 814 3 1 2 3 0 8 0 amappl15 192 5 0 5 1 1 0 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 1169 0 1142 3 1 2 3 0 8 0 amappl11 160 43 0 33 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 254 0 254 1 1 0 1 0 8 0 amappl8 136 22 0 19 1 0 1 1 0 8 0 amappl7 128 107 0 97 1 0 1 1 0 8 0 amappl6 120 186 0 183 1 0 1 1 0 8 0 amappl5 112 113 0 107 1 0 1 1 0 8 0 amappl4 104 284 0 268 1 0 1 1 0 8 0 amappl3 96 2085 0 1987 4 1 3 4 0 8 0 amappl2 88 621 0 566 2 0 2 2 0 8 0 amappl1 80 8629 0 8089 14 2 12 14 0 8 0 amappl 88 3303 0 3153 6 1 5 5 0 92 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 69 0 0 2 0 2 2 0 8 0 uaddrrnd 24 544 0 516 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 544 0 516 1 0 1 1 0 8 0 vmmpekpl 168 6106 0 6061 3 0 3 3 0 8 0 vmmpepl 168 39626 0 37862 84 0 84 84 0 357 0 vmsppl 360 543 0 516 4 1 3 4 0 8 0 rwobjpl 32 14552 0 11669 24 0 24 24 0 8 0 pdppl 4096 1094 0 1032 100 32 68 82 0 8 6 pvpl 32 229254 0 221430 99 18 81 99 0 265 4 pmappl 216 543 0 516 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 284 0 56 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a7f0538,ffff80003c959b10,ffff80003c959a60) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7f0538,ffff80003c959b10,ffff80003c959a60) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c959b10) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c959b10) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x23557210030, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a7f0538,ffff80003c959b10,ffff80003c959a60) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7f0538,ffff80003c959b10,ffff80003c959a60) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c959b10) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c959b10) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x23557210030, count: -3