panic: failed to reclaim memory cpuid = 0 time = 27 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0xc6/frame 0xfffffe0056ea5470 kdb_backtrace() at kdb_backtrace+0xd0/frame 0xfffffe0056ea55d0 vpanic() at vpanic+0x257/frame 0xfffffe0056ea5790 panic() at panic+0xb5/frame 0xfffffe0056ea5860 vm_pageout_oom() at vm_pageout_oom+0xce4/frame 0xfffffe0056ea58f0 vm_pageout_worker() at vm_pageout_worker+0xf9b/frame 0xfffffe0056ea5ea0 vm_pageout() at vm_pageout+0x2ce/frame 0xfffffe0056ea5ef0 fork_exit() at fork_exit+0xcc/frame 0xfffffe0056ea5f30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0056ea5f30 --- trap 0, rip = 0, rsp = 0, rbp = 0 --- KDB: enter: panic [ thread pid 8 tid 100077 ] Stopped at kdb_enter+0x6e: movq $0,0x258c8c7(%rip) db> db> set $lines = 0 db> set $maxwidth = 0 db> show registers cs 0x20 ds 0x3b es 0x3b fs 0x13 gs 0x1b ss 0 rax 0x12 rcx 0xfffffe0002bf1850 rdx 0 rbx 0xffffffff82834400 .str.27 rsp 0xfffffe0056ea55b0 rbp 0xfffffe0056ea55d0 rsi 0 rdi 0xffffffff8165d2e9 printf+0x149 r8 0 r9 0xffffffff r10 0 r11 0xf r12 0xfffffe0058614780 r13 0xfffffffffffffffe r14 0xffffffff82834400 .str.27 r15 0 rip 0xffffffff816466ce kdb_enter+0x6e rflags 0x46 kdb_enter+0x6e: movq $0,0x258c8c7(%rip) db> show proc Process 8 (pagedaemon) at 0xfffffe005860d558: state: NORMAL uid: 0 gid: 0 supp gids: 0 parent: pid 0 at 0xffffffff83b5d020 ABI: null flag: 0x10000284 flag2: 0 reaper: 0xffffffff83b5d020 reapsubtree: 8 sigparent: 20 vmspace: 0xffffffff83b5e000 (map 0xffffffff83b5e000) (map.pmap 0xffffffff83b5e0a0) (pmap 0xffffffff83b5e110) threads: 3 100077 Run CPU 0 [dom0] 100081 Run CPU 1 [laundry: dom0] 100082 D umarcls 0xffffffff82838ae1 [uma] db> ps pid ppid pgrp uid state wmesg wchan cmd 1097 1095 918 0 S+ piperd 0xfffffe005982e140 sh 1096 1095 918 0 D+ pfault 0xffffffff83003480 ps 1095 1094 918 0 S+ wait 0xfffffe0058733018 sh 1094 918 918 0 S+ piperd 0xfffffe005982de60 sh 1091 765 765 0 N syz-executor 1090 1088 763 -1 S uwait 0xfffffe0077676100 syz-executor 1089 1086 764 -1 S uwait 0xfffffe0077676500 syz-executor 1088 763 763 -1 D (threaded) syz-executor 100382 D vmwait 0xffffffff83003480 syz-executor 100401 S select 0xfffffe00077876c0 syz-executor 100405 S uwait 0xfffffe0077675080 syz-executor 100406 S uwait 0xfffffe0077675180 syz-executor 1087 766 766 -1 D (threaded) syz-executor 100314 D vm map 0xfffffe00586fc980 syz-executor 100407 S select 0xfffffe0007787b40 syz-executor 100408 D vmwait 0xffffffff83003480 syz-executor 100409 S uwait 0xfffffe0077675c80 syz-executor 1086 764 764 -1 D (threaded) syz-executor 100202 D vmwait 0xffffffff83003480 syz-executor 100400 S select 0xfffffe00077879c0 syz-executor 100402 S aiowc 0xfffffe00587308e0 syz-executor 100403 S uwait 0xfffffe0058591e00 syz-executor 100404 S uwait 0xfffffe0058591f00 syz-executor 1085 1 765 0 S uwait 0xfffffe0077676b00 syz-executor 1071 1 764 0 S uwait 0xfffffe005830b700 syz-executor 1068 1 766 0 S uwait 0xfffffe0077676400 syz-executor 1066 1 763 0 S uwait 0xfffffe0077675480 syz-executor 1061 1 765 0 S uwait 0xfffffe0077675b80 syz-executor 1045 1 766 0 S uwait 0xfffffe0077675880 syz-executor 1032 1 764 0 S uwait 0xfffffe0077675680 syz-executor 1029 1 765 -1 S uwait 0xfffffe0077676200 syz-executor 1016 1 764 -1 S uwait 0xfffffe0077676300 syz-executor 1015 1 766 0 S uwait 0xfffffe0058590900 syz-executor 997 1 765 0 S uwait 0xfffffe0058309700 syz-executor 992 1 763 0 S uwait 0xfffffe00084f7580 syz-executor 989 1 764 0 S uwait 0xfffffe005858ef00 syz-executor 970 1 766 0 S uwait 0xfffffe0058309600 syz-executor 968 1 765 -1 S uwait 0xfffffe005830b100 syz-executor 966 1 764 -1 S uwait 0xfffffe005830b200 syz-executor 955 1 763 0 S uwait 0xfffffe005830b600 syz-executor 947 1 764 -1 S uwait 0xfffffe0077676c00 syz-executor 936 1 765 0 S uwait 0xfffffe0058590780 syz-executor 932 1 763 0 S uwait 0xfffffe0077676a00 syz-executor 929 1 766 0 S uwait 0xfffffe0077676900 syz-executor 924 922 918 0 S+ nanslp 0xffffffff83bb4000 sleep 922 918 918 0 S+ wait 0xfffffe0058734000 sh 918 1 918 0 Ss+ wait 0xfffffe005878b558 sh 915 1 763 0 S uwait 0xfffffe0077678000 syz-executor 914 1 764 0 S uwait 0xfffffe005858e900 syz-executor 911 1 765 0 S uwait 0xfffffe005858e700 syz-executor 910 1 763 0 S uwait 0xfffffe00084f7100 syz-executor 909 1 766 0 S uwait 0xfffffe005858e500 syz-executor 907 1 764 0 S uwait 0xfffffe0058590980 syz-executor 906 1 765 0 S uwait 0xfffffe00084f7200 syz-executor 901 1 766 -1 S uwait 0xfffffe0077676f00 syz-executor 900 1 763 0 S uwait 0xfffffe0077677180 syz-executor 899 1 765 0 S uwait 0xfffffe0077677b80 syz-executor 894 1 764 0 S uwait 0xfffffe005858ea00 syz-executor 893 1 766 0 S uwait 0xfffffe005858fd80 syz-executor 892 1 765 -1 S uwait 0xfffffe00084f7c00 syz-executor 891 1 763 0 S uwait 0xfffffe005858fa00 syz-executor 886 1 764 -1 S uwait 0xfffffe0077676e00 syz-executor 885 1 763 0 S uwait 0xfffffe0077676d00 syz-executor 884 1 766 0 S uwait 0xfffffe0077677680 syz-executor 881 1 765 0 S uwait 0xfffffe005858ec80 syz-executor 878 1 763 -1 S uwait 0xfffffe0077678200 syz-executor 877 1 766 0 S uwait 0xfffffe0077677980 syz-executor 876 1 764 0 S uwait 0xfffffe0058590880 syz-executor 875 1 765 0 S uwait 0xfffffe00084f7280 syz-executor 870 1 764 -1 S uwait 0xfffffe005858e600 syz-executor 869 1 765 -1 S uwait 0xfffffe005830a480 syz-executor 868 1 763 -1 S uwait 0xfffffe0058309e00 syz-executor 867 1 766 -1 S umtxn 0xfffffe005858f180 syz-executor 862 1 765 -1 S uwait 0xfffffe0058309100 syz-executor 861 1 764 -1 S uwait 0xfffffe0058309200 syz-executor 860 1 763 0 S uwait 0xfffffe0058309480 syz-executor 856 1 766 -1 S uwait 0xfffffe0077677a80 syz-executor 854 1 764 -1 S uwait 0xfffffe0077678300 syz-executor 853 1 765 -1 S uwait 0xfffffe0077677d80 syz-executor 852 1 763 -1 S uwait 0xfffffe00084f7880 syz-executor 848 1 766 -1 S uwait 0xfffffe0077677580 syz-executor 847 1 765 0 S uwait 0xfffffe005830aa80 syz-executor 846 1 764 0 S uwait 0xfffffe0058309b00 syz-executor 843 1 763 -1 S uwait 0xfffffe00084f7680 syz-executor 841 1 765 0 S uwait 0xfffffe00084f7780 syz-executor 840 1 766 -1 S uwait 0xfffffe0058309a00 syz-executor 837 1 764 -1 S uwait 0xfffffe005858f700 syz-executor 835 1 766 0 S uwait 0xfffffe005858f900 syz-executor 833 1 765 -1 S uwait 0xfffffe00084f7480 syz-executor 831 1 763 -1 S uwait 0xfffffe0058309d00 syz-executor 829 1 764 -1 S uwait 0xfffffe005830a580 syz-executor 826 0 0 0 DL (threaded) [so_splice] 100097 D - 0xfffffe0054236b80 [thr_0] 100144 D - 0xfffffe0054236bc0 [thr_1] 825 1 766 -1 S uwait 0xfffffe005830be00 syz-executor 823 1 765 0 S uwait 0xfffffe005830bf00 syz-executor 822 1 763 -1 S uwait 0xfffffe00084f7380 syz-executor 821 0 0 0 DL aiordy 0xfffffe005870e568 [aiod4] 820 0 0 0 DL aiordy 0xfffffe005870eac0 [aiod3] 819 0 0 0 DL aiordy 0xfffffe00586f3560 [aiod2] 818 0 0 0 DL aiordy 0xfffffe00586f3ab8 [aiod1] 817 1 764 -1 S uwait 0xfffffe00084f7d00 syz-executor 816 809 816 0 Ss select 0xfffffe0007787a40 dhclient 813 1 813 0 Ss select 0xfffffe00077878c0 dhclient 809 788 423 65 S select 0xfffffe0007787ac0 dhclient 788 423 423 0 S wait 0xfffffe00586f4ac0 sh 766 762 766 0 S wait 0xfffffe005870c000 syz-executor 765 762 765 0 DL vmwait 0xffffffff83003480 syz-executor 764 762 764 0 S wait 0xfffffe00586f3008 syz-executor 763 762 763 0 S wait 0xfffffe0058603ab8 syz-executor 762 760 760 0 SL select 0xfffffe0007787dc0 syz-executor 760 758 760 0 Ss sigsusp 0xfffffe00586ce620 csh 758 1 758 0 Ss select 0xfffffe0007787ec0 sshd 737 1 17 0 S+ piperd 0xfffffe005982d2e0 logger 736 735 17 0 D+ pfault 0xffffffff83003480 sleep 735 1 17 0 S+ wait 0xfffffe00586f2558 sh 494 1 494 0 Ss select 0xfffffe0007787f40 syslogd 423 1 423 0 Ss wait 0xfffffe00586cd010 devd 422 1 422 65 Ss select 0xfffffe00077881c0 dhclient 337 1 337 0 Ss select 0xfffffe0007788c40 dhclient 334 1 334 0 Ss select 0xfffffe0054236cc0 dhclient 16 0 0 0 DL syncer 0xffffffff83ce1c20 [syncer] 15 0 0 0 DL vlruwt 0xfffffe0058602558 [vnlru] 14 0 0 0 DL (threaded) [bufdaemon] 100079 D psleep 0xffffffff83ce0160 [bufdaemon] 100080 D - 0xffffffff83001ec0 [bufspacedaemon-0] 100093 D sdflush 0xfffffe005808e0e8 [/ worker] 9 0 0 0 DL psleep 0xffffffff83d214c0 [vmdaemon] 8 0 0 0 RL (threaded) [pagedaemon] 100077 Run CPU 0 [dom0] 100081 Run CPU 1 [laundry: dom0] 100082 D umarcls 0xffffffff82838ae1 [uma] 7 0 0 0 DL - 0xffffffff8392c5b0 [rand_harvestq] 6 0 0 0 DL pftm 0xffffffff84601f80 [pf purge] 5 0 0 0 DL waiting 0xffffffff844d0700 [sctp_iterator] 4 0 0 0 DL (threaded) [cam] 100045 D - 0xffffffff838f6340 [doneq0] 100046 D - 0xffffffff838f62c0 [async] 100075 D - 0xffffffff838f6140 [scanner] 3 0 0 0 DL (threaded) [crypto] 100042 D crypto_ 0xffffffff83d02e20 [crypto] 100043 D crypto_ 0xfffffe0007b17030 [crypto returns 0] 100044 D crypto_ 0xfffffe0007b17080 [crypto returns 1] 13 0 0 0 DL (threaded) [geom] 100037 D - 0xffffffff83b5c5e0 [g_event] 100038 D - 0xffffffff83b5c600 [g_up] 100039 D - 0xffffffff83b5c620 [g_down] 2 0 0 0 WL (threaded) [clock] 100031 I [clock (0)] 100032 I [clock (1)] 12 0 0 0 WL (threaded) [intr] 100013 I [swi6: task queue] 100014 I [swi6: Giant taskq] 100016 I [swi5: fast taskq] 100033 I [swi1: netisr 0] 100034 I [swi1: hpts] 100035 I [swi1: hpts] 100047 I [irq24: virtio_pci0] 100048 I [irq25: virtio_pci0] 100049 I [irq26: virtio_pci0] 100050 I [irq27: virtio_pci0] 100051 I [irq28: virtio_pci1] 100052 I [irq29: virtio_pci1] 100053 I [irq30: virtio_pci1] 100054 I [irq31: virtio_pci1] 100055 I [irq32: virtio_pci1] 100060 I [irq10: virtio_pci2] 100062 I [irq1: atkbd0] 100063 I [irq12: psm0] 100064 I [swi0: uart uart++] 100068 I [swi1: pf send] 11 0 0 0 RL (threaded) [idle] 100003 CanRun [idle: cpu0] 100004 CanRun [idle: cpu1] 1 0 1 0 SLs wait 0xfffffe0007809010 [init] 10 0 0 0 DL audit_w 0xffffffff83d038c0 [audit] 0 0 0 0 DLs (threaded) [kernel] 100000 D - 0xffffffff84c59ff0 [kernel] 100005 D - 0xfffffe00077f7a00 [softirq_0] 100006 D - 0xfffffe00077f7800 [softirq_1] 100007 D - 0xfffffe00077f7600 [if_io_tqg_0] 100008 D - 0xfffffe00077f7400 [if_io_tqg_1] 100009 D - 0xfffffe00077f7200 [if_config_tqg_0] 100010 D - 0xfffffe00077f7000 [kqueue_ctx taskq] 100011 D - 0xfffffe00077f6d00 [jail_remove taskq] 100012 D - 0xfffffe00077f6b00 [bus taskq] 100015 D - 0xfffffe00077f6500 [thread taskq] 100017 D - 0xfffffe00077f6100 [aiod_kick taskq] 100018 D - 0xfffffe00077f5e00 [deferred_unmount ta] 100019 D - 0xfffffe00077f5c00 [inm_free taskq] 100020 D - 0xfffffe00077f5a00 [in6m_free taskq] 100021 D - 0xfffffe00077f5800 [linuxkpi_irq_wq] 100022 D - 0xfffffe00077f5600 [linuxkpi_short_wq_0] 100023 D - 0xfffffe00077f5600 [linuxkpi_short_wq_1] 100024 D - 0xfffffe00077f5600 [linuxkpi_short_wq_2] 100025 D - 0xfffffe00077f5600 [linuxkpi_short_wq_3] 100026 D - 0xfffffe00077f5100 [linuxkpi_long_wq_0] 100027 D - 0xfffffe00077f5100 [linuxkpi_long_wq_1] 100028 D - 0xfffffe00077f5100 [linuxkpi_long_wq_2] 100029 D - 0xfffffe00077f5100 [linuxkpi_long_wq_3] 100036 D - 0xfffffe00077f4400 [firmware taskq] 100040 D - 0xfffffe0007bcc100 [crypto_0] 100041 D - 0xfffffe0007bcc100 [crypto_1] 100056 D - 0xfffffe00077f8200 [vtnet0 rxq 0] 100057 D - 0xfffffe00541f6500 [vtnet0 txq 0] 100058 D - 0xfffffe00541f6400 [vtnet0 rxq 1] 100059 D - 0xfffffe00541f6300 [vtnet0 txq 1] 100061 D vtbslp 0xfffffe00580bf000 [virtio_balloon] 100065 D - 0xffffffff82838ae0 [deadlkres] 100069 D - 0xfffffe0058595000 [acpi_task_0] 100070 D - 0xfffffe0058595000 [acpi_task_1] 100071 D - 0xfffffe0058595000 [acpi_task_2] 100073 D - 0xfffffe00077f8100 [mca taskq] 100074 D - 0xfffffe0007bcba00 [CAM taskq] 100076 D - 0xfffffe0007bcc500 [ipsec_offload] db> show all locks Process 1088 (syz-executor) thread 0xfffffe00587ab000 (100382) exclusive sx vm map (user) (vm map (user)) r = 0 (0xfffffe00586b04f0) locked @ /syzkaller/managers/i386/kernel/sys/vm/vm_map.c:2813 Process 1087 (syz-executor) thread 0xfffffe0058792000 (100408) exclusive sx vm map (user) (vm map (user)) r = 0 (0xfffffe00586c5738) locked @ /syzkaller/managers/i386/kernel/sys/vm/vm_map.c:4373 exclusive sx vm map (user) (vm map (user)) r = 0 (0xfffffe00586fc980) locked @ /syzkaller/managers/i386/kernel/sys/vm/vm_map.c:4369 shared sx killpg racer (killpg racer) r = 0 (0xfffffe00586d5580) locked @ /syzkaller/managers/i386/kernel/sys/kern/kern_fork.c:961 Process 1086 (syz-executor) thread 0xfffffe0058745000 (100202) exclusive sx vm map (user) (vm map (user)) r = 0 (0xfffffe00587a0e10) locked @ /syzkaller/managers/i386/kernel/sys/vm/vm_map.c:2813 Process 765 (syz-executor) thread 0xfffffe00586f8780 (100117) shared sx killpg racer (killpg racer) r = 0 (0xfffffe00586d55f8) locked @ /syzkaller/managers/i386/kernel/sys/kern/kern_fork.c:979 Process 8 (pagedaemon) thread 0xfffffe0058608000 (100081) exclusive rw vmobject (vmobject) r = 0 (0xfffffe005874d9b0) locked @ /syzkaller/managers/i386/kernel/sys/vm/swap_pager.c:1670 db> show malloc Type InUse MemUse Requests pf_hash 6 12804K 6 linker 384 5207K 498 tcp_hpts 8 4865K 8 devbuf 4187 4324K 4212 sysctloid 35174 2073K 35249 vtbuf 24 1968K 46 kobj 335 1340K 499 filedesc 160 1275K 361 newblk 365 1115K 547 vfscache 3 1025K 3 pcb 91 671K 157 inodedep 95 548K 254 subproc 259 542K 1237 ufs_quota 1 512K 1 vfs_hash 1 512K 1 callout 2 512K 2 intr 4 4serialport: VM disconnected.