⬢ DragonFlyBSD Kernel Audit
DF-3785 / manifest.json
← back to finding ↓ download raw
{
  "finding_id": "DF-3785",
  "title": "BT848_REEPROM: signed (offset+count) guard bypass -> readEEProm writes up to 32767 bytes into eeProm.bytes[256] (~32 KiB kernel heap overflow of the ioctl argument)",
  "severity": "High",
  "verdict": "reproduced",
  "impact": "dos",
  "confidence": "certain",
  "reproduce": {
    "build": "sh build.sh",
    "run": "sh run.sh",
    "expected": "run.log: guard evaluation (256 > 256 = false -> PASSES) and the 32511-bytes-past-buffer result; canary inspection."
  },
  "kernel_refs": [
    "sys/dev/video/bktr/bktr_core.c:2086",
    "sys/dev/video/bktr/bktr_card.c:433",
    "sys/dev/video/bktr/bktr_card.c:441",
    "sys/dev/video/bktr/ioctl_bt848.h:93",
    "sys/kern/sys_generic.c:687"
  ],
  "artifacts": [
    "harness_eeprom.c",
    "poc_eeprom_overflow.c",
    "build.log",
    "run.log",
    "env.txt",
    "poc_build_and_device_check.log",
    "fix.diff",
    "VERDICT.md",
    "manifest.json",
    "verdict.json"
  ]
}