⬢ DragonFlyBSD Kernel Audit
DF-4781 / run.log
← back to finding ↓ download raw
# run.log — DF-4781 (serial console / dmesg, decisive run)
# baseline: module load works, devices created 0600 root:wheel
#   kldload dcons ; ls -l /dev/dcons /dev/dgdb
#   crw-------  1 root wheel  32, 0x00000000 /dev/dcons
#   crw-------  1 root wheel  32, 0x00000001 /dev/dgdb
#
# negative control (mode 0), previous boot:
dconsnull: loaded, mode=0
dconsnull: NEGCTRL init+putc OK, checkc=<-1 as %c>
#
# decisive run (mode 1):
kenv dconsnull.mode=1
kldload /root/dconsrig/dconsnull.ko
dconsnull: loaded, mode=1
dconsnull: DF-4781: calling dcons_init(NULL, 16384, sc) -- unchecked contigmalloc sink
Fatal user address access from kernel mode from kldload at ffffffff82600083

Fatal trap 12: page fault while in kernel mode
cpuid = 4; lapic id = 4
fault virtual address	= 0x14
fault code		= supervisor write data, page not present
instruction pointer	= 0x8:0xffffffff82600083
kernel: type 12 trap, code=2
Stopped at      dcons_init_port+0x83:   movl    %edi,0x14(%rcx)
db>