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(ffff80003153b4f8,ffff80003ca134a0,ffff80003ca133f0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003153b4f8,ffff80003ca134a0,ffff80003ca133f0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003ca134a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca134a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8a54ffb190, count: -3 ddb> show registers rdi 0 rsi 0x200000001208 rbp 0xffff80003ca133d0 rbx 0 rdx 0xffff800001465d80 rcx 0 rax 0xa r8 0x7f7fffffc000 r9 0 r10 0x40d04c0c0a2ca75d r11 0xb8300aea2098d1db r12 0xfffffd805e5adf58 r13 0xdeafbeaddeafbead r14 0xffff800001489400 r15 0xa rip 0xffffffff831d6272 sys_msgrcv+0x3f2 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003ca13330 ss 0x10 sys_msgrcv+0x3f2: movq 0x10(%r13),%rdi ddb> show proc PROC (syz-executor) tid=148773 pid=20752 tcnt=5 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=0xffff80002a7f9a10,0xffff80002a7f94f0 process=0xffff80002cd2f6e8 user=0xffff80003ca0e000, vmspace=0xfffffd806ba22a20 estcpu=32, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 95297 420897 51937 0 2 0 syz-executor 95297 131167 51937 0 3 0x4000080 fsleep syz-executor 36937 442068 66398 0 2 0 syz-executor 36937 81929 66398 0 3 0x4000080 fsleep syz-executor 26633 370278 45186 0 2 0 syz-executor 26633 293277 45186 0 3 0x4000080 fsleep syz-executor 26633 490372 45186 0 3 0x4000080 kqsel syz-executor 37445 191288 1193 0 2 0 syz-executor 37445 510135 1193 0 3 0x4000080 fsleep syz-executor 19099 170247 36908 0 2 0 syz-executor 19099 264118 36908 0 3 0x4000080 fsleep syz-executor 85266 314265 72094 0 2 0 syz-executor 85266 383406 72094 0 2 0x4000000 syz-executor 85266 308502 72094 0 2 0x4000000 syz-executor 20752 207826 16703 0 2 0 syz-executor 20752 164874 16703 0 3 0x4000080 sbwait syz-executor *20752 148773 16703 0 7 0x4000000 syz-executor 20752 373992 16703 0 3 0x4000080 fsleep syz-executor 20752 214101 16703 0 2 0x4000000 syz-executor 98818 213381 0 0 3 0x14200 acct acct 36908 13858 48341 0 3 0x82 nanoslp syz-executor 40436 185646 1 0 3 0x100083 ttyin getty 43678 312486 0 0 3 0x14200 bored sosplice 16703 518249 48341 0 3 0x82 nanoslp syz-executor 45186 424861 48341 0 3 0x82 nanoslp syz-executor 1193 321921 48341 0 3 0x82 nanoslp syz-executor 72094 324951 48341 0 3 0x82 nanoslp syz-executor 96395 397005 48341 0 3 0x82 nanoslp syz-executor 51937 315802 48341 0 3 0x82 nanoslp syz-executor 66398 93408 48341 0 3 0x82 nanoslp syz-executor 48341 209705 23424 0 3 0x82 kqread syz-executor 23424 382416 88894 0 3 0x10008a sigsusp ksh 88894 35055 51755 0 3 0x98 kqread sshd-session 51755 99829 96819 0 3 0x92 kqread sshd-session 96819 502451 1 0 3 0x88 kqread sshd 37017 462915 57834 73 3 0x1100090 kqread syslogd 57834 93290 1 0 3 0x100082 sbwait syslogd 32727 267285 1 0 3 0x100080 kqread resolvd 64502 239990 87912 77 3 0x100092 kqread dhcpleased 46410 465864 87912 77 3 0x100092 kqread dhcpleased 87912 200630 1 0 3 0x80 kqread dhcpleased 63937 376683 0 0 3 0x14200 bored smr 39907 44167 0 0 2 0x14200 zerothread 44503 447249 0 0 3 0x14200 aiodoned aiodoned 28034 358874 0 0 3 0x14200 syncer update 13049 128991 0 0 3 0x14200 cleaner cleaner 89768 408396 0 0 3 0x14200 reaper reaper 66892 106434 0 0 3 0x14200 pgdaemon pagedaemon 52001 95171 0 0 3 0x14200 bored viomb 79604 424958 0 0 3 0x40014200 acpi0 acpi0 22279 500779 0 0 3 0x14200 bored softnet7 37646 88281 0 0 3 0x14200 bored softnet6 55949 220520 0 0 3 0x14200 bored softnet5 90461 61209 0 0 3 0x14200 bored softnet4 69887 301037 0 0 3 0x14200 bored softnet3 2261 250463 0 0 3 0x14200 bored softnet2 14907 220330 0 0 3 0x14200 bored softnet1 43579 400038 0 0 2 0x14200 softnet0 74119 24120 0 0 3 0x14200 bored systqmp 11265 428923 0 0 3 0x14200 bored systq 7068 385464 0 0 3 0x40014200 tmoslp softclock 95719 109811 0 0 3 0x40014200 idle0 1 437036 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10216 11175K 11593K 166960K 13437 0 pcb 17 16K 18K 166960K 294 0 rtable 189 8K 8K 166960K 721 0 pf 35 14K 20K 166960K 220 0 ifaddr 41 7K 8K 166960K 111 0 ifgroup 54 2K 2K 166960K 179 0 sysctl 3 1K 9K 166960K 9 0 counters 33 17K 18K 166960K 95 0 ioctlops 0 0K 4K 166960K 346 0 iov 0 0K 24K 166960K 74 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1401 88K 88K 166960K 2462 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 10K 166960K 22 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 118 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 1224 0 sigio 0 0K 0K 166960K 17 0 proc 60 59K 108K 166960K 631 0 subproc 72 4K 4K 166960K 82 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 230 0 in_multi 79 5K 7K 166960K 153 0 ether_multi 1 0K 0K 166960K 8 0 mrt 1 0K 0K 166960K 16 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 211 943K 943K 166960K 211 0 exec 0 0K 1K 166960K 462 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 235 151K 165K 166960K 12474 0 UVM aobj 35 2K 2K 166960K 40 0 pinsyscall 39 78K 94K 166960K 2286 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 74 0 NDP 12 0K 2K 166960K 73 0 temp 66 8644K 8890K 166960K 45481 0 kqueue 13 20K 33K 166960K 251 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 119 0 116 1 0 1 1 0 8 0 rtentry 136 277 0 204 4 0 4 4 0 8 0 unpcb 144 1142 0 1121 6 4 2 6 0 8 1 syncache 336 5 0 5 1 1 0 1 0 8 0 tcpcb 736 651 0 646 11 10 1 10 0 8 0 arp 88 81 0 69 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 6 0 4 1 0 1 1 0 8 0 inpcb 328 1538 0 1527 11 9 2 10 0 8 0 ip6q 72 14 0 5 1 0 1 1 0 8 0 ip6af 40 29 0 19 1 0 1 1 0 8 0 nd6 104 29 0 14 1 0 1 1 0 8 0 pkpcb 40 11 0 11 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1072 48 0 48 2 1 1 1 0 8 1 pppxif 1384 8 0 8 1 1 0 1 0 8 0 pfrktable 1344 3 0 3 1 1 0 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1344 6 0 6 2 1 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 763 0 360 29 3 26 29 0 8 0 art_table 40 767 0 360 5 0 5 5 0 8 0 art_node 32 277 0 211 2 0 2 2 0 8 0 sysvmsgpl 40 13 0 13 2 1 1 1 0 8 1 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 114 0 104 1 0 1 1 0 8 0 shmpl 112 37 0 5 1 0 1 1 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 3700 0 2203 95 0 95 95 0 8 0 ffsino 256 3700 0 2203 95 0 95 95 0 8 0 nchpl 144 5365 0 3677 63 0 63 63 0 8 0 rtmask 32 8 0 8 2 1 1 1 0 8 1 uvmvnodes 80 4405 0 0 90 0 90 90 0 8 0 vnodes 216 4405 0 0 245 0 245 245 0 8 0 namei 1024 19016 0 19016 5 2 3 3 0 8 3 kstatmem 264 108 0 84 3 1 2 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 16 0 16 2 1 1 1 0 8 1 scxspl 216 23795 0 23795 8 7 1 8 1 8 1 plimitpl 152 421 0 405 1 0 1 1 0 8 0 sigapl 424 1531 0 1479 9 2 7 9 0 8 0 knotepl 120 46215 0 46168 30 21 9 17 0 8 7 kqueuepl 184 578 0 568 4 2 2 4 0 8 1 pipepl 304 191 0 164 3 0 3 3 0 8 0 fdescpl 448 1487 0 1457 5 1 4 5 0 8 0 filepl 120 10109 0 9889 15 5 10 15 0 8 1 lockfpl 104 769 0 767 2 0 2 2 0 8 1 lockfspl 48 305 0 303 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 78 0 62 1 0 1 1 0 8 0 ucredpl 104 1532 0 1520 1 0 1 1 0 8 0 zombiepl 144 1604 0 1603 2 1 1 1 0 8 0 processpl 1168 1531 0 1479 6 1 5 6 0 8 0 procpl 664 3207 0 3143 8 1 7 8 0 8 1 sosppl 168 6 0 6 1 1 0 1 0 8 0 sockpl 552 2844 0 2809 14 9 5 13 0 8 2 mcl64k 65536 224 0 223 2 1 1 2 0 8 0 mcl16k 16384 5 0 5 1 1 0 1 0 8 0 mcl12k 12288 3 0 3 2 1 1 1 0 8 1 mcl9k 9216 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 65 0 65 2 1 1 1 0 8 1 mcl4k 4096 3945 0 3891 15 7 8 15 0 8 1 mcl2k 2048 2213 0 2205 10 8 2 10 0 8 0 mtagpl 96 30 0 9 1 0 1 1 0 8 0 mbufpl 256 17884 0 17646 36 11 25 36 0 8 0 bufpl 280 8508 0 2279 447 1 446 446 0 8 0 anonpl 24 230065 0 226699 75 30 45 69 0 187 18 amapchunkpl 152 42260 0 41753 35 10 25 32 0 158 4 amappl16 200 4238 0 4198 27 12 15 15 0 8 7 amappl15 192 2 0 2 1 1 0 1 0 8 0 amappl14 184 110 0 100 1 0 1 1 0 8 0 amappl13 176 7 0 7 1 1 0 1 0 8 0 amappl12 168 2135 0 2105 3 1 2 3 0 8 0 amappl11 160 48 0 38 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 248 0 248 1 1 0 1 0 8 0 amappl8 136 33 0 32 1 0 1 1 0 8 0 amappl7 128 98 0 88 1 0 1 1 0 8 0 amappl6 120 181 0 178 1 0 1 1 0 8 0 amappl5 112 132 0 125 1 0 1 1 0 8 0 amappl4 104 282 0 266 1 0 1 1 0 8 0 amappl3 96 8379 0 8265 4 0 4 4 0 8 0 amappl2 88 630 0 575 2 0 2 2 0 8 0 amappl1 80 12512 0 11953 13 1 12 13 0 8 0 amappl 88 11620 0 11450 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 0 1 1 0 8 1 dma16384 16384 1 0 1 1 1 0 1 0 8 0 dma4096 4096 3 0 3 1 1 0 1 0 8 0 dma1024 1024 3 0 2 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 266 0 266 2 1 1 1 0 8 1 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 39 0 5 1 0 1 1 0 8 0 uaddrrnd 24 1487 0 1457 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1487 0 1457 1 0 1 1 0 8 0 vmmpekpl 168 12567 0 12531 3 0 3 3 0 8 0 vmmpepl 168 96436 0 94503 98 3 95 95 0 357 9 vmsppl 368 1486 0 1457 4 1 3 4 0 8 0 rwobjpl 40 29780 0 24473 54 0 54 54 0 8 0 pdppl 4096 2980 0 2914 112 46 66 80 0 8 0 pvpl 32 655489 0 646398 172 57 115 154 0 265 26 pmappl 216 1486 0 1457 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 442 0 98 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sys_msgrcv(ffff80003153b4f8,ffff80003ca134a0,ffff80003ca133f0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003153b4f8,ffff80003ca134a0,ffff80003ca133f0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003ca134a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca134a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8a54ffb190, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace sys_msgrcv(ffff80003153b4f8,ffff80003ca134a0,ffff80003ca133f0) at sys_msgrcv+0x3f2 msg_copyout sys/kern/sysv_msg.c:639 [inline] sys_msgrcv(ffff80003153b4f8,ffff80003ca134a0,ffff80003ca133f0) at sys_msgrcv+0x3f2 sys/kern/sysv_msg.c:349 syscall(ffff80003ca134a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca134a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8a54ffb190, count: -3