[ 1.8144466] 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.8367666] cpu0: Begin traceback... [ 1.8367666] vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 [ 1.8589428] isAlreadyReported() at netbsd:isAlreadyReported [ 1.8811924] HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0x15b [ 1.9034424] HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408 [ 1.9256930] pmap_pp_clear_attrs() at netbsd:pmap_pp_clear_attrs+0x2fb pve_to_pvpte sys/arch/x86/x86/pmap.c:545 [inline] [ 1.9256930] pmap_pp_clear_attrs() at netbsd:pmap_pp_clear_attrs+0x2fb pv_pte_first sys/arch/x86/x86/pmap.c:567 [inline] [ 1.9256930] pmap_pp_clear_attrs() at netbsd:pmap_pp_clear_attrs+0x2fb sys/arch/x86/x86/pmap.c:3930 [ 1.9479411] genfs_getpages() at netbsd:genfs_getpages+0x1fdd sys/miscfs/genfs/genfs_io.c:479 [ 1.9701900] VOP_GETPAGES() at netbsd:VOP_GETPAGES+0x14b sys/kern/vnode_if.c:1596 [ 1.9924423] uvn_get() at netbsd:uvn_get+0x1d4 sys/uvm/uvm_vnode.c:187 [ 2.0146904] ubc_fault() at netbsd:ubc_fault+0x41a sys/uvm/uvm_bio.c:388 [ 2.0369396] uvm_fault_internal() at netbsd:uvm_fault_internal+0x1026 sys/uvm/uvm_fault.c:890 [ 2.0480634] trap() at netbsd:trap+0xe45 sys/arch/amd64/amd64/trap.c:538 [ 2.0591876] --- trap (number 6) --- [ 2.0703169] kcopy() at netbsd:kcopy+0x15 [ 2.0925637] uiomove() at netbsd:uiomove+0xd3 sys/kern/subr_copy.c:132 [ 2.1036875] ubc_uiomove() at netbsd:ubc_uiomove+0x1c0 sys/uvm/uvm_bio.c:751 [ 2.1259382] ffs_read() at netbsd:ffs_read+0x334 sys/ufs/ufs/ufs_readwrite.c:110 [ 2.1481887] VOP_READ() at netbsd:VOP_READ+0x11b sys/kern/vnode_if.c:470 [ 2.1593112] vn_rdwr() at netbsd:vn_rdwr+0x196 sys/kern/vfs_vnops.c:463 [ 2.1815620] check_exec() at netbsd:check_exec+0x547 sys/kern/kern_exec.c:443 [ 2.2038141] execve_loadvm() at netbsd:execve_loadvm+0x830 sys/kern/kern_exec.c:822 [ 2.2260621] execve1() at netbsd:execve1+0x74 sys/kern/kern_exec.c:1419 [ 2.2371842] sys_execve() at netbsd:sys_execve+0x4f sys/kern/kern_exec.c:588 [ 2.2594357] start_init() at netbsd:start_init+0x400 sys/kern/init_main.c:1104 [ 2.2705604] cpu0: End traceback... [ 2.2705604] fatal breakpoint trap in supervisor mode [ 2.2832882] trap type 1 code 0 rip 0xffffffff8021dddd cs 0x8 rflags 0x286 cr2 0xffffc380a5c64000 ilevel 0 rsp 0xffffc380a68a9950 [ 2.2984571] curlwp 0xfffff0e34ffcf620 pid 1.1 lowest kstack 0xffffc380a68a72c0 Stopped in pid 1.1 (init) at netbsd:breakpoint+0x5: leave db{0}>