panic: pmap_san_enter_alloc_4k: no memory to grow shadow map cpuid = 1 time = 1666702082 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0xc7/frame 0xfffffe00a679bdd0 kdb_backtrace() at kdb_backtrace+0xd3/frame 0xfffffe00a679bf30 vpanic() at vpanic+0x254/frame 0xfffffe00a679c010 panic() at panic+0xb5/frame 0xfffffe00a679c0d0 pmap_san_enter_alloc_4k() at pmap_san_enter_alloc_4k+0x4b/frame 0xfffffe00a679c0f0 pmap_san_enter() at pmap_san_enter+0x351/frame 0xfffffe00a679c140 kasan_shadow_map() at kasan_shadow_map+0x98/frame 0xfffffe00a679c160 pmap_growkernel() at pmap_growkernel+0xca/frame 0xfffffe00a679c1b0 vm_map_insert() at vm_map_insert+0x678/frame 0xfffffe00a679c310 vm_map_find() at vm_map_find+0x92d/frame 0xfffffe00a679c3f0 kva_import() at kva_import+0xd4/frame 0xfffffe00a679c4d0 vmem_try_fetch() at vmem_try_fetch+0x21f/frame 0xfffffe00a679c5b0 vmem_xalloc() at vmem_xalloc+0x52f/frame 0xfffffe00a679c670 vmem_alloc() at vmem_alloc+0x106/frame 0xfffffe00a679c6d0 kva_alloc() at kva_alloc+0x9c/frame 0xfffffe00a679c770 vm_thread_stack_create() at vm_thread_stack_create+0xde/frame 0xfffffe00a679c960 kstack_import() at kstack_import+0x8b/frame 0xfffffe00a679c9b0 cache_alloc() at cache_alloc+0x869/frame 0xfffffe00a679ca70 cache_alloc_retry() at cache_alloc_retry+0x33/frame 0xfffffe00a679cac0 vm_thread_new() at vm_thread_new+0x97/frame 0xfffffe00a679caf0 thread_alloc() at thread_alloc+0x72/frame 0xfffffe00a679cb30 fork1() at fork1+0x5dc/frame 0xfffffe00a679cc30 sys_fork() at sys_fork+0xe3/frame 0xfffffe00a679cd30 amd64_syscall() at amd64_syscall+0x410/frame 0xfffffe00a679cf30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00a679cf30 --- syscall (198, FreeBSD ELF64, nosys), rip = 0x28e5ca, rsp = 0x82ed44f08, rbp = 0x82ed44f70 --- KDB: enter: panic [ thread pid 10325 tid 110461 ] Stopped at kdb_enter+0x6b: movq $0,0x2765f7a(%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 0xffffffff81732616 printf+0xf6 rdx 0x1 rbx 0 rsp 0xfffffe00a679bf10 rbp 0xfffffe00a679bf30 rsi 0 rdi 0xffffffff81732678 printf+0x158 r8 0 r9 0xffffffff r10 0 r11 0xfffffe00a69e9360 r12 0 r13 0xfffffe00a69e8e40 r14 0xffffffff82b7ad80 .str.26 r15 0xffffffff82b7ad80 .str.26 rip 0xffffffff8172221b kdb_enter+0x6b rflags 0x46 kdb_enter+0x6b: movq $0,0x2765f7a(%rip) db> show proc Process 10325 (syz-executor.2) at 0xfffffe00a6992558: state: NORMAL uid: 0 gids: 0, 0, 0, 0 parent: pid 9019 at 0xfffffe009fd4f008 ABI: FreeBSD ELF64 flag: 0x10000100 flag2: 0 arguments: /root/syz-executor.2 exec reaper: 0xfffffe00541d0010 reapsubtree: 1 sigparent: 20 vmspace: 0xfffffe00a697ca00 (map 0xfffffe00a697ca00) (map.pmap 0xfffffe00a697cac0) (pmap 0xfffffe00a697cb30) threads: 1 110461 Run CPU 1 syz-executor.2 db> serialport: VM disconnected.