⬢ DragonFlyBSD Kernel Audit
DF-3784 / manifest.json
← back to finding ↓ download raw
{
  "finding_id": "DF-3784",
  "title": "vbi_read() truncates the 64-bit read length to int -> negative readsize -> uiomove of ~2 GiB of kernel memory to userspace",
  "severity": "High",
  "verdict": "reproduced",
  "impact": "leak",
  "confidence": "certain",
  "reproduce": {
    "build": "sh build.sh",
    "run": "sh run.sh",
    "expected": "run.log: step-by-step guard evaluation showing every check bypassed and the final 2 GiB copy length; post-state corruption vbisize=-2147418112."
  },
  "kernel_refs": [
    "sys/dev/video/bktr/bktr_core.c:1159",
    "sys/dev/video/bktr/bktr_core.c:1161",
    "sys/dev/video/bktr/bktr_core.c:1165",
    "sys/dev/video/bktr/bktr_core.c:1177",
    "sys/kern/kern_subr.c:uiomove",
    "sys/kern/sys_generic.c:136"
  ],
  "artifacts": [
    "harness_vbi_read.c",
    "poc_vbi_read_leak.c",
    "build.log",
    "run.log",
    "env.txt",
    "poc_build_and_device_check.log",
    "fix.diff",
    "VERDICT.md",
    "manifest.json",
    "verdict.json"
  ]
}