panic: pmap_san_enter_alloc_4k: no memory to grow shadow map cpuid = 0 time = 23 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0xc6/frame 0xfffffe007eabd910 kdb_backtrace() at kdb_backtrace+0xd0/frame 0xfffffe007eabda70 vpanic() at vpanic+0x257/frame 0xfffffe007eabdc30 panic() at panic+0xb5/frame 0xfffffe007eabdcf0 pmap_san_enter_alloc_4k() at pmap_san_enter_alloc_4k+0x4b/frame 0xfffffe007eabdd10 pmap_san_enter() at pmap_san_enter+0x353/frame 0xfffffe007eabdd50 kasan_shadow_map() at kasan_shadow_map+0x78/frame 0xfffffe007eabdd70 pmap_growkernel() at pmap_growkernel+0xd1/frame 0xfffffe007eabddd0 vm_map_insert1() at vm_map_insert1+0x672/frame 0xfffffe007eabdf10 vm_map_find_locked() at vm_map_find_locked+0xa12/frame 0xfffffe007eabe080 vm_map_find() at vm_map_find+0xc7/frame 0xfffffe007eabe0f0 kva_import() at kva_import+0xd4/frame 0xfffffe007eabe1d0 vmem_try_fetch() at vmem_try_fetch+0x21e/frame 0xfffffe007eabe2c0 vmem_xalloc() at vmem_xalloc+0x538/frame 0xfffffe007eabe360 kva_import_domain() at kva_import_domain+0x5f/frame 0xfffffe007eabe3b0 vmem_try_fetch() at vmem_try_fetch+0x21e/frame 0xfffffe007eabe490 vmem_xalloc() at vmem_xalloc+0x538/frame 0xfffffe007eabe530 vmem_alloc() at vmem_alloc+0xfe/frame 0xfffffe007eabe590 kmem_malloc_domainset() at kmem_malloc_domainset+0x1a6/frame 0xfffffe007eabe6d0 keg_alloc_slab() at keg_alloc_slab+0x1f1/frame 0xfffffe007eabe7f0 zone_import() at zone_import+0x2f9/frame 0xfffffe007eabe9e0 cache_alloc() at cache_alloc+0x7e5/frame 0xfffffe007eabeab0 cache_alloc_retry() at cache_alloc_retry+0x35/frame 0xfffffe007eabeaf0 fork1() at fork1+0xa8a/frame 0xfffffe007eabec10 sys_fork() at sys_fork+0xe3/frame 0xfffffe007eabed10 amd64_syscall() at amd64_syscall+0x4e2/frame 0xfffffe007eabef30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe007eabef30 --- syscall (198, FreeBSD ELF64, __syscall), rip = 0x3a52ba, rsp = 0x8257d8f08, rbp = 0x8257d8f80 --- KDB: enter: panic [ thread pid 2837 tid 102440 ] Stopped at kdb_enter+0x6e: movq $0,0x259edd7(%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 0xffffffff82805a20 .str.27 rsp 0xfffffe007eabda50 rbp 0xfffffe007eabda70 rsi 0 rdi 0xffffffff81642289 printf+0x149 r8 0 r9 0xffffffff r10 0x7 r11 0x4 r12 0xfffffe007f6c5780 r13 0xfffffffffffffffe r14 0xffffffff82805a20 .str.27 r15 0 rip 0xffffffff8162bdbe kdb_enter+0x6e rflags 0x46 kdb_enter+0x6e: movq $0,0x259edd7(%rip) db> show proc Process 2837 (syz-executor) at 0xfffffe007f6b4560: state: NORMAL uid: 0 gid: 0 supp gids: 0, 5 parent: pid 1346 at 0xfffffe0078aa9000 ABI: FreeBSD ELF64 flag: 0x10000000 flag2: 0 arguments: ./syz-executor exec reaper: 0xfffffe0007809010 reapsubtree: 1 sigparent: 20 vmspace: 0xfffffe007f6ceb68 (map 0xfffffe007f6ceb68) (map.pmap 0xfffffe007f6cec08) (pmap 0xfffffe007f6cec78) threads: 1 102440 Run CPU 0 syz-executor db> ps pid ppid pgrp uid state wmesg wchan cmd 7847 2090 766 0 N syz-executor 7846 1491 766 0 N syz-executor 7845 1456 766 0 N syz-executor 7844 1552 766 0 N syz-executor 7843 1535 766 0 N syz-executor 7842 1529 766 0 N syz-executor 7841 1518 766 0 N syz-executor 7840 1507 766 0 N syz-executor 7839 1544 766 0 N syz-executor 7838 1492 766 0 N syz-executor 7837 1452 766 0 N syz-executor 7836 1494 766 0 N syz-executor 7835 1519 766 0 N syz-executor 7834 1498 766 0 N syz-executor 7833 1541 766 0 N syz-executor 7832 1527 766 0 N syz-executor 7831 1505 766 0 N syz-executor 7830 1486 766 0 N syz-executor 7829 1508 766 0 N syz-executor 7828 1451 766 0 N syz-executor 7827 2429 766 0 D pfault 0xffffffff83003480 syz-executor 7826 6755 766 0 D fork 0xffffffff8280a101 syz-executor 7825 3691 766 0 N syz-executor 7824 3745 766 0 D pfault 0xffffffff83003480 syz-executor 7823 3241 766 0 D pfault 0xffffffff83003480 syz-executor 7822 4492 766 0 N syz-executor 7821 1732 766 0 N syz-executor 7820 4485 766 0 D pfault 0xffffffff83003480 syz-executor 7819 1755 766 0 N syz-executor 7818 6757 766 0 D fork 0xffffffff8280a101 syz-executor 7817 7180 766 0 N syz-executor 7816 7177 766 0 D fork 0xffffffff8280a101 syz-executor 7815 4392 766 0 N syz-executor 7814 6754 766 0 D fork 0xffffffff8280a101 syz-executor 7813 6756 766 0 N syz-executor 7812 4494 766 0 D pfault 0xffffffff83003480 syz-executor 7811 4510 766 0 N syz-executor 7810 1728 766 0 D pfault 0xffffffff83003480 syz-executor 7809 4714 766 0 N syz-executor 7808 1751 766 0 N syz-executor 7807 1769 766 0 N syz-executor 7806 1858 766 0 N syz-executor 7805 4479 766 0 N syz-executor 7804 6758 766 0 D pfault 0xffffffff83003480 syz-executor 7803 6808 766 0 N syz-executor 7802 6374 766 0 N syz-executor 7801 7789 766 0 N syz-executor 7800 1653 766 0 N syz-executor 7799 3267 766 0 N syz-executor 7798 2679 766 0 N syz-executor 7797 3132 766 0 D fork 0xffffffff8280a101 syz-executor 7796 4462 766 0 N syz-executor 7795 3407 766 0 D fork 0xffffffff8280aserialport: VM disconnected.