⬢ DragonFlyBSD Kernel Audit
DF-4917 / manifest.json
← back to finding ↓ download raw
{
  "finding": "DF-4917",
  "title": "vf2pf checksum computed over pf2vf_size bytes instead of sizeof(amdgim_vf2pf_info): OOB read past 1KB struct + wrong protocol checksum",
  "file": "sys/dev/drm/amd/amdgpu/amdgpu_virt.c",
  "verdict": "not_reproduced",
  "impact": "none",
  "severity": "Low",
  "confidence": "certain",
  "reproduce": {
    "build": "n/a - requires SR-IOV VF AMD GPU guest (hardware absent from audit guest)",
    "run": "host writes pf2vf message with size=4095 + valid checksum; guest kldload amdgpu (see trigger.md)",
    "expected": "checksum loop reads ~3KB past the vf2pf struct (amdgpu_virt.c:383); PF rejects vf2pf message; OOB fault only with tight reservation"
  },
  "kernel_refs": [
    "sys/dev/drm/amd/amdgpu/amdgpu_virt.c:383",
    "sys/dev/drm/amd/amdgpu/amdgpu_virt.c:435",
    "sys/dev/drm/amd/amdgpu/amdgpu_virt.h:209"
  ],
  "artifacts": [
    "README.md", "VERDICT.md", "trigger.md", "env.txt", "verdict.json", "manifest.json"
  ]
}