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(ffff80003c9776d0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc729806f10, count: -3 ddb> show registers rdi 0x400000001208 rsi 0xdeaf4152deaf4152 rbp 0xffff80003c9775f0 rbx 0 rdx 0xffff80003c972000 rcx 0x1bd5e82a rax 0xdeaf4152 r8 0x7f7fffffc000 r9 0 r10 0xebf2f3de3a134e8a r11 0xffffffff82504670 copy_fault r12 0xfffffd8077238de8 r13 0xfffffd8069d63900 r14 0xffff800001498600 r15 0x400000001208 rip 0xffffffff82504597 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80003c977540 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=513182 pid=26419 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=36, usrpri=72, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c984d00,0xffff80003c984fa0 process=0xffff8000ffff6fe0 user=0xffff80003c972000, vmspace=0xfffffd806c0c59e8 estcpu=22, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 26087 3182 7827 0 2 0 syz-executor 26087 13631 7827 0 3 0x4000080 fsleep syz-executor 12770 195504 81208 0 2 0 syz-executor 12770 244712 81208 0 3 0x4000080 fsleep syz-executor 87520 462366 87502 0 2 0 syz-executor 87520 128397 87502 0 3 0x4000080 fsleep syz-executor 87520 121237 87502 0 3 0x4000080 fsleep syz-executor 87520 48593 87502 0 2 0x4000000 syz-executor 26419 472 93943 0 2 0 syz-executor *26419 513182 93943 0 7 0x4000000 syz-executor 26419 296994 93943 0 2 0x4000000 syz-executor 26419 39739 93943 0 2 0x4000000 syz-executor 87370 379250 26501 0 2 0 syz-executor 87370 461601 26501 0 2 0x4000000 syz-executor 87370 139792 26501 0 2 0x4000000 syz-executor 74780 474971 0 0 3 0x14280 nfsidl nfsio 72246 403609 0 0 3 0x14280 nfsidl nfsio 95360 107312 0 0 3 0x14280 nfsidl nfsio 86555 140529 0 0 3 0x14280 nfsidl nfsio 38938 285257 0 0 3 0x14280 nfsidl nfsio 92412 337488 0 0 3 0x14280 nfsidl nfsio 30158 110960 0 0 3 0x14280 nfsidl nfsio 10547 432096 0 0 3 0x14280 nfsidl nfsio 24217 282914 0 0 3 0x14280 nfsidl nfsio 71109 288185 0 0 3 0x14280 nfsidl nfsio 92013 333884 0 0 3 0x14280 nfsidl nfsio 6095 469360 0 0 3 0x14280 nfsidl nfsio 97823 254286 0 0 3 0x14280 nfsidl nfsio 71539 411444 0 0 3 0x14280 nfsidl nfsio 44370 81205 0 0 3 0x14280 nfsidl nfsio 97661 431827 0 0 3 0x14280 nfsidl nfsio 56562 206254 0 0 3 0x14280 nfsidl nfsio 94783 305523 0 0 3 0x14280 nfsidl nfsio 66410 492086 0 0 3 0x14280 nfsidl nfsio 95640 71379 0 0 3 0x14280 nfsidl nfsio 66340 319663 0 0 3 0x14200 bored sosplice 18055 322985 23171 0 2 0x2 syz-executor 94584 176871 23171 0 3 0x82 wait syz-executor 7827 56297 23171 0 3 0x82 nanoslp syz-executor 87502 10374 23171 0 3 0x82 nanoslp syz-executor 81208 301961 23171 0 3 0x82 nanoslp syz-executor 65436 26276 23171 0 3 0x82 nanoslp syz-executor 93943 47634 23171 0 3 0x82 nanoslp syz-executor 26501 85509 23171 0 3 0x82 nanoslp syz-executor 23171 343771 14550 0 3 0x82 kqread syz-executor 14550 438926 12416 0 3 0x10008a sigsusp ksh 12416 26361 47645 0 3 0x98 kqread sshd-session 47645 1289 95753 0 3 0x92 kqread sshd-session 58369 436105 1 0 3 0x100083 ttyin getty 95753 359319 1 0 3 0x88 kqread sshd 6126 134339 58147 73 3 0x1100090 kqread syslogd 58147 330573 1 0 3 0x100082 sbwait syslogd 23502 497985 1 0 3 0x100080 kqread resolvd 49548 300417 61069 77 3 0x100092 kqread dhcpleased 3225 452400 61069 77 3 0x100092 kqread dhcpleased 61069 293398 1 0 3 0x80 kqread dhcpleased 37432 284891 0 0 3 0x14200 bored smr 31426 174693 0 0 2 0x14200 zerothread 46530 12196 0 0 3 0x14200 aiodoned aiodoned 73727 229505 0 0 3 0x14200 syncer update 60896 100086 0 0 3 0x14200 cleaner cleaner 85250 179240 0 0 3 0x14200 reaper reaper 88693 291621 0 0 3 0x14200 pgdaemon pagedaemon 26624 452051 0 0 3 0x14200 bored viomb 20429 281060 0 0 3 0x40014200 acpi0 acpi0 5904 139987 0 0 3 0x14200 bored softnet3 53553 120835 0 0 3 0x14200 bored softnet2 87505 212132 0 0 3 0x14200 bored softnet1 12191 199045 0 0 3 0x14200 bored softnet0 37645 300184 0 0 3 0x14200 bored systqmp 63151 26941 0 0 3 0x14200 bored systq 27852 274405 0 0 3 0x40014200 tmoslp softclock 70028 512960 0 0 3 0x40014200 idle0 1 414479 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 11042K 11236K 166960K 11412 0 pcb 17 14K 16K 166960K 113 0 rtable 234 7K 8K 166960K 385 0 pf 30 12K 14K 166960K 45 0 ifaddr 41 7K 7K 166960K 53 0 ifgroup 50 2K 2K 166960K 68 0 sysctl 3 1K 1K 166960K 3 0 counters 30 17K 17K 166960K 39 0 ioctlops 0 0K 2K 166960K 46 0 iov 0 0K 16K 166960K 17 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1339 84K 85K 166960K 1451 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 6 0K 0K 166960K 8 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 274 0 sigio 0 0K 0K 166960K 4 0 proc 60 59K 124K 166960K 489 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 14 0 in_multi 98 7K 7K 166960K 103 0 ether_multi 1 0K 0K 166960K 2 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 365 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 218 72K 76K 166960K 3990 0 UVM aobj 7 2K 2K 166960K 7 0 pinsyscall 38 76K 96K 166960K 1306 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 11 0K 2K 166960K 33 0 temp 40 8671K 8736K 166960K 6167 0 kqueue 13 20K 30K 166960K 51 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 55 0 52 1 0 1 1 0 8 0 rtentry 128 118 0 11 4 0 4 4 0 8 0 unpcb 144 109 0 93 1 0 1 1 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 32 0 27 1 0 1 1 0 8 0 arp 88 20 0 3 1 0 1 1 0 8 0 inpcb 344 224 0 215 7 0 7 7 0 8 5 nd6 104 25 0 1 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 7 0 7 2 1 1 1 0 8 1 pppxif 1384 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 474 0 14 29 0 29 29 0 8 0 art_table 32 475 0 14 4 0 4 4 0 8 0 art_node 16 116 0 19 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 6 0 2 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1795 0 296 95 1 94 95 0 8 0 ffsino 248 1795 0 296 95 1 94 95 0 8 0 nchpl 144 2166 0 492 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 1 0 1 0 8 0 uvmvnodes 80 1931 0 0 40 0 40 40 0 8 0 vnodes 216 1931 0 0 108 0 108 108 0 8 0 namei 1024 6440 0 6439 3 2 1 2 0 8 0 kstatmem 264 34 0 12 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 7106 0 7106 11 9 2 8 1 8 2 plimitpl 152 53 0 35 1 0 1 1 0 8 0 sigapl 424 575 0 509 9 1 8 8 0 8 0 futexpl 64 2245 0 2240 1 0 1 1 0 8 0 knotepl 120 8428 0 8381 11 1 10 11 0 8 8 kqueuepl 184 78 0 69 1 0 1 1 0 8 0 pipepl 296 113 0 86 3 0 3 3 0 8 0 fdescpl 440 538 0 509 5 1 4 5 0 8 0 filepl 120 2134 0 1920 9 0 9 9 0 8 2 lockfpl 104 50 0 48 1 0 1 1 0 8 0 lockfspl 48 23 0 21 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 31 0 15 1 0 1 1 0 8 0 ucredpl 104 211 0 200 1 0 1 1 0 8 0 zombiepl 144 548 0 544 1 0 1 1 0 8 0 processpl 1112 575 0 509 5 0 5 5 0 8 0 procpl 656 811 0 732 7 0 7 7 0 8 0 sosppl 168 3 0 3 3 2 1 1 0 8 1 sockpl 528 393 0 366 7 0 7 7 0 8 4 mcl64k 65536 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 9 0 9 3 2 1 1 0 8 1 mcl4k 4096 2588 0 2535 14 6 8 13 0 8 1 mcl2k 2048 249 0 248 1 0 1 1 0 8 0 mtagpl 96 82 0 4 2 0 2 2 0 8 0 mbufpl 256 5537 0 5264 20 2 18 18 0 8 0 bufpl 280 2517 0 124 171 0 171 171 0 8 0 anonpl 24 108804 0 105621 35 3 32 32 0 187 10 amapchunkpl 152 12663 0 12169 31 5 26 26 0 158 5 amappl16 200 1911 0 1883 6 3 3 5 0 8 0 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 107 0 96 1 0 1 1 0 8 0 amappl13 176 24 0 24 1 1 0 1 0 8 0 amappl12 168 1150 0 1121 2 0 2 2 0 8 0 amappl11 160 46 0 36 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 250 0 249 1 0 1 1 0 8 0 amappl8 136 20 0 19 1 0 1 1 0 8 0 amappl7 128 121 0 111 1 0 1 1 0 8 0 amappl6 120 197 0 194 1 0 1 1 0 8 0 amappl5 112 111 0 104 1 0 1 1 0 8 0 amappl4 104 283 0 266 1 0 1 1 0 8 0 amappl3 96 2118 0 2006 4 0 4 4 0 8 0 amappl2 88 611 0 557 2 0 2 2 0 8 0 amappl1 80 7839 0 7324 12 0 12 12 0 8 0 amappl 88 3637 0 3466 5 0 5 5 0 92 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 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 538 0 509 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 538 0 509 1 0 1 1 0 8 0 vmmpekpl 168 5879 0 5849 2 0 2 2 0 8 0 vmmpepl 168 38910 0 37171 80 0 80 80 0 357 1 vmsppl 360 537 0 509 4 1 3 4 0 8 0 rwobjpl 32 15440 0 12652 23 0 23 23 0 8 0 pdppl 4096 1082 0 1018 98 32 66 82 0 8 2 pvpl 32 257904 0 249280 100 6 94 94 0 265 17 pmappl 216 537 0 509 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 273 0 48 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9776d0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc729806f10, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9776d0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc729806f10, count: -3