login: kernel: protection fault trap, code=0 Stopped at copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace copyout() at copyout+0x57 syscall(ffff80003a52b130) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a52b130) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5d3adadfe40, count: -3 ddb> show registers rdi 0x200000001208 rsi 0xdeadbeefdeadbeef rbp 0xffff80003a52b050 rbx 0 rdx 0xffff80003a526000 rcx 0x1bd5b7dd rax 0xdeadbeef r8 0x7f7fffffc000 r9 0 r10 0x282c3c1b06ad2bea r11 0xffffffff8160eca0 copy_fault r12 0xfffffd806b9d9e60 r13 0xfffffd806b740f00 r14 0xffff800000b50500 r15 0x200000001208 rip 0xffffffff8160ebc7 copyout+0x57 cs 0x8 rflags 0x50207 acpi_pdirpa+0x3c078 rsp 0xffff80003a52afa0 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=223990 pid=66480 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=0xffff80002a7b6538,0xffff80002a7d0a60 process=0xffff8000ffff55d0 user=0xffff80003a526000, vmspace=0xfffffd806c0319f0 estcpu=32, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 16830 523116 69305 0 2 0 syz-executor 16830 230720 69305 0 3 0x4000080 fsleep syz-executor 63457 67497 37701 0 2 0 syz-executor 63457 275981 37701 0 3 0x4000080 fsleep syz-executor 63457 356845 37701 0 3 0x4000080 fsleep syz-executor 37701 338878 1514 0 3 0x82 nanoslp syz-executor 2706 297224 20209 0 2 0 syz-executor 2706 126338 20209 0 3 0x4000080 fsleep syz-executor 14481 331389 56185 0 2 0 syz-executor 14481 363563 56185 0 3 0x4000080 fsleep syz-executor 14481 113675 56185 0 3 0x4000080 lockf syz-executor 14481 48705 56185 0 2 0x4000000 syz-executor 2965 269445 82768 0 2 0 syz-executor 2965 381079 82768 0 3 0x4000080 fsleep syz-executor 2965 197416 82768 0 2 0x4000000 syz-executor 36435 511809 23447 60928 2 0x10 syz-executor 36435 498778 23447 60928 2 0x4000010 syz-executor 36435 356105 23447 60928 2 0x4000010 syz-executor 36435 429004 23447 60928 3 0x4000090 fsleep syz-executor 66480 455372 82623 0 2 0 syz-executor *66480 223990 82623 0 7 0x4000000 syz-executor 66480 422395 82623 0 2 0x4000000 syz-executor 66480 288266 82623 0 2 0x4000000 syz-executor 84399 349366 87924 0 3 0x3000 suspend syz-executor 84399 458626 87924 0 2 0x4081000 syz-executor 39301 471801 1 0 3 0x100083 ttyin getty 57847 70516 0 0 3 0x14200 acct acct 87924 195112 1514 0 3 0x82 nanoslp syz-executor 17663 407809 0 0 3 0x14200 bored sosplice 69305 97123 1514 0 3 0x82 nanoslp syz-executor 82768 245963 1514 0 3 0x82 nanoslp syz-executor 82623 273732 1514 0 3 0x82 nanoslp syz-executor 20209 30818 1514 0 3 0x82 nanoslp syz-executor 56185 119406 1514 0 3 0x82 nanoslp syz-executor 23447 513603 1514 0 3 0x82 nanoslp syz-executor 1514 238512 16645 0 3 0x82 kqread syz-executor 16645 348850 98113 0 3 0x10008a sigsusp ksh 98113 234928 46806 0 3 0x98 kqread sshd-session 46806 439199 42414 0 3 0x92 kqread sshd-session 42414 472463 1 0 3 0x88 kqread sshd 66840 416346 74482 73 3 0x1100090 kqread syslogd 74482 506553 1 0 3 0x100082 sbwait syslogd 65730 369202 1 0 3 0x100080 kqread resolvd 98608 10079 89424 77 3 0x100092 kqread dhcpleased 39527 53636 89424 77 3 0x100092 kqread dhcpleased 89424 274445 1 0 3 0x80 kqread dhcpleased 39960 243928 0 0 3 0x14200 bored smr 38226 112825 0 0 2 0x14200 zerothread 29109 241086 0 0 3 0x14200 aiodoned aiodoned 14020 53535 0 0 3 0x14200 syncer update 76780 181071 0 0 3 0x14200 cleaner cleaner 58471 460291 0 0 3 0x14200 reaper reaper 33830 267802 0 0 3 0x14200 pgdaemon pagedaemon 26399 294549 0 0 3 0x14200 bored viomb 2612 158133 0 0 3 0x40014200 acpi0 acpi0 90187 338799 0 0 3 0x14200 bored softnet3 24290 512928 0 0 3 0x14200 bored softnet2 97211 338169 0 0 3 0x14200 bored softnet1 83612 336108 0 0 3 0x14200 bored softnet0 26455 431476 0 0 3 0x14200 bored systqmp 99897 56217 0 0 3 0x14200 bored systq 28310 75027 0 0 3 0x40014200 tmoslp softclock 57200 134312 0 0 3 0x40014200 idle0 1 78389 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 10182 11125K 11428K 166960K 12404 0 pcb 17 20K 22K 166960K 226 0 rtable 238 9K 9K 166960K 497 0 pf 31 13K 14K 166960K 75 0 ifaddr 42 7K 7K 166960K 77 0 ifgroup 50 2K 2K 166960K 114 0 sysctl 3 1K 2K 166960K 4 0 counters 30 17K 17K 166960K 58 0 ioctlops 0 0K 4K 166960K 235 0 iov 0 0K 16K 166960K 53 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1395 88K 88K 166960K 2032 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 23 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 18 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 89K 166960K 835 0 sigio 0 0K 0K 166960K 4 0 proc 60 59K 100K 166960K 645 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 86 0 in_multi 98 7K 7K 166960K 140 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 639 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 243 152K 168K 166960K 8996 0 UVM aobj 33 4K 5K 166960K 37 0 pinsyscall 39 78K 93K 166960K 1927 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 46 0 NDP 13 0K 2K 166960K 50 0 temp 62 8682K 8754K 166960K 24064 0 kqueue 14 22K 30K 166960K 136 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 211 0 208 5 4 1 3 0 8 0 rtentry 136 159 0 52 4 0 4 4 0 8 0 unpcb 144 837 0 820 9 8 1 6 0 8 0 syncache 336 5 0 5 2 2 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 808 241 0 233 9 7 2 5 0 8 0 arp 88 25 0 6 1 0 1 1 0 8 0 ipq 40 2 0 1 1 0 1 1 0 8 0 ipqe 40 4 0 3 1 0 1 1 0 8 0 inpcb 344 1320 0 1308 30 28 2 20 0 8 0 nd6 104 37 0 11 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 2 0 1 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 1 0 1 0 8 0 ppxss 1072 19 0 19 3 2 1 1 0 8 1 pppxif 1384 6 0 6 2 2 0 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 0 1 0 1 1 0 8 0 pfstitem 24 1 0 0 1 0 1 1 0 8 0 pfstkey 128 1 0 0 1 0 1 1 0 8 0 pfstate 344 1 0 0 1 0 1 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 635 0 179 31 2 29 29 0 8 0 art_table 32 638 0 179 4 0 4 4 0 8 0 art_node 16 154 0 61 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 7 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 15 0 5 1 0 1 1 0 8 0 shmpl 112 34 0 4 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2892 0 1389 95 0 95 95 0 8 0 ffsino 248 2892 0 1389 95 0 95 95 0 8 0 nchpl 144 4022 0 2337 63 0 63 63 0 8 0 uvmvnodes 80 3347 0 0 69 0 69 69 0 8 0 vnodes 216 3347 0 0 186 0 186 186 0 8 0 namei 1024 14760 0 14758 4 3 1 2 0 8 0 kstatmem 264 58 0 36 2 0 2 2 0 8 0 scsiplug 72 6 0 6 1 1 0 1 0 8 0 scxspl 216 13090 0 13090 9 8 1 8 1 8 1 plimitpl 152 288 0 271 1 0 1 1 0 8 0 sigapl 424 1136 0 1088 8 1 7 8 0 8 0 futexpl 64 11045 0 11037 1 0 1 1 0 8 0 knotepl 120 29269 0 29184 22 19 3 16 0 8 0 kqueuepl 184 238 0 226 1 0 1 1 0 8 0 pipepl 296 175 0 148 5 0 5 5 0 8 2 fdescpl 440 1096 0 1066 5 1 4 5 0 8 0 filepl 120 7284 0 7061 17 7 10 13 0 8 1 lockfpl 104 330 0 326 2 1 1 2 0 8 0 lockfspl 48 137 0 134 1 0 1 1 0 8 0 sessionpl 144 27 0 19 1 0 1 1 0 8 0 pgrppl 48 44 0 28 1 0 1 1 0 8 0 ucredpl 104 1131 0 1117 1 0 1 1 0 8 0 zombiepl 144 1116 0 1115 1 0 1 1 0 8 0 processpl 1112 1136 0 1088 5 0 5 5 0 8 1 procpl 656 2144 0 2080 8 2 6 8 0 8 0 sosppl 168 1 0 1 1 1 0 1 0 8 0 sockpl 528 2385 0 2354 24 20 4 16 0 8 0 mcl64k 65536 88 0 87 1 0 1 1 0 8 0 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 12 0 12 3 2 1 1 0 8 1 mcl4k 4096 3369 0 3313 15 7 8 15 0 8 0 mcl2k 2048 835 0 831 3 1 2 2 0 8 1 mtagpl 96 181 0 14 5 0 5 5 0 8 0 mbufpl 256 20449 0 20109 558 536 22 543 0 8 0 bufpl 280 3973 0 135 275 0 275 275 0 8 0 anonpl 24 164211 0 160939 84 50 34 56 0 187 7 amapchunkpl 152 29469 0 28943 42 16 26 35 0 158 5 amappl16 200 2952 0 2919 31 28 3 16 0 8 0 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 113 0 103 1 0 1 1 0 8 0 amappl13 176 73 0 73 1 1 0 1 0 8 0 amappl12 168 1737 0 1707 2 0 2 2 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 281 0 281 1 1 0 1 0 8 0 amappl8 136 41 0 40 1 0 1 1 0 8 0 amappl7 128 104 0 94 1 0 1 1 0 8 0 amappl6 120 188 0 184 1 0 1 1 0 8 0 amappl5 112 122 0 114 1 0 1 1 0 8 0 amappl4 104 296 0 281 1 0 1 1 0 8 0 amappl3 96 5724 0 5605 4 0 4 4 0 8 0 amappl2 88 649 0 593 2 0 2 2 0 8 0 amappl1 80 11105 0 10553 14 1 13 13 0 8 0 amappl 88 8160 0 7983 5 0 5 5 0 92 0 dma8192 8192 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 256 0 256 2 2 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 8 0 8 2 1 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 36 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1096 0 1066 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1096 0 1066 1 0 1 1 0 8 0 vmmpekpl 168 9554 0 9506 3 0 3 3 0 8 0 vmmpepl 168 73151 0 71222 104 17 87 95 0 357 2 vmsppl 360 1095 0 1066 4 1 3 4 0 8 0 rwobjpl 32 23548 0 19295 35 0 35 35 0 8 0 pdppl 4096 2198 0 2132 100 32 68 78 0 8 2 pvpl 32 475188 0 466390 191 86 105 127 0 265 19 pmappl 216 1095 0 1066 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 834 0 598 22 12 10 22 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003a52b130) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a52b130) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5d3adadfe40, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003a52b130) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a52b130) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5d3adadfe40, count: -3