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(ffff80002a7cd770,ffff80003c96d3f0,ffff80003c96d340) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7cd770,ffff80003c96d3f0,ffff80003c96d340) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c96d3f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c96d3f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa7eb5d9ed80, count: -3 ddb> show registers rdi 0 rsi 0x200000000f08 rbp 0xffff80003c96d320 rbx 0 rdx 0xffff800001433e80 rcx 0 rax 0xf0 r8 0x7f7fffffc000 r9 0 r10 0x295240a9ee2166dc r11 0xdeaf31b23e0539d3 r12 0xfffffd807a0e5f50 r13 0xdeafbeaddeafbead r14 0xffff8000014d9f00 r15 0x8 rip 0xffffffff8232e3f2 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003c96d280 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=170782 pid=86471 tcnt=5 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=80, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7cca78,0xffff80002a7cc2c0 process=0xffff80003bd29698 user=0xffff80003c968000, vmspace=0xfffffd806c21c2f0 estcpu=30, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 99939 467877 77445 0 2 0 syz-executor 99939 109077 77445 0 3 0x4000000 inode syz-executor 99939 421072 77445 0 3 0x4000080 fsleep syz-executor 99939 389845 77445 0 2 0x4000000 syz-executor 13230 102940 87626 0 2 0 syz-executor 13230 399818 87626 0 2 0x4000000 syz-executor 13230 499444 87626 0 2 0x4000000 syz-executor 13230 454683 87626 0 3 0x4000080 fsleep syz-executor 54298 191648 2879 0 2 0 syz-executor 54298 419578 2879 0 2 0x4000000 syz-executor 54298 156386 2879 0 2 0x4000000 syz-executor 54298 362443 2879 0 2 0x4000000 syz-executor 86471 418624 84925 0 2 0 syz-executor 86471 323860 84925 0 3 0x4000080 fsleep syz-executor *86471 170782 84925 0 7 0x4000000 syz-executor 86471 92007 84925 0 2 0x4000000 syz-executor 86471 427389 84925 0 2 0x4000000 syz-executor 30222 207644 92427 0 2 0 syz-executor 30222 212589 92427 0 3 0x4000080 sbwait syz-executor 30222 153599 92427 0 2 0x4000000 syz-executor 30222 500327 92427 0 3 0x4000080 fsleep syz-executor 30222 66878 92427 0 2 0x4000000 syz-executor 450 185657 70293 0 2 0 syz-executor 450 406515 70293 0 3 0x4000080 fsleep syz-executor 450 133801 70293 0 3 0x4000080 fsleep syz-executor 61174 342008 18023 0 2 0 syz-executor 61174 370875 18023 0 2 0x4000000 syz-executor 61174 425477 18023 0 3 0x4000080 fsleep syz-executor 61174 97251 18023 0 2 0x4000000 syz-executor 85042 515773 1 0 3 0x100083 ttyin getty 48317 183771 0 0 3 0x14200 bored sosplice 2879 38341 25890 0 2 0x3 syz-executor 70293 300977 25890 0 2 0x3 syz-executor 63317 203014 25890 0 2 0x3 syz-executor 92427 146299 25890 0 2 0x3 syz-executor 77445 231239 25890 0 2 0x3 syz-executor 87626 381644 25890 0 2 0x3 syz-executor 18023 27358 25890 0 2 0x3 syz-executor 84925 204960 25890 0 2 0x3 syz-executor 25890 505753 54084 0 3 0x82 kqread syz-executor 54084 348476 53946 0 3 0x10008a sigsusp ksh 53946 232901 23993 0 3 0x98 kqread sshd-session 23993 334485 35564 0 3 0x92 kqread sshd-session 35564 44163 1 0 3 0x88 kqread sshd 4973 170807 66360 73 3 0x1100090 kqread syslogd 66360 400324 1 0 3 0x100082 sbwait syslogd 65071 105049 1 0 3 0x100080 kqread resolvd 97451 508344 13477 77 3 0x100092 kqread dhcpleased 69268 68783 13477 77 3 0x100092 kqread dhcpleased 13477 240652 1 0 3 0x80 kqread dhcpleased 42636 266519 0 0 3 0x14200 bored smr 50183 441385 0 0 2 0x14200 zerothread 80256 497190 0 0 3 0x14200 aiodoned aiodoned 682 428589 0 0 3 0x14200 syncer update 90836 341483 0 0 3 0x14200 cleaner cleaner 76230 177981 0 0 3 0x14200 reaper reaper 17038 406380 0 0 3 0x14200 pgdaemon pagedaemon 42868 237781 0 0 3 0x14200 bored viomb 41399 13871 0 0 3 0x40014200 acpi0 acpi0 74295 91380 0 0 3 0x14200 bored softnet0 8159 142020 0 0 3 0x14200 bored systqmp 47215 417151 0 0 3 0x14200 bored systq 49620 211738 0 0 2 0x40014200 softclock 6244 362174 0 0 3 0x40014200 idle0 1 139216 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 10173 11113K 12315K 166960K 11786 0 pcb 18 13K 14K 166960K 138 0 rtable 268 9K 9K 166960K 410 0 pf 30 12K 14K 166960K 57 0 ifaddr 42 7K 7K 166960K 58 0 ifgroup 50 2K 2K 166960K 81 0 sysctl 4 1K 9K 166960K 8 0 counters 32 17K 18K 166960K 46 0 ioctlops 0 0K 4K 166960K 59 0 iov 1 2K 12K 166960K 14 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1402 88K 89K 166960K 1575 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 10 0K 0K 166960K 83 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 361 0 sigio 0 0K 0K 166960K 4 0 proc 60 59K 124K 166960K 509 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 0 0K 0K 166960K 34 0 in_multi 99 7K 7K 166960K 110 0 ether_multi 1 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 373 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 252 151K 165K 166960K 5164 0 UVM aobj 12 2K 2K 166960K 13 0 pinsyscall 38 76K 96K 166960K 1443 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 24 0 NDP 11 0K 2K 166960K 38 0 temp 46 8640K 8710K 166960K 19793 0 kqueue 13 20K 27K 166960K 77 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 89 0 86 2 0 2 2 0 8 1 rtentry 136 118 0 3 4 0 4 4 0 8 0 unpcb 144 161 0 144 2 0 2 2 0 8 1 syncache 336 6 0 6 2 1 1 1 0 8 1 tcpcb 736 143 0 138 7 0 7 7 0 8 6 arp 96 20 0 0 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 362 0 351 8 1 7 7 0 8 6 nd6 112 25 0 1 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 11 0 11 1 0 1 1 0 8 1 pfrule 1344 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 494 0 33 31 0 31 31 0 8 2 art_table 40 497 0 33 5 0 5 5 0 8 0 art_node 32 118 0 14 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 4 1 0 1 1 0 8 1 semapl 112 77 0 69 1 0 1 1 0 8 0 shmpl 112 10 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1978 0 475 95 0 95 95 0 8 0 ffsino 256 1979 0 475 95 0 95 95 0 8 0 nchpl 144 2490 0 802 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 vnodes 216 2201 0 0 123 0 123 123 0 8 0 namei 1024 7472 0 7469 4 2 2 2 0 8 1 kstatmem 264 44 0 22 2 0 2 2 0 8 0 scxspl 216 8173 0 8173 12 4 8 8 1 8 8 plimitpl 152 133 0 117 1 0 1 1 0 8 0 sigapl 424 651 0 608 7 1 6 6 0 8 0 knotepl 120 13329 0 13282 10 0 10 10 0 8 8 kqueuepl 184 101 0 92 1 0 1 1 0 8 0 pipepl 304 137 0 110 3 0 3 3 0 8 0 fdescpl 448 637 0 608 5 1 4 5 0 8 0 filepl 120 2889 0 2668 11 0 11 11 0 8 2 lockfpl 104 104 0 101 1 0 1 1 0 8 0 lockfspl 48 45 0 42 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 36 0 20 1 0 1 1 0 8 0 ucredpl 104 289 0 278 1 0 1 1 0 8 0 zombiepl 144 764 0 764 2 1 1 1 0 8 1 processpl 1152 651 0 608 4 0 4 4 0 8 0 procpl 664 1086 0 1020 6 0 6 6 0 8 0 sockpl 552 628 0 596 8 0 8 8 0 8 5 mcl64k 65536 22 0 21 2 1 1 1 0 8 0 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 6 0 6 2 1 1 1 0 8 1 mcl4k 4096 2808 0 2758 16 8 8 15 0 8 1 mcl2k 2048 650 0 650 3 2 1 3 0 8 1 mtagpl 96 7 0 4 1 0 1 1 0 8 0 mbufpl 256 6969 0 6789 18 0 18 18 0 8 5 bufpl 280 2966 0 121 204 0 204 204 0 8 0 anonpl 24 122139 0 118861 35 3 32 32 0 187 10 amapchunkpl 152 15664 0 15124 29 1 28 28 0 158 7 amappl16 200 2281 0 2251 6 3 3 5 0 8 0 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 4 0 4 1 1 0 1 0 8 0 amappl13 176 415 0 414 1 0 1 1 0 8 0 amappl12 168 985 0 947 2 0 2 2 0 8 0 amappl11 160 2 0 2 1 1 0 1 0 8 0 amappl10 152 51 0 41 1 0 1 1 0 8 0 amappl9 144 242 0 242 1 1 0 1 0 8 0 amappl8 136 24 0 23 1 0 1 1 0 8 0 amappl7 128 87 0 86 1 0 1 1 0 8 0 amappl6 120 265 0 253 1 0 1 1 0 8 0 amappl5 112 74 0 67 1 0 1 1 0 8 0 amappl4 104 402 0 376 1 0 1 1 0 8 0 amappl3 96 2650 0 2550 3 0 3 3 0 8 0 amappl2 88 782 0 709 2 0 2 2 0 8 0 amappl1 80 10212 0 9674 14 1 13 13 0 8 1 amappl 88 4422 0 4238 5 0 5 5 0 92 0 uvmvnodes 80 2201 0 0 45 0 45 45 0 8 0 dma4096 4096 2 0 2 2 1 1 1 0 8 1 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 12 0 1 1 0 1 1 0 8 0 uaddrrnd 24 637 0 608 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 637 0 608 1 0 1 1 0 8 0 vmmpekpl 168 7056 0 7030 2 0 2 2 0 8 0 vmmpepl 168 48765 0 46933 87 1 86 86 0 357 2 vmsppl 368 636 0 608 4 1 3 4 0 8 0 rwobjpl 40 18659 0 15570 32 0 32 32 0 8 0 pdppl 4096 1281 0 1216 103 36 67 83 0 8 2 pvpl 32 294990 0 286300 91 2 89 89 0 265 12 pmappl 216 636 0 608 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 397 0 55 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80002a7cd770,ffff80003c96d3f0,ffff80003c96d340) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7cd770,ffff80003c96d3f0,ffff80003c96d340) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c96d3f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c96d3f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa7eb5d9ed80, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80002a7cd770,ffff80003c96d3f0,ffff80003c96d340) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80002a7cd770,ffff80003c96d3f0,ffff80003c96d340) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003c96d3f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c96d3f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa7eb5d9ed80, count: -3