⬢ DragonFlyBSD Kernel Audit
DF-4609 / verdict.json
← back to finding ↓ download raw
{
  "finding_id": "DF-4609",
  "poc_id": "DF-4609",
  "status": "untested",
  "reproduced": 0,
  "impact": "Negligible standalone: a kernel-stack garbage value gates a bounds decision on an IB that is then rejected before any execution; hardening correctness issue",
  "confidence": "likely",
  "attempts": 0,
  "guest_uname": null,
  "code_hash": null,
  "exploit_chain": [],
  "evidence": "size points to an uninitialized tmp and the session_idx check runs AFTER the command switch, so the first encode/context command passes garbage into cs_relocs size comparison before the EINVAL. The rejected IB frees the patched memory - no executed command depends on it. Low/Info; no pack per contract.",
  "kernel_refs": [
    "sys/dev/drm/radeon/radeon_vce.c:561",
    "sys/dev/drm/radeon/radeon_vce.c:602",
    "sys/dev/drm/radeon/radeon_vce.c:616",
    "sys/dev/drm/radeon/radeon_vce.c:632",
    "sys/dev/drm/radeon/radeon_vce.c:659"
  ],
  "verdict": "not_run: Low hardening; comparison-only sink on a doomed IB",
  "fix_status": "not_testable",
  "fix_baseline_reproduced": 0,
  "fix_patched_reproduced": 0,
  "fix_verdict": "not_testable",
  "fix_evidence": "init tmp=0 and/or hoist the session_idx check before the switch in finding markdown"
}