[ 91.1272832] panic: UBSan: Undefined Behavior in /syzkaller/managers/ci2-netbsd-kubsan/kernel/sys/kern/kern_ras.c:183:10, pointer expression with base 0 overflowed to 0xfffffffffffffff7 [ 91.1472640] cpu1: Begin traceback... [ 91.1772649] vpanic() at netbsd:vpanic+0x2f2 sys/kern/subr_prf.c:293 [ 91.2872647] Report() at netbsd:Report+0x3b sys/../common/lib/libc/misc/ubsan.c:1352 [ 91.3772664] HandlePointerOverflow() at netbsd:HandlePointerOverflow+0xd2 sys/../common/lib/libc/misc/ubsan.c:706 [ 91.4472649] sys_rasctl() at netbsd:sys_rasctl+0x641 ras_install sys/kern/kern_ras.c:183 [inline] [ 91.4472649] sys_rasctl() at netbsd:sys_rasctl+0x641 sys/kern/kern_ras.c:288 [ 91.5272658] sys___syscall() at netbsd:sys___syscall+0x1e4 sy_call sys/sys/syscallvar.h:65 [inline] [ 91.5272658] sys___syscall() at netbsd:sys___syscall+0x1e4 sys/kern/sys_syscall.c:90 [ 91.6072670] syscall() at netbsd:syscall+0x2da sy_call sys/sys/syscallvar.h:65 [inline] [ 91.6072670] syscall() at netbsd:syscall+0x2da sy_invoke sys/sys/syscallvar.h:94 [inline] [ 91.6072670] syscall() at netbsd:syscall+0x2da sys/arch/x86/x86/syscall.c:138 [ 91.6272676] --- syscall (number 343 via SYS_syscall) --- [ 91.6472670] netbsd:syscall+0x2da: [ 91.6572666] cpu1: End traceback... [ 91.6572666] fatal breakpoint trap in supervisor mode [ 91.6672656] trap type 1 code 0 rip 0xffffffff80221ab5 cs 0x8 rflags 0x246 cr2 0x7891e420ffa8 ilevel 0 rsp 0xffff9680c80fb9a0 [ 91.6772651] curlwp 0xffffc988b27ac580 pid 673.931 lowest kstack 0xffff9680c80f72c0 [ 91.6772651] Skipping crash dump on recursive panic [ 91.6772651] panic: UBSan: Undefined Behavior in /syzkaller/managers/ci2-netbsd-kubsan/kernel/sys/dev/wsfb/genfb.c:988:28, member access within null pointer of type 'struct genfb_private' [ 91.6772651] cpu1: Begin traceback... [ 91.6772651] vpanic() at netbsd:vpanic+0x2f2 sys/kern/subr_prf.c:293 [ 91.6772651] Report() at netbsd:Report+0x3b sys/../common/lib/libc/misc/ubsan.c:1352 [ 91.6772651] HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x1fb sys/../common/lib/libc/misc/ubsan.c:429 [ 91.6772651] genfb_enable_polling() at netbsd:genfb_enable_polling+0x17e sys/dev/wsfb/genfb.c:988 [ 91.6772651] x86_genfb_ddb_trap_callback() at netbsd:x86_genfb_ddb_trap_callback+0x39 sys/arch/x86/x86/genfb_machdep.c:97 [ 91.6772651] db_trap() at netbsd:db_trap+0x68 sys/ddb/db_trap.c:73 [ 91.6772651] kdb_trap() at netbsd:kdb_trap+0x1aa sys/arch/amd64/amd64/db_interface.c:251 [ 91.6772651] trap() at netbsd:trap+0x5b2 sys/arch/amd64/amd64/trap.c:315 [ 91.6772651] --- trap (number 1) --- [ 91.6772651] breakpoint() at netbsd:breakpoint+0x5 [ 91.6772651] db_panic() at netbsd:db_panic+0xec sys/ddb/db_panic.c:69 [ 91.6772651] vpanic() at netbsd:vpanic+0x2f2 sys/kern/subr_prf.c:293 [ 91.6772651] Report() at netbsd:Report+0x3b sys/../common/lib/libc/misc/ubsan.c:1352 [ 91.6772651] HandlePointerOverflow() at netbsd:HandlePointerOverflow+0xd2 sys/../common/lib/libc/misc/ubsan.c:706 [ 91.6772651] sys_rasctl() at netbsd:sys_rasctl+0x641 ras_install sys/kern/kern_ras.c:183 [inline] [ 91.6772651] sys_rasctl() at netbsd:sys_rasctl+0x641 sys/kern/kern_ras.c:288 [ 91.6772651] sys___syscall() at netbsd:sys___syscall+0x1e4 sy_call sys/sys/syscallvar.h:65 [inline] [ 91.6772651] sys___syscall() at netbsd:sys___syscall+0x1e4 sys/kern/sys_syscall.c:90 [ 91.6772651] syscall() at netbsd:syscall+0x2da sy_call sys/sys/syscallvar.h:65 [inline] [ 91.6772651] syscall() at netbsd:syscall+0x2da sy_invoke sys/sys/syscallvar.h:94 [inline] [ 91.6772651] syscall() at netbsd:syscall+0x2da sys/arch/x86/x86/syscall.c:138 [ 91.6772651] --- syscall (number 343 via SYS_syscall) --- [ 91.6772651] netbsd:syscall+0x2da: [ 91.6772651] cpu1: End traceback... [ 91.6772651] fatal breakpoint trap in supervisor mode [ 91.6772651] trap type 1 code 0 rip 0xffffffff80221ab5 cs 0x8 rflags 0x246 cr2 0x7891e420ffa8 ilevel 0x8 rsp 0xffff9680c80fb070 [ 91.6772651] curlwp 0xffffc988b27ac580 pid 673.931 lowest kstack 0xffff9680c80f72c0 [ 91.6772651] uvm_fault(0xffffc988a4f011a8, 0x0, 1) -> e [ 91.6772651] fatal page fault in supervisor mode [ 91.6772651] trap type 6 code 0 rip 0xffffffff830b6b1b cs 0x8 rflags 0x10217 cr2 0x1e8 ilevel 0x8 rsp 0xffff9680c80faca0 [ 91.6772651] curlwp 0xffffc988b27ac580 pid 673.931 lowest kstack 0xffff9680c80f72c0 kernel: page fault trap, code=0 [ 91.6772651] uvm_fault(0xffffc988a4f011a8, 0x0, 1) -> e [ 91.6772651] fatal page fault in supervisor mode [ 91.6772651] trap type 6 code 0 rip 0xffffffff830b6b1b cs 0x8 rflags 0x10217 cr2 0x1e8 ilevel 0x8 rsp 0xffff9680c80fa8d0 [ 91.6772651] curlwp 0xffffc988b27ac580 pid 673.931 lowest kstack 0xffff9680c80f72c0 kernel: page fault trap, code=0 [ 91.6772651] uvm_fault(0xffffc988a4f011a8, 0x0, 1) -> e [ 91.6772651] fatal page fault in supervisor mode [ 91.6772651] trap type 6 code 0 rip 0xffffffff830b6b1b cs 0x8 rflags 0x10217 cr2 0x1e8 ilevel 0x8 rsp 0xffff9680c80fa500 [ 91.6772651] curlwp 0xffffc988b27ac580 pid 673.931 lowest kstack 0xffff9680c80f72c0 kernel: page fault trap, code=0 [ 91.6772651] uvm_fault(0xffffc988a4f011a8, 0x0, 1) -> e [ 91.6772651] fatal page fault in supervisor mode [ 91.6772651] trap type 6 code 0 rip 0xffffffff830b6b1b cs 0x8 rflags 0x10217 cr2 0x1e8 ilevel 0x8 rsp 0xffff9680c80fa130 [ 91.6772651] curlwp 0xffffc988b27ac580 pid 673.931 lowest kstack 0xffff9680c80f72c0 kernel: page fault trap, code=0 [ 91.6772651] uvm_fault(0xffffc988a4f011a8, 0x0, 1) -> e [ 91.6772651] fatal page fault in supervisor mode [ 91.6772651] trap type 6 code 0 rip 0xffffffff830b6b1b cs 0x8 rflags 0x10217 cr2 0x1e8 ilevel 0x8 rsp 0xffff9680c80f9d60 [ 91.6772651] curlwp 0xffffc988b27ac580 pid 673.931 lowest kstack 0xffff9680c80f72c0 kernel: page fault trap, code=0 [ 91.6772651] uvm_fault(0xffffc988a4f011a8, 0x0, 1) -> e [ 91.6772651] fatal page fault in supervisor mode [ 91.6772651] trap type 6 code 0 rip 0xffffffff830b6b1b cs 0x8 rflags 0x10217 cr2 0x1e8 ilevel 0x8 rsp 0xffff9680c80f9990 [ 91.6772651] curlwp 0xffffc988b27ac580 pid 673.931 lowest kstack 0xffff9680c80f72c0 kernel: page fault trap, code=0