[Bug 277329] SA-24:02.tty causes kernel panic

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 26 Feb 2024 12:39:34 UTC

            Bug ID: 277329
           Summary: SA-24:02.tty causes kernel panic
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: lhersch@dssgmbh.de

The error does not occur with the default /etc/ttys. However, I have set ttyv0
to off. Then you can provoke the crash in a stable way by calling sysctl -A

<kern.crit> dsspkg kernel
<kern.crit> dsspkg syslogd last message repeated 1 times
<kern.crit> dsspkg kernel Fatal trap 12: page fault while in kernel mode
<kern.crit> dsspkg kernel cpuid = 39; apic id = 39
<kern.crit> dsspkg kernel fault virtual address = 0x140
<kern.crit> dsspkg kernel fault code            = supervisor write data, page
not present
<kern.crit> dsspkg kernel instruction pointer   = 0x20:0xffffffff80be7401
<kern.crit> dsspkg kernel stack pointer         = 0x28:0xfffffe05d11d5b90
<kern.crit> dsspkg kernel frame pointer         = 0x28:0xfffffe05d11d5bd0
<kern.crit> dsspkg kernel code segment          = base 0x0, limit 0xfffff, type
<kern.crit> dsspkg kernel                       = DPL 0, pres 1, long 1, def32
0, gran 1
<kern.crit> dsspkg kernel processor eflags      = interrupt enabled, resume,
IOPL = 0
<kern.crit> dsspkg kernel current process               = 86235 (sysctl)
<kern.crit> dsspkg kernel rdi: fffff801070bcc00 rsi: fffff8035ca9fc00 rdx:

You are receiving this mail because:
You are the assignee for the bug.