[ 1.7639385] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/x86/x86/pmap.c:545:9, member access within null pointer of type 'struct pv_entry' [ 1.7746571] cpu1: Begin traceback... [ 1.7839794] vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 [ 1.8047084] isAlreadyReported() at netbsd:isAlreadyReported [ 1.8345504] HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0x15b [ 1.8547965] HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408 [ 1.8844625] pmap_pp_clear_attrs() at netbsd:pmap_pp_clear_attrs+0x2fb pve_to_pvpte sys/arch/x86/x86/pmap.c:545 [inline] [ 1.8844625] pmap_pp_clear_attrs() at netbsd:pmap_pp_clear_attrs+0x2fb pv_pte_first sys/arch/x86/x86/pmap.c:567 [inline] [ 1.8844625] pmap_pp_clear_attrs() at netbsd:pmap_pp_clear_attrs+0x2fb sys/arch/x86/x86/pmap.c:3930 [ 1.9049783] genfs_getpages() at netbsd:genfs_getpages+0x1fdd sys/miscfs/genfs/genfs_io.c:479 [ 1.9244032] VOP_GETPAGES() at netbsd:VOP_GETPAGES+0x14b sys/kern/vnode_if.c:1596 [ 1.9543193] uvn_get() at netbsd:uvn_get+0x1d4 sys/uvm/uvm_vnode.c:187 [ 1.9844869] ubc_fault() at netbsd:ubc_fault+0x41a sys/uvm/uvm_bio.c:388 [ 2.0050068] uvm_fault_internal() at netbsd:uvm_fault_internal+0x1026 sys/uvm/uvm_fault.c:890 [ 2.0248364] trap() at netbsd:trap+0xe45 sys/arch/amd64/amd64/trap.c:538 [ 2.0349231] --- trap (number 6) --- [ 2.0546062] kcopy() at netbsd:kcopy+0x15 [ 2.0751654] uiomove() at netbsd:uiomove+0xd3 sys/kern/subr_copy.c:132 [ 2.0945999] ubc_uiomove() at netbsd:ubc_uiomove+0x1c0 sys/uvm/uvm_bio.c:751 [ 2.1146821] ffs_read() at netbsd:ffs_read+0x334 sys/ufs/ufs/ufs_readwrite.c:110 [ 2.1346786] VOP_READ() at netbsd:VOP_READ+0x11b sys/kern/vnode_if.c:470 [ 2.1648146] vn_rdwr() at netbsd:vn_rdwr+0x196 sys/kern/vfs_vnops.c:463 [ 2.1851970] check_exec() at netbsd:check_exec+0x547 sys/kern/kern_exec.c:443 [ 2.2052978] execve_loadvm() at netbsd:execve_loadvm+0x830 sys/kern/kern_exec.c:822 [ 2.2254873] execve1() at netbsd:execve1+0x74 sys/kern/kern_exec.c:1419 [ 2.2549205] sys_execve() at netbsd:sys_execve+0x4f sys/kern/kern_exec.c:588 [ 2.2752517] start_init() at netbsd:start_init+0x400 sys/kern/init_main.c:1104 [ 2.2853259] cpu1: End traceback... [ 2.2853259] fatal breakpoint trap in supervisor mode [ 2.2955643] trap type 1 code 0 rip 0xffffffff8021dddd cs 0x8 rflags 0x286 cr2 0xffff8a80a5c64000 ilevel 0 rsp 0xffff8a80a68ae950 [ 2.3056455] curlwp 0xffffeb92f43dfa60 pid 1.1 lowest kstack 0xffff8a80a68ac2c0 Stopped in pid 1.1 (init) at netbsd:breakpoint+0x5: leave db{1}>