{
  "finding_id": "DF-4855",
  "title": "agp_amd64_attach error exits leak GATT + aperture resource and leave live /dev/agpgart on an unattached device",
  "verdict": "not_reproduced",
  "impact": "none",
  "reproduce": {
    "build": "cc -O -o agp_orphan agp_orphan.c   (guest: /tmp/df4855)",
    "run": "./agp_orphan   (as root and as nobody)",
    "expected": "On affected hardware (ULi M1689 with >=512MB or nForce3 with >=1GB BIOS AGP aperture): open succeeds on an unattached device after a failed attach, ALLOCATE/BIND write into a GATT never installed in HW; here (QEMU i440FX): open(/dev/agpgart) -> ENOENT, agp_amd64 never probed a device"
  },
  "kernel_refs": [
    "sys/dev/agp/agp_amd64.c:183",
    "sys/dev/agp/agp_amd64.c:202",
    "sys/dev/agp/agp_amd64.c:207-208",
    "sys/dev/agp/agp_amd64.c:213-214",
    "sys/dev/agp/agp_amd64.c:221-223",
    "sys/dev/agp/agp.c:240-242",
    "sys/dev/agp/agp.c:127-158"
  ],
  "artifacts": [
    "agp_orphan.c",
    "build.sh",
    "run.sh",
    "build.log",
    "run.log",
    "env.txt",
    "VERDICT.md",
    "fix.diff",
    "manifest.json",
    "verdict.json"
  ]
}