⬢ DragonFlyBSD Kernel Audit
DF-4679 / run.log
← back to finding ↓ download raw
>>> BASELINE build (pristine :475 logic) <<<
== G4X garbage reserved base (0xABC -> 0x0ABC0000) ==
  stolen (dsm)          : [0xd00000..0x2cfffff] (32 MiB)
  reserved base (reg)   : 0xabc00000   size(raw u64): 0xffffffff57100000
  resource_contains     : PASS
  stolen_usable_size    : 2867855360 (85.47x the real 33554432)
  worst-case alloc phys : dsm.start+usable-1 = 0xabbfffff (dsm.end=0x2cfffff => OUTSIDE stolen)
  DF-4679 REPRODUCED: reserved base above stolen_top wraps u64 size; containment check (:485) PASSES via end-wrap; drm_mm initialized with 2867855360 bytes (85.47x real) => allocations beyond dsm.end => OOB physical memory
== G4X sane reserved base (top 1 MiB of stolen) ==
  stolen (dsm)          : [0xd00000..0x2cfffff] (32 MiB)
  reserved base (reg)   : 0x2c00000   size(raw u64): 0x100000
  resource_contains     : PASS
  stolen_usable_size    : 32505856 (0.97x the real 33554432)
  worst-case alloc phys : dsm.start+usable-1 = 0x2bfffff (dsm.end=0x2cfffff => inside stolen)
  (control: sane firmware base => usable < real; behavior normal)
== BDW garbage reserved base (0xFFF -> 0xFFF00000) ==
  stolen (dsm)          : [0x40000000..0x41ffffff] (32 MiB)
  reserved base (reg)   : 0xfff00000   size(raw u64): 0xffffffff42100000
  resource_contains     : PASS
  stolen_usable_size    : 3220176896 (95.97x the real 33554432)
  worst-case alloc phys : dsm.start+usable-1 = 0xffefffff (dsm.end=0x41ffffff => OUTSIDE stolen)
  DF-4679 REPRODUCED: reserved base above stolen_top wraps u64 size; containment check (:485) PASSES via end-wrap; drm_mm initialized with 3220176896 bytes (95.97x real) => allocations beyond dsm.end => OOB physical memory

RESULT: ALL CASES OK