⬢ DragonFlyBSD Kernel Audit
DF-4184 / fix.2.log
← back to finding ↓ download raw
=== FIX VALIDATION RUN 2 (fix.diff applied; df_audit.pl=50 (valid page 0x32) + capfail=1:
===     exercises the in-bounds MODE SELECT and the clamped divisor) ===
opened /dev/acd0 fd=3 uid=0 euid=0
CDIOREADTOCHEADER: Input/output error
READTOCENTRYS data_len=0xffff -> ret=-1 errno=5 (Input/output error)
CDRIOCGETBLOCKSIZE -> ret=0 bs=2048
CDRIOCFIXATE -> ret=-1 errno=5 (Input/output error)     <-- final test_ready EIO (drive state)
survived (no panic)                                      <-- divisor clamp held (baseline = trap 18 panic)

kernel console:
DFAUDIT: CDRIOCFIXATE entered, multisession=2048
DFAUDIT: acd_fixate entered, calling mode_sense(0x05)
DFAUDIT: hook ccb0=5a ccb2=05 cnt=64 mode=1 capfail=1 err=5
DFAUDIT: forged MODE_SENSE(0x05) page_length=0xff  [print text static; pl tunable was 50]
DFAUDIT: hook ccb0=55 ccb2=00 cnt=60 mode=1 capfail=1 err=5   <-- MODE SELECT now 60 bytes, IN-BOUNDS (no over-read dump)
DFAUDIT: hook ccb0=5b ccb2=02 cnt=0 mode=1 capfail=1 err=5
DFAUDIT: forged CLOSE_TRACK success
DFAUDIT: hook ccb0=00 ccb2=00 cnt=0 mode=1 capfail=1 err=5   <-- test_ready != EBUSY -> division path taken, no trap
(guest uptime after run: up, load 0.00)