kernel: protection fault trap, code=0 Stopped at remrunqueue+0xd0: movq %r12,0x8(%rbx) ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace remrunqueue(ffff8000211d90b0) at remrunqueue+0xd0 sys/kern/kern_sched.c:301 sched_chooseproc() at sched_chooseproc+0x1a3 sys/kern/kern_sched.c:345 mi_switch() at mi_switch+0x27f sys/kern/sched_bsd.c:367 sleep_finish(0,1) at sleep_finish+0x184 sys/kern/kern_synch.c:411 msleep(ffffffff82c4a7f8,ffffffff82b65290,4,ffffffff82851032,0) at msleep+0xea sys/kern/kern_synch.c:249 reaper(ffff8000211ad5c8) at reaper+0xdb sys/kern/kern_exit.c:420 end trace frame: 0x0, count: -6 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff8000211b9800 rbx 0xab79e8b32e8ad71b rdx 0 rcx 0 rax 0xffff8000211ad5c8 r8 0 r9 0 r10 0x9103ce1409a05680 r11 0xa3e76088d36a5ca0 r12 0xe08343c9c7c3f9d9 r13 0xffff800020d58ff0 r14 0xffff8000211d90b0 r15 0x14 rip 0xffffffff8246fbb0 remrunqueue+0xd0 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000211b97c0 ss 0x10 remrunqueue+0xd0: movq %r12,0x8(%rbx) ddb{1}> show proc PROC (reaper) pid=33289 stat=sleep flags process=14000 proc=200 pri=4, usrpri=56, nice=20 forw=0x0, list=0xffff8000211ad880,0xffff8000211ad320 process=0xffff8000ffffe9e0 user=0xffff8000211b4000, vmspace=0xffffffff82d72ff8 estcpu=6, cpticks=7, pctcpu=9.49 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 56610 121742 41925 0 2 0 syz-executor.3 56610 84856 41925 0 2 0x4000000 syz-executor.3 34966 101843 7276 0 2 0 syz-executor.7 16599 300208 38825 0 3 0x3800 suspend syz-executor.0 16599 43914 38825 0 2 0x4081880 syz-executor.0 16599 179082 38825 0 2 0x4081880 syz-executor.0 74505 78107 84923 0 7 0 syz-executor.1 89762 48444 57637 0 2 0 syz-executor.6 89762 364738 57637 0 3 0x4000080 fsleep syz-executor.6 84923 238865 24593 0 3 0x82 nanoslp syz-executor.1 84371 132729 24593 0 3 0x82 nanoslp syz-executor.4 38825 135240 24593 0 3 0x82 nanoslp syz-executor.0 41925 303938 24593 0 3 0x82 nanoslp syz-executor.3 23693 324635 1 0 3 0x80 fsleep syz-executor.0 23693 395437 1 0 3 0x4000080 lockf syz-executor.0 137 51749 1 0 3 0x80 fsleep syz-executor.0 137 174728 1 0 3 0x4000080 lockf syz-executor.0 94459 505941 24593 0 3 0x82 nanoslp syz-executor.5 24602 136601 0 0 3 0x14280 nfsidl nfsio 34373 138559 0 0 3 0x14280 nfsidl nfsio 10979 296494 0 0 3 0x14280 nfsidl nfsio 74398 454892 0 0 3 0x14280 nfsidl nfsio 73168 297546 0 0 3 0x14280 nfsidl nfsio 35547 345342 0 0 3 0x14280 nfsidl nfsio 38418 356419 0 0 3 0x14280 nfsidl nfsio 65385 232671 0 0 3 0x14280 nfsidl nfsio 6499 511242 0 0 3 0x14280 nfsidl nfsio 25427 431755 0 0 3 0x14280 nfsidl nfsio 46485 503280 0 0 3 0x14280 nfsidl nfsio 50757 521939 0 0 3 0x14280 nfsidl nfsio 10479 175412 0 0 3 0x14280 nfsidl nfsio 5904 80243 0 0 3 0x14280 nfsidl nfsio 28480 116491 0 0 3 0x14280 nfsidl nfsio 93780 485727 0 0 3 0x14280 nfsidl nfsio 4866 48166 0 0 3 0x14280 nfsidl nfsio 26063 346213 0 0 3 0x14280 nfsidl nfsio 53177 382115 0 0 3 0x14280 nfsidl nfsio 46668 73444 0 0 3 0x14280 nfsidl nfsio 7276 178190 24593 0 3 0x82 nanoslp syz-executor.7 45475 454605 0 0 3 0x14200 bored sosplice 57637 380135 24593 0 3 0x82 nanoslp syz-executor.6 57627 366782 24593 0 3 0x82 nanoslp syz-executor.2 24593 132881 11466 0 3 0x82 thrsleep syz-fuzzer 24593 522275 11466 0 3 0x4000082 thrsleep syz-fuzzer 24593 485004 11466 0 3 0x4000082 thrsleep syz-fuzzer 24593 518647 11466 0 3 0x4000082 wait syz-fuzzer 24593 198900 11466 0 3 0x4000082 thrsleep syz-fuzzer 24593 125615 11466 0 3 0x4000082 wait syz-fuzzer 24593 355913 11466 0 3 0x4000082 thrsleep syz-fuzzer 24593 83943 11466 0 3 0x4000082 wait syz-fuzzer 24593 108247 11466 0 3 0x4000082 wait syz-fuzzer 24593 143387 11466 0 3 0x4000082 thrsleep syz-fuzzer 24593 341759 11466 0 3 0x4000082 thrsleep syz-fuzzer 24593 270358 11466 0 3 0x4000082 kqread syz-fuzzer 24593 229909 11466 0 3 0x4000082 wait syz-fuzzer 24593 69770 11466 0 3 0x4000082 wait syz-fuzzer 24593 109902 11466 0 3 0x4000082 wait syz-fuzzer 24593 482992 11466 0 3 0x4000082 wait syz-fuzzer 11466 347569 77363 0 3 0x10008a sigsusp ksh 77363 71908 34931 0 3 0x9a kqread sshd 18671 247610 1 0 3 0x100083 ttyin getty 34931 64005 1 0 3 0x88 kqread sshd 65283 125418 52390 74 3 0x1100092 bpf pflogd 52390 320558 1 0 3 0x80 netio pflogd 43001 383097 82038 73 3 0x1100090 kqread syslogd 82038 184220 1 0 3 0x100082 netio syslogd 75760 484620 1 0 3 0x100080 kqread resolvd 22006 89907 99080 77 3 0x100092 kqread dhcpleased 5236 63921 99080 77 3 0x100092 kqread dhcpleased 99080 448419 1 0 3 0x80 kqread dhcpleased 77978 44286 0 0 3 0x14200 bored smr 4029 460358 0 0 2 0x14200 zerothread 61085 335558 0 0 3 0x14200 aiodoned aiodoned 32696 515984 0 0 3 0x14200 syncer update 72807 56013 0 0 3 0x14200 cleaner cleaner *70472 33289 0 0 3 0x14200 reaper reaper 24865 20817 0 0 3 0x14200 pgdaemon pagedaemon 32495 223540 0 0 3 0x14200 bored viomb 67031 448 0 0 3 0x40014200 acpi0 acpi0 41713 282877 0 0 3 0x40014200 idle1 73521 257292 0 0 3 0x14200 bored softnet3 72218 478872 0 0 3 0x14200 bored softnet2 17270 147517 0 0 3 0x14200 bored softnet1 96008 352725 0 0 3 0x14200 bored softnet0 58748 417948 0 0 3 0x14200 bored systqmp 50399 365789 0 0 3 0x14200 bored systq 4245 563 0 0 3 0x40014200 bored softclock 53366 116618 0 0 3 0x40014200 idle0 1 344632 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff82cbe8e8) #0 witness_lock+0x447 #1 mtx_enter_try+0x104 #2 mtx_enter+0x4f sys/kern/kern_lock.c:266 #3 uvm_pmr_getpages+0xeac sys/uvm/uvm_pmemrange.c:1205 #4 uvm_pagealloc+0x1a8 sys/uvm/uvm_page.c:910 #5 pmap_get_ptp+0x18d sys/arch/amd64/amd64/pmap.c:1209 #6 pmap_enter+0x2be sys/arch/amd64/amd64/pmap.c:2716 #7 uvm_fault_upper_lookup+0x2c0 sys/uvm/uvm_fault.c:896 #8 uvm_fault+0x129 sys/uvm/uvm_fault.c:606 #9 upageflttrap+0x86 sys/arch/amd64/amd64/trap.c:188 #10 usertrap+0x226 sys/arch/amd64/amd64/trap.c:436 #11 recall_trap+0x8 exclusive mutex &pmap->pm_mtx r = 0 (0xfffffd80682274f8) #0 witness_lock+0x447 #1 mtx_enter_try+0x104 #2 mtx_enter+0x4f sys/kern/kern_lock.c:266 #3 pmap_enter+0x1c3 pmap_map_ptes sys/arch/amd64/amd64/pmap.c:423 [inline] #3 pmap_enter+0x1c3 sys/arch/amd64/amd64/pmap.c:2710 #4 uvm_fault_upper_lookup+0x2c0 sys/uvm/uvm_fault.c:896 #5 uvm_fault+0x129 sys/uvm/uvm_fault.c:606 #6 upageflttrap+0x86 sys/arch/amd64/amd64/trap.c:188 #7 usertrap+0x226 sys/arch/amd64/amd64/trap.c:436 #8 recall_trap+0x8 CPU 1: exclusive sched_lock &sched_lock r = 0 (0xffffffff82d638a8) #0 witness_lock+0x447 #1 sleep_finish+0xa2 sys/kern/kern_synch.c:377 #2 msleep+0xea sys/kern/kern_synch.c:249 #3 reaper+0xdb sys/kern/kern_exit.c:420 #4 proc_trampoline+0x1c Process 74505 (syz-executor.1) thread 0xffff80002122e028 (78107) exclusive rwlock amaplk r = 0 (0xfffffd807c953898) #0 witness_lock+0x447 #1 uvm_fault_check+0x41a sys/uvm/uvm_fault.c:783 #2 uvm_fault+0xf2 sys/uvm/uvm_fault.c:601 #3 upageflttrap+0x86 sys/arch/amd64/amd64/trap.c:188 #4 usertrap+0x226 sys/arch/amd64/amd64/trap.c:436 #5 recall_trap+0x8 shared rwlock vmmaplk r = 0 (0xfffffd8008a060f8) #0 witness_lock+0x447 #1 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1773 #2 uvm_fault_check+0x3e sys/uvm/uvm_fault.c:673 #3 uvm_fault+0xf2 sys/uvm/uvm_fault.c:601 #4 upageflttrap+0x86 sys/arch/amd64/amd64/trap.c:188 #5 usertrap+0x226 sys/arch/amd64/amd64/trap.c:436 #6 recall_trap+0x8 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10196 6510K 7756K 78643K 26219 0 pcb 13 16K 21K 78643K 6263 0 rtable 258 8K 8K 78643K 854 0 pf 32 9K 10K 78643K 224 0 ifaddr 45 16K 17K 78643K 170 0 ifgroup 55 2K 2K 78643K 346 0 sysctl 3 1K 1K 78643K 3 0 counters 60 35K 36K 78643K 210 0 ioctlops 0 0K 4K 78643K 1686 0 iov 0 0K 18K 78643K 752 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1560 98K 98K 78643K 5703 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 87 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 384 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 97K 78643K 7819 0 sigio 1 0K 0K 78643K 95 0 proc 70 91K 152K 78643K 1275 0 subproc 130 8K 8K 78643K 299 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 133 0 in_multi 99 7K 7K 78643K 333 0 ether_multi 1 0K 0K 78643K 10 0 mrt 1 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 85 387K 387K 78643K 85 0 exec 0 0K 1K 78643K 1390 0 pfkey data 0 0K 0K 78643K 4 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 442 112K 115K 78643K 79145 0 UVM aobj 131 4K 4K 78643K 135 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 154 0 NDP 12 0K 2K 78643K 131 0 temp 82 5868K 5948K 78643K 49404 0 kqueue 12 18K 26K 78643K 510 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 476 0 473 7 4 3 3 0 8 2 rtentry 112 283 0 164 4 0 4 4 0 8 0 unpcb 144 6117 0 6101 68 62 6 10 0 8 5 syncache 296 31 0 31 11 11 0 1 0 8 0 tcpqe 32 319 0 319 7 7 0 2 0 8 0 tcpcb 808 1386 0 1382 49 48 1 14 0 8 0 arp 120 46 0 28 1 0 1 1 0 8 0 inpcb 368 9255 0 9248 171 162 9 19 0 8 8 nd6 136 78 0 45 2 0 2 2 0 8 0 pkpcb 40 13 0 13 4 4 0 1 0 8 0 kcovpl 48 23 0 13 1 0 1 1 0 8 0 ppxss 1256 20 0 20 6 5 1 1 0 8 1 pffrag 232 69 0 69 1 1 0 1 0 482 0 pffrnode 88 46 0 46 1 1 0 1 0 8 0 pffrent 40 257 0 257 1 1 0 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 233 0 219 1 0 1 1 0 8 0 pfstkey 128 233 0 219 3 1 2 2 0 8 0 pfstate 376 233 0 219 9 5 4 5 0 8 1 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1125 0 638 33 1 32 32 0 8 0 art_table 32 1126 0 638 5 0 5 5 0 8 0 art_node 16 276 0 167 1 0 1 1 0 8 0 sysvmsgpl 40 31 0 17 1 0 1 1 0 8 0 semapl 112 380 0 370 1 0 1 1 0 8 0 shmpl 112 132 0 4 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 11082 0 9593 94 0 94 94 0 8 0 ffsino 272 11082 0 9593 100 0 100 100 0 8 0 nchpl 144 22475 0 21974 63 40 23 63 0 8 0 uvmvnodes 80 6016 0 0 123 0 123 123 0 8 0 vnodes 216 6016 0 0 335 0 335 335 0 8 0 namei 1024 73729 0 73729 5 4 1 3 0 8 1 percpumem 16 118 0 75 1 0 1 1 0 8 0 kstatmem 264 174 0 150 2 0 2 2 0 8 0 scxspl 216 73825 0 73825 40 39 1 8 0 8 1 plimitpl 152 963 0 943 1 0 1 1 0 8 0 sigapl 424 8130 0 8059 10 2 8 9 0 8 0 futexpl 64 68501 0 68496 1 0 1 1 0 8 0 knotepl 120 562 0 0 13 2 11 11 0 8 0 kqueuepl 216 1071 0 1061 15 14 1 5 0 8 0 pipepl 320 1649 0 1619 36 33 3 11 0 8 0 fdescpl 496 8084 0 8054 9 4 5 5 0 8 0 filepl 152 50379 0 50102 124 105 19 22 0 8 8 lockfpl 104 3900 0 3894 11 10 1 2 0 8 0 lockfspl 48 1446 0 1443 1 0 1 1 0 8 0 sessionpl 144 38 0 19 1 0 1 1 0 8 0 pgrppl 48 56 0 37 1 0 1 1 0 8 0 ucredpl 104 4531 0 4515 1 0 1 1 0 8 0 zombiepl 144 8063 0 8059 1 0 1 1 0 8 0 processpl 1072 8130 0 8059 5 0 5 5 0 8 0 procpl 696 22213 0 22121 22 12 10 10 0 8 1 srpgc 96 4 0 4 2 2 0 1 0 8 0 sosppl 168 87 0 87 15 15 0 1 0 8 0 sockpl 488 15971 0 15945 407 389 18 38 0 8 14 mcl64k 65536 25 0 0 3 0 3 3 0 8 0 mcl16k 16384 25 0 0 4 1 3 3 0 8 0 mcl12k 12288 33 0 0 2 0 2 2 0 8 0 mcl9k 9216 16 0 0 2 0 2 2 0 8 0 mcl8k 8192 25 0 0 4 1 3 3 0 8 0 mcl4k 4096 18 0 0 3 0 3 3 0 8 0 mcl2k2 2112 9 0 0 1 0 1 1 0 8 0 mcl2k 2048 356 0 0 40 9 31 40 0 8 0 mtagpl 96 970 0 0 22 0 22 22 0 8 0 mbufpl 256 30662 0 0 1898 1 1897 1897 0 8 0 bufpl 288 17394 0 11074 452 0 452 452 0 8 0 anonpl 24 854422 0 841088 197 94 103 120 0 186 9 amapchunkpl 152 248811 0 247882 98 57 41 51 0 158 1 amappl16 200 17218 0 16856 87 67 20 32 0 8 0 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 201 0 186 2 1 1 2 0 8 0 amappl13 176 53 0 50 1 0 1 1 0 8 0 amappl12 168 8952 0 8917 4 2 2 3 0 8 0 amappl11 160 59 0 44 1 0 1 1 0 8 0 amappl10 152 54 0 39 1 0 1 1 0 8 0 amappl9 144 265 0 265 18 18 0 2 0 8 0 amappl8 136 582 0 441 5 0 5 5 0 8 0 amappl7 128 131 0 110 1 0 1 1 0 8 0 amappl6 120 407 0 386 2 1 1 2 0 8 0 amappl5 112 346 0 337 1 0 1 1 0 8 0 amappl4 104 1030 0 985 3 1 2 3 0 8 0 amappl3 96 48940 0 48847 9 6 3 5 0 8 0 amappl2 88 8571 0 8498 3 1 2 3 0 8 0 amappl1 80 37539 0 36976 23 10 13 23 0 8 0 amappl 88 78319 0 78059 11 4 7 8 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 134 0 4 3 0 3 3 0 8 0 uaddrrnd 24 8084 0 8054 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8084 0 8054 1 0 1 1 0 8 0 vmmpekpl 168 67311 0 67248 5 1 4 4 0 8 0 vmmpepl 168 489789 0 487347 267 150 117 152 0 357 0 vmsppl 464 8083 0 8054 10 5 5 5 0 8 1 rwobjpl 56 127478 0 119738 123 13 110 112 0 8 0 pdppl 4096 16176 0 16108 514 440 74 86 0 8 6 pvpl 32 2354982 0 2335295 596 367 229 361 0 265 54 pmappl 248 8083 0 8054 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 3383 0 674 78 0 78 78 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82bc3ff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82d636a0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d636a0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 wakeup_n(ffffffff82cbe754,ffffffff) at wakeup_n+0x37 sys/kern/kern_synch.c:538 uvm_pmr_getpages(1,0,0,1,0,1,989efc36798823b3,0) at uvm_pmr_getpages+0xeef sys/uvm/uvm_pmemrange.c:1207 uvm_pagealloc(fffffd8068227538,106a000,0,3) at uvm_pagealloc+0x1a8 sys/uvm/uvm_page.c:910 pmap_get_ptp(fffffd80682274e8,41aa0042000) at pmap_get_ptp+0x18d sys/arch/amd64/amd64/pmap.c:1209 pmap_enter(fffffd80682274e8,41aa0042000,7ce46000,1,20) at pmap_enter+0x2be sys/arch/amd64/amd64/pmap.c:2716 uvm_fault_upper_lookup(ffff800024313a00,ffff800024313a38,ffff800024313900,ffff800024313980) at uvm_fault_upper_lookup+0x2c0 sys/uvm/uvm_fault.c:896 uvm_fault(fffffd8008a06000,41aa0041000,0,1) at uvm_fault+0x129 sys/uvm/uvm_fault.c:606 upageflttrap(ffff800024313b80,41aa0041fa0) at upageflttrap+0x86 sys/arch/amd64/amd64/trap.c:188 usertrap(ffff800024313b80) at usertrap+0x226 sys/arch/amd64/amd64/trap.c:436 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7b53e0b590, count: -14 ddb{0}> machine ddbcpu 1 Stopped at remrunqueue+0xd0: movq %r12,0x8(%rbx) ddb{1}> trace remrunqueue(ffff8000211d90b0) at remrunqueue+0xd0 sys/kern/kern_sched.c:301 sched_chooseproc() at sched_chooseproc+0x1a3 sys/kern/kern_sched.c:345 mi_switch() at mi_switch+0x27f sys/kern/sched_bsd.c:367 sleep_finish(0,1) at sleep_finish+0x184 sys/kern/kern_synch.c:411 msleep(ffffffff82c4a7f8,ffffffff82b65290,4,ffffffff82851032,0) at msleep+0xea sys/kern/kern_synch.c:249 reaper(ffff8000211ad5c8) at reaper+0xdb sys/kern/kern_exit.c:420 end trace frame: 0x0, count: -6