[Bug 275009] panic: Assertion ti->ti_linestart < ti->ti_end failed

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Nov 2023 09:39:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275009

            Bug ID: 275009
           Summary: panic: Assertion ti->ti_linestart < ti->ti_end failed
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: pho@FreeBSD.org

write(2) sys call fuzzing. Easy to reproduce.

20231110 02:08:35 all (547/926): write2.sh
panic: Assertion ti->ti_linestart < ti->ti_end failed at
../../../kern/tty_inq.c:414
cpuid = 9
time = 1699578545
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0676128970
vpanic() at vpanic+0x132/frame 0xfffffe0676128aa0
panic() at panic+0x43/frame 0xfffffe0676128b00
ttyinq_unputchar() at ttyinq_unputchar+0x52/frame 0xfffffe0676128b10
ttydisc_rubchar() at ttydisc_rubchar+0x200/frame 0xfffffe0676128b70
ttydisc_rint() at ttydisc_rint+0x58d/frame 0xfffffe0676128bb0
ttydisc_rint_simple() at ttydisc_rint_simple+0x3f/frame 0xfffffe0676128be0
ptsdev_write() at ptsdev_write+0xde/frame 0xfffffe0676128d40
dofilewrite() at dofilewrite+0x82/frame 0xfffffe0676128d90
sys_write() at sys_write+0xc2/frame 0xfffffe0676128e00
amd64_syscall() at amd64_syscall+0x153/frame 0xfffffe0676128f30
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0676128f30
--- syscall (0, FreeBSD ELF64, syscall), rip = 0x822c4d2ca, rsp = 0x83b34ef48,
rbp = 0x83b34efc0 ---

Details @ https://people.freebsd.org/~pho/stress/log/log0495.txt

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