[ 119.8094324] 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 0xfffffffffffffffe [ 119.8266347] cpu0: Begin traceback... [ 119.8553710] vpanic() at netbsd:vpanic+0x2f2 sys/kern/subr_prf.c:293 [ 119.9653742] Report() at netbsd:Report+0x3b sys/../common/lib/libc/misc/ubsan.c:1352 [ 120.0453700] HandlePointerOverflow() at netbsd:HandlePointerOverflow+0xd2 sys/../common/lib/libc/misc/ubsan.c:706 [ 120.1253688] sys_rasctl() at netbsd:sys_rasctl+0x641 ras_install sys/kern/kern_ras.c:183 [inline] [ 120.1253688] sys_rasctl() at netbsd:sys_rasctl+0x641 sys/kern/kern_ras.c:288 [ 120.1953695] sys___syscall() at netbsd:sys___syscall+0x2f7 sy_call sys/sys/syscallvar.h:65 [inline] [ 120.1953695] sys___syscall() at netbsd:sys___syscall+0x2f7 sys/kern/sys_syscall.c:103 [ 120.2753686] syscall() at netbsd:syscall+0x2da sy_call sys/sys/syscallvar.h:65 [inline] [ 120.2753686] syscall() at netbsd:syscall+0x2da sy_invoke sys/sys/syscallvar.h:94 [inline] [ 120.2753686] syscall() at netbsd:syscall+0x2da sys/arch/x86/x86/syscall.c:138 [ 120.2953690] --- syscall (number 343 via SYS_syscall) --- [ 120.3153692] netbsd:syscall+0x2da: [ 120.3254988] cpu0: End traceback... [ 120.3254988] fatal breakpoint trap in supervisor mode [ 120.3254988] trap type 1 code 0 rip 0xffffffff80221ab5 cs 0x8 rflags 0x246 cr2 0x72b75e7e9bd0 ilevel 0 rsp 0xffffdd80d14a59a0 [ 120.3452341] curlwp 0xffffb9c4baa28a40 pid 9194.9662 lowest kstack 0xffffdd80d14a12c0 [ 120.3529420] Skipping crash dump on recursive panic [ 120.3529420] 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' [ 120.3529420] cpu0: Begin traceback... [ 120.3529420] vpanic() at netbsd:vpanic+0x2f2 sys/kern/subr_prf.c:293 [ 120.3529420] Report() at netbsd:Report+0x3b sys/../common/lib/libc/misc/ubsan.c:1352 [ 120.3529420] HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x1fb sys/../common/lib/libc/misc/ubsan.c:429 [ 120.3529420] genfb_enable_polling() at netbsd:genfb_enable_polling+0x17e sys/dev/wsfb/genfb.c:988 [ 120.3529420] x86_genfb_ddb_trap_callback() at netbsd:x86_genfb_ddb_trap_callback+0x39 sys/arch/x86/x86/genfb_machdep.c:97 [ 120.3529420] db_trap() at netbsd:db_trap+0x68 sys/ddb/db_trap.c:73 [ 120.3529420] kdb_trap() at netbsd:kdb_trap+0x1aa sys/arch/amd64/amd64/db_interface.c:251 [ 120.3529420] trap() at netbsd:trap+0x5b2 sys/arch/amd64/amd64/trap.c:315 [ 120.3529420] --- trap (number 1) --- [ 120.3529420] breakpoint() at netbsd:breakpoint+0x5 [ 120.3529420] db_panic() at netbsd:db_panic+0xec sys/ddb/db_panic.c:69 [ 120.3529420] vpanic() at netbsd:vpanic+0x2f2 sys/kern/subr_prf.c:293 [ 120.3529420] Report() at netbsd:Report+0x3b sys/../common/lib/libc/misc/ubsan.c:1352 [ 120.3529420] HandlePointerOverflow() at netbsd:HandlePointerOverflow+0xd2 sys/../common/lib/libc/misc/ubsan.c:706 [ 120.3529420] sys_rasctl() at netbsd:sys_rasctl+0x641 ras_install sys/kern/kern_ras.c:183 [inline] [ 120.3529420] sys_rasctl() at netbsd:sys_rasctl+0x641 sys/kern/kern_ras.c:288 [ 120.3529420] sys___syscall() at netbsd:sys___syscall+0x2f7 sy_call sys/sys/syscallvar.h:65 [inline] [ 120.3529420] sys___syscall() at netbsd:sys___syscall+0x2f7 sys/kern/sys_syscall.c:103 [ 120.3529420] syscall() at netbsd:syscall+0x2da sy_call sys/sys/syscallvar.h:65 [inline] [ 120.3529420] syscall() at netbsd:syscall+0x2da sy_invoke sys/sys/syscallvar.h:94 [inline] [ 120.3529420] syscall() at netbsd:syscall+0x2da sys/arch/x86/x86/syscall.c:138 [ 120.3529420] --- syscall (number 343 via SYS_syscall) --- [ 120.3529420] netbsd:syscall+0x2da: [ 120.3529420] cpu0: End traceback... [ 120.3529420] fatal breakpoint trap in supervisor mode [ 120.3529420] trap type 1 code 0 rip 0xffffffff80221ab5 cs 0x8 rflags 0x246 cr2 0x72b75e7e9bd0 ilevel 0x8 rsp 0xffffdd80d14a5070 [ 120.3529420] curlwp 0xffffb9c4baa28a40 pid 9194.9662 lowest kstack 0xffffdd80d14a12c0 [ 120.3529420] uvm_fault(0xffffb9c4b93e5480, 0x0, 1) -> e [ 120.3529420] fatal page fault in supervisor mode [ 120.3529420] trap type 6 code 0 rip 0xffffffff830b6b1b cs 0x8 rflags 0x10217 cr2 0x1e8 ilevel 0x8 rsp 0xffffdd80d14a4ca0 [ 120.3529420] curlwp 0xffffb9c4baa28a40 pid 9194.9662 lowest kstack 0xffffdd80d14a12c0 kernel: page fault trap, code=0 [ 120.3529420] uvm_fault(0xffffb9c4b93e5480, 0x0, 1) -> e [ 120.3529420] fatal page fault in supervisor mode [ 120.3529420] trap type 6 code 0 rip 0xffffffff830b6b1b cs 0x8 rflags 0x10217 cr2 0x1e8 ilevel 0x8 rsp 0xffffdd80d14a48d0 [ 120.3529420] curlwp 0xffffb9c4baa28a40 pid 9194.9662 lowest kstack 0xffffdd80d14a12c0 kernel: page fault trap, code=0 [ 120.3529420] uvm_fault(0xffffb9c4b93e5480, 0x0, 1) -> e [ 120.3529420] fatal page fault in supervisor mode [ 120.3529420] trap type 6 code 0 rip 0xffffffff830b6b1b cs 0x8 rflags 0x10217 cr2 0x1e8 ilevel 0x8 rsp 0xffffdd80d14a4500 [ 120.3529420] curlwp 0xffffb9c4baa28a40 pid 9194.9662 lowest kstack 0xffffdd80d14a12c0 kernel: page fault trap, code=0 [ 120.3529420] uvm_fault(0xffffb9c4b93e5480, 0x0, 1) -> e [ 120.3529420] fatal page fault in supervisor mode [ 120.3529420] trap type 6 code 0 rip 0xffffffff830b6b1b cs 0x8 rflags 0x10217 cr2 0x1e8 ilevel 0x8 rsp 0xffffdd80d14a4130 [ 120.3529420] curlwp 0xffffb9c4baa28a40 pid 9194.9662 lowest kstack 0xffffdd80d14a12c0 kernel: page fault trap, code=0 [ 120.3529420] uvm_fault(0xffffb9c4b93e5480, 0x0, 1) -> e [ 120.3529420] fatal page fault in supervisor mode [ 120.3529420] trap type 6 code 0 rip 0xffffffff830b6b1b cs 0x8 rflags 0x10217 cr2 0x1e8 ilevel 0x8 rsp 0xffffdd80d14a3d60 [ 120.3529420] curlwp 0xffffb9c4baa28a40 pid 9194.9662 lowest kstack 0xffffdd80d14a12c0 kernel: page fault trap, code=0 [ 120.3529420] uvm_fault(0xffffb9c4b93e5480, 0x0, 1) -> e [ 120.3529420] fatal page fault in supervisor mode [ 120.3529420] trap type 6 code 0 rip 0xffffffff830b6b1b cs 0x8 rflags 0x10217 cr2 0x1e8 ilevel 0x8 rsp 0xffffdd80d14a3990 [ 120.3529420] curlwp 0xffffb9c4baa28a40 pid 9194.9662 lowest kstack 0xffffdd80d14a12c0 kernel: page fault trap, code=0