⬢ DragonFlyBSD Kernel Audit
DF-2343 / run1.log
← back to finding ↓ download raw
=== DF-2343/DF-2344 baseline (stock -O2 codegen) ===
DragonFly dfbsd 6.5-DEVELOPMENT DragonFly 6.5-DEVELOPMENT #1: Sun Oct 18 21:23:01 UTC 2026     root@dfbsd:/usr/obj/usr/src/sys/UMCSH  x86_64
hw.usb.ucom.cons_unit: -1
hw.usb.ucom.cons_baud: 9600
  rc=0 numports=0 divisor=0 clk=0x00 attached=0 rd=0 wr=0 oob_dword=0x00000000
  rc=0 numports=0 divisor=49664 clk=0x00 attached=0 rd=0 wr=0 oob_dword=0x00000000
  rc=0 numports=0 divisor=12 clk=0x00 attached=0 rd=0 wr=0 oob_dword=0x00000000
  rc=0 numports=0 divisor=1 clk=0x00 attached=0 rd=0 wr=0 oob_dword=0x00000000
  rc=0 numports=0 divisor=1 clk=0x30 attached=0 rd=0 wr=0 oob_dword=0x00000000
  rc=0 numports=0 divisor=1 clk=0x70 attached=0 rd=0 wr=0 oob_dword=0x00000000
--- calc via the REAL dispatch (pre_param inlines the range guard) ---
  rc=0 numports=0 divisor=0 clk=0x00 attached=0 rd=0 wr=0 oob_dword=0x00000000
  rc=0 numports=0 divisor=0 clk=0x00 attached=0 rd=0 wr=0 oob_dword=0x00000000
  rc=0 numports=0 divisor=0 clk=0x00 attached=0 rd=0 wr=0 oob_dword=0x00000000
--- DF-2344: sanity attach (GPIO read OK) ---
  rc=0 numports=4 divisor=0 clk=0x00 attached=0 rd=2 wr=0 oob_dword=0x00000000
  msg: attached, tty=ucom0
crw-rw----  1 uucp  dialer   33, 0x00000080 Oct 18 21:28 /dev/cuaU0.0
crw-rw----  1 uucp  dialer   33, 0x00000080 Oct 18 21:28 /dev/cuaU0.1
crw-rw----  1 uucp  dialer   33, 0x00000080 Oct 18 21:28 /dev/cuaU0.2
crw-rw----  1 uucp  dialer   33, 0x00000080 Oct 18 21:28 /dev/cuaU0.3
crw-------  1 root  wheel    33, 0x00000000 Oct 18 21:28 /dev/ttyU0.0
crw-------  1 root  wheel    33, 0x00000000 Oct 18 21:28 /dev/ttyU0.1
crw-------  1 root  wheel    33, 0x00000000 Oct 18 21:28 /dev/ttyU0.2
crw-------  1 root  wheel    33, 0x00000000 Oct 18 21:28 /dev/ttyU0.3
  rc=0 numports=0 divisor=0 clk=0x00 attached=0 rd=0 wr=0 oob_dword=0x00000000
  rc=0 numports=2 divisor=0 clk=0x00 attached=0 rd=2 wr=0 oob_dword=0x00000000
  msg: attached, tty=ucom0
  rc=0 numports=0 divisor=0 clk=0x00 attached=0 rd=0 wr=0 oob_dword=0x00000000
--- DF-2344: GPIO control transfer FAILS, stack groomed below the frame ---
  rc=0 numports=4 divisor=0 clk=0x00 attached=0 rd=2 wr=0 oob_dword=0x00000000
  msg: attached, tty=ucom0
  rc=0 numports=0 divisor=0 clk=0x00 attached=0 rd=0 wr=0 oob_dword=0x00000000
  rc=0 numports=2 divisor=0 clk=0x00 attached=0 rd=2 wr=0 oob_dword=0x00000000
  msg: attached, tty=ucom0
  rc=0 numports=0 divisor=0 clk=0x00 attached=0 rd=0 wr=0 oob_dword=0x00000000
  rc=0 numports=4 divisor=0 clk=0x00 attached=0 rd=2 wr=0 oob_dword=0x00000000
  msg: attached, tty=ucom0
  rc=0 numports=0 divisor=0 clk=0x00 attached=0 rd=0 wr=0 oob_dword=0x00000000
  rc=0 numports=2 divisor=0 clk=0x00 attached=0 rd=2 wr=0 oob_dword=0x00000000
  msg: attached, tty=ucom0
  rc=0 numports=0 divisor=0 clk=0x00 attached=0 rd=0 wr=0 oob_dword=0x00000000
--- DF-2343 claim (c): TIOCSETA with c_ospeed==0 is blocked ---
  rc=0 numports=4 divisor=0 clk=0x00 attached=0 rd=2 wr=0 oob_dword=0x00000000
  msg: attached, tty=ucom0
  rc=0 numports=0 divisor=0 clk=0x00 attached=0 rd=0 wr=0 oob_dword=0x00000000
tioc0: opening /dev/ttyU0.0 (uid=0), then TIOCSETA c_ospeed==0 variants
  current                      ispeed=0 ospeed=0 cflag=0x0
  TIOCSETA sane 19200               -> rc=0 errno=0 (OK)
  TIOCSETA ispeed=0 ospeed=0        -> rc=-1 errno=22 (Invalid argument)
  TIOCSETA ispeed=19200 ospeed=0    -> rc=-1 errno=22 (Invalid argument)
  TIOCSETA CIGNORE ispeed=0 ospeed=0 -> rc=0 errno=0 (OK)
  after variants               ispeed=19200 ospeed=19200 cflag=0x0
tioc0: still alive, no panic
tioc0: opening /dev/cuaU0.0 (uid=0), then TIOCSETA c_ospeed==0 variants
  current                      ispeed=19200 ospeed=0 cflag=0x0
  TIOCSETA sane 19200               -> rc=0 errno=0 (OK)
  TIOCSETA ispeed=0 ospeed=0        -> rc=-1 errno=22 (Invalid argument)
  TIOCSETA ispeed=19200 ospeed=0    -> rc=-1 errno=22 (Invalid argument)
  TIOCSETA CIGNORE ispeed=0 ospeed=0 -> rc=0 errno=0 (OK)
  after variants               ispeed=19200 ospeed=19200 cflag=0x0
tioc0: still alive, no panic
  rc=0 numports=0 divisor=0 clk=0x00 attached=0 rd=0 wr=0 oob_dword=0x00000000
--- DF-2343 trigger (1): unprivileged first open of cuaU0 (stock -O2) ---
  rc=0 numports=4 divisor=0 clk=0x00 attached=0 rd=2 wr=0 oob_dword=0x00000000
  msg: attached, tty=ucom0
uid=1001(maxx) gid=1001(maxx) groups=1001(maxx), 68(dialer)
crw-rw----  1 uucp  dialer   33, 0x00000080 Oct 18 21:28 /dev/cuaU0.0
crw-------  1 root  wheel    33, 0x00000000 Oct 18 21:28 /dev/ttyU0.0
ABOUT TO: su maxx -c firstopen /dev/cuaU0 (stock -O2: folded, expect NO panic)
/root/umcs/tioc0: Permission denied.
su rc=1
  rc=0 numports=0 divisor=0 clk=0x00 attached=0 rd=0 wr=0 oob_dword=0x00000000
RUN1_BASELINE_DONE