panic: pmap_san_enter_alloc_4k: no memory to grow shadow map cpuid = 0 time = 14 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0xc6/frame 0xfffffe00978cf730 kdb_backtrace() at kdb_backtrace+0xd0/frame 0xfffffe00978cf890 vpanic() at vpanic+0x257/frame 0xfffffe00978cfa50 panic() at panic+0xb5/frame 0xfffffe00978cfb10 pmap_san_enter_alloc_4k() at pmap_san_enter_alloc_4k+0x4b/frame 0xfffffe00978cfb30 pmap_san_enter() at pmap_san_enter+0x353/frame 0xfffffe00978cfb70 kasan_shadow_map() at kasan_shadow_map+0x78/frame 0xfffffe00978cfb90 pmap_growkernel() at pmap_growkernel+0xd1/frame 0xfffffe00978cfbf0 vm_map_insert1() at vm_map_insert1+0x672/frame 0xfffffe00978cfd30 vm_map_find_locked() at vm_map_find_locked+0xa12/frame 0xfffffe00978cfea0 vm_map_find() at vm_map_find+0xc7/frame 0xfffffe00978cff10 kva_import() at kva_import+0xd4/frame 0xfffffe00978cfff0 vmem_try_fetch() at vmem_try_fetch+0x21e/frame 0xfffffe00978d00e0 vmem_xalloc() at vmem_xalloc+0x538/frame 0xfffffe00978d0180 kva_import_domain() at kva_import_domain+0x5f/frame 0xfffffe00978d01d0 vmem_try_fetch() at vmem_try_fetch+0x21e/frame 0xfffffe00978d02c0 vmem_xalloc() at vmem_xalloc+0x538/frame 0xfffffe00978d0360 vm_thread_kstack_arena_import() at vm_thread_kstack_arena_import+0x9e/frame 0xfffffe00978d03d0 vmem_try_fetch() at vmem_try_fetch+0x21e/frame 0xfffffe00978d04b0 vmem_xalloc() at vmem_xalloc+0x538/frame 0xfffffe00978d0550 vmem_alloc() at vmem_alloc+0xfe/frame 0xfffffe00978d05b0 vm_thread_stack_create() at vm_thread_stack_create+0x2ce/frame 0xfffffe00978d08e0 kstack_import() at kstack_import+0x9e/frame 0xfffffe00978d0930 cache_alloc() at cache_alloc+0x7e5/frame 0xfffffe00978d0a00 cache_alloc_retry() at cache_alloc_retry+0x35/frame 0xfffffe00978d0a40 vm_thread_new() at vm_thread_new+0x91/frame 0xfffffe00978d0ab0 thread_alloc() at thread_alloc+0x72/frame 0xfffffe00978d0af0 fork1() at fork1+0xad6/frame 0xfffffe00978d0c10 sys_fork() at sys_fork+0xe3/frame 0xfffffe00978d0d10 amd64_syscall() at amd64_syscall+0x4e2/frame 0xfffffe00978d0f30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00978d0f30 --- syscall (198, FreeBSD ELF64, __syscall), rip = 0x3a6e9a, rsp = 0x823ef5f08, rbp = 0x823ef5f80 --- KDB: enter: panic [ thread pid 4764 tid 104551 ] Stopped at kdb_enter+0x6e: movq $0,0x2589547(%rip) db> db> set $lines = 0 db> set $maxwidth = 0 db> show registers cs 0x20 ds 0x3b es 0x3b fs 0x13 gs 0x1b ss 0x28 rax 0x12 rcx 0xfffffe0002bf1850 rdx 0 rbx 0xffffffff828271a0 .str.27 rsp 0xfffffe00978cf870 rbp 0xfffffe00978cf890 rsi 0 rdi 0xffffffff8165b669 printf+0x149 r8 0 r9 0xffffffff r10 0 r11 0x3f r12 0xfffffe0096dea780 r13 0xfffffffffffffffe r14 0xffffffff828271a0 .str.27 r15 0 rip 0xffffffff81644a4e kdb_enter+0x6e rflags 0x46 kdb_enter+0x6e: movq $0,0x2589547(%rip) db> show proc Process 4764 (syz-executor) at 0xfffffe0096de1ab8: state: NORMAL uid: 0 gid: 0 supp gids: 0, 5 parent: pid 4675 at 0xfffffe0096d7c560 ABI: FreeBSD ELF64 flag: 0x10000000 flag2: 0 arguments: ./syz-executor exec reaper: 0xfffffe0007809010 reapsubtree: 1 sigparent: 20 vmspace: 0xfffffe0096df4490 (map 0xfffffe0096df4490) (map.pmap 0xfffffe0096df4530) (pmap 0xfffffe0096df45a0) threads: 1 104551 Run CPU 0 syz-executor db> ps pid ppid pgrp uid state wmesg wchan cmd 6002 2677 765 0 N syz-executor 6001 2676 765 0 N syz-executor 6000 2674 765 0 N syz-executor 5999 2672 765 0 N syz-executor 5998 2670 765 0 N syz-executor 5997 2662 765 0 N syz-executor 5996 2661 765 0 N syz-executor 5995 4733 765 0 N syz-executor 5994 2659 765 0 N syz-executor 5993 5857 765 0 N syz-executor 5992 2657 765 0 N syz-executor 5991 5849 765 0 N syz-executor 5990 4713 765 0 N syz-executor 5989 2655 765 0 N syz-executor 5988 5841 765 0 N syz-executor 5987 2652 765 0 N syz-executor 5986 5986 0 0 N syz-executor 5985 5829 765 0 N syz-executor 5984 2650 765 0 N syz-executor 5983 4683 765 0 N syz-executor 5982 2649 765 0 N syz-executor 5981 5828 765 0 N syz-executor 5980 2645 765 0 N syz-executor 5979 4671 765 0 N syz-executor 5978 5816 765 0 N syz-executor 5977 2643 765 0 N syz-executor 5976 4644 765 0 N syz-executor 5975 2641 765 0 N syz-executor 5974 5745 765 0 N syz-executor 5973 2639 765 0 N syz-executor 5972 5735 765 0 N syz-executor 5971 2637 765 0 N syz-executor 5970 4638 765 0 N syz-executor 5969 2636 765 0 N syz-executor 5968 5400 765 0 N syz-executor 5967 2632 765 0 N syz-executor 5966 4620 765 0 N syz-executor 5965 5675 765 0 N syz-executor 5964 2631 765 0 N syz-executor 5963 4601 765 0 N syz-executor 5962 5689 765 0 N syz-executor 5961 2630 765 0 N syz-executor 5960 4592 765 0 N syz-executor 5959 2627 765 0 N syz-executor 5958 5646 765 0 N syz-executor 5957 2626 765 0 N syz-executor 5956 4581 765 0 N syz-executor 5955 2624 765 0 N syz-executor 5954 4581 765 0 R syz-executor 5953 2621 765 0 R syz-executor 5952 5635 765 0 R syz-executor 5951 5635 765 0 R syz-executor 5950 4571 765 0 R syz-executor 5949 5635 765 0 D vmwait 0xffffffff83003480 syz-executor 5948 4571 765 0 R syz-executor 5947 2618 765 0 R syz-executor 5946 2617 765 0 R syz-executor 5945 4571 765 0 R syz-executor 5944 2617 765 0 R syz-executor 5943 2617 765 0 R syz-executor 5942 4559 765 0 R syz-executor 5941 2617 765 0 R serialport: VM disconnected.