[ 223.2471967] panic: kernel diagnostic assertion "uvm_page_locked_p(pg)" failed: file "/syzkaller/managers/netbsd-kubsan/kernel/sys/arch/x86/x86/pmap.c", line 3526 [ 223.2662178] cpu0: Begin traceback... [ 223.2872225] vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 [ 223.3472913] kern_assert() at netbsd:kern_assert+0x63 [ 223.4173636] pmap_remove_pte() at netbsd:pmap_remove_pte+0x5a7 pmap_remove_pte sys/arch/x86/x86/pmap.c:3526 [inline] [ 223.4173636] pmap_remove_pte() at netbsd:pmap_remove_pte+0x5a7 sys/arch/x86/x86/pmap.c:3473 [ 223.4774249] pmap_remove() at netbsd:pmap_remove+0x36d pmap_remove_ptes sys/arch/x86/x86/pmap.c:3432 [inline] [ 223.4774249] pmap_remove() at netbsd:pmap_remove+0x36d sys/arch/x86/x86/pmap.c:3631 [ 223.5374894] uvm_unmap_remove() at netbsd:uvm_unmap_remove+0x7c1 sys/uvm/uvm_map.c:2317 [ 223.5975506] uvmspace_free() at netbsd:uvmspace_free+0x2e8 sys/uvm/uvm_map.c:4304 [ 223.6576147] uvm_proc_exit() at netbsd:uvm_proc_exit+0xf6 sys/uvm/uvm_glue.c:443 [ 223.7176771] exit1() at netbsd:exit1+0x4cb sys/kern/kern_exit.c:332 [ 223.7777436] sys_exit() at netbsd:sys_exit+0xba sys/kern/kern_exit.c:179 [ 223.8378067] syscall() at netbsd:syscall+0x29a sy_call sys/sys/syscallvar.h:65 [inline] [ 223.8378067] syscall() at netbsd:syscall+0x29a sy_invoke sys/sys/syscallvar.h:94 [inline] [ 223.8378067] syscall() at netbsd:syscall+0x29a sys/arch/x86/x86/syscall.c:138 [ 223.8578263] --- syscall (number 1) --- [ 223.8679360] Skipping crash dump on recursive panic [ 223.8679360] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:153:24, member access within misaligned address 0xffffffff for type 'struct x86_64_frame' which requires 8 byte alignment [ 223.8943126] Faulted in mid-traceback; aborting... [ 223.8991672] fatal breakpoint trap in supervisor mode [ 223.8991672] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x286 cr2 0x70fa640ee000 ilevel 0 rsp 0xffffd380b43d6da0 [ 223.9153085] curlwp 0xffffb4a1d21ac340 pid 6475.1 lowest kstack 0xffffd380b43d42c0 Stopped in pid 6475.1 (syz-executor.0) at netbsd:breakpoint+0x5: leave ? breakpoint() at netbsd:breakpoint+0x5 db_panic() at netbsd:db_panic+0xd1 sys/ddb/db_panic.c:67 vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 isAlreadyReported() at netbsd:isAlreadyReported HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0xcc HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408 db_nextframe() at netbsd:db_nextframe+0x6f6 sys/arch/amd64/amd64/db_machdep.c:153 db_stack_trace_print() at netbsd:db_stack_trace_print+0x2c4 sys/arch/x86/x86/db_trace.c:277 db_panic() at netbsd:db_panic+0x8b x86_curcpu sys/arch/amd64/compile/obj/GENERIC_SYZKALLER/./machine/cpu.h:67 [inline] db_panic() at netbsd:db_panic+0x8b sys/ddb/db_panic.c:57 vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 kern_assert() at netbsd:kern_assert+0x63 pmap_remove_pte() at netbsd:pmap_remove_pte+0x5a7 pmap_remove_pte sys/arch/x86/x86/pmap.c:3526 [inline] pmap_remove_pte() at netbsd:pmap_remove_pte+0x5a7 sys/arch/x86/x86/pmap.c:3473 pmap_remove() at netbsd:pmap_remove+0x36d pmap_remove_ptes sys/arch/x86/x86/pmap.c:3432 [inline] pmap_remove() at netbsd:pmap_remove+0x36d sys/arch/x86/x86/pmap.c:3631 uvm_unmap_remove() at netbsd:uvm_unmap_remove+0x7c1 sys/uvm/uvm_map.c:2317 uvmspace_free() at netbsd:uvmspace_free+0x2e8 sys/uvm/uvm_map.c:4304 uvm_proc_exit() at netbsd:uvm_proc_exit+0xf6 sys/uvm/uvm_glue.c:443 exit1() at netbsd:exit1+0x4cb sys/kern/kern_exit.c:332 sys_exit() at netbsd:sys_exit+0xba sys/kern/kern_exit.c:179 syscall() at netbsd:syscall+0x29a sy_call sys/sys/syscallvar.h:65 [inline] syscall() at netbsd:syscall+0x29a sy_invoke sys/sys/syscallvar.h:94 [inline] syscall() at netbsd:syscall+0x29a sys/arch/x86/x86/syscall.c:138 --- syscall (number 1) --- [ 223.9227667] Skipping crash dump on recursive panic [ 223.9227667] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:154:14, member access within misaligned address 0xffffffff for type 'struct x86_64_frame' which requires 8 byte alignment [ 223.9227667] Faulted in mid-traceback; aborting... [ 223.9227667] fatal breakpoint trap in supervisor mode [ 223.9227667] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x286 cr2 0x70fa640ee000 ilevel 0x8 rsp 0xffffd380b43d5aa0 [ 223.9227667] curlwp 0xffffb4a1d21ac340 pid 6475.1 lowest kstack 0xffffd380b43d42c0 Stopped in pid 6475.1 (syz-executor.0) at netbsd:breakpoint+0x5: leave