⬢ DragonFlyBSD Kernel Audit
DF-4420 / manifest.json
← back to finding ↓ download raw
{
  "finding_id": "DF-4420",
  "title": "oce_mq_create leaks the CQ (struct + 4KiB DMA ring) on two of three error paths",
  "severity": "Info",
  "bucket": "base:dev",
  "verdict": "untested",
  "impact": "none",
  "confidence": "certain",
  "file": "sys/dev/netif/oce/oce_queue.c",
  "lines": [689, 741, 744, 796],
  "reproduce": {
    "build": "n/a — requires Emulex OneConnect (BE2/BE3/Lancer) hardware whose firmware fails CREATE_MQ_EXT during attach",
    "run": "n/a — guest has no vendor 0x19a2 PCI device (env.txt)",
    "expected": "kbmemleak/kmem统计 would show one sizeof(struct oce_cq) + 256*16B DMA ring leaked per failed probe; not demonstrable without the hardware"
  },
  "kernel_refs": [
    "sys/dev/netif/oce/oce_queue.c:675",
    "sys/dev/netif/oce/oce_queue.c:689",
    "sys/dev/netif/oce/oce_queue.c:735",
    "sys/dev/netif/oce/oce_queue.c:744",
    "sys/dev/netif/oce/oce_queue.c:796"
  ],
  "artifacts": [
    "README.md",
    "VERDICT.md",
    "fix.diff",
    "env.txt",
    "manifest.json",
    "verdict.json"
  ],
  "fix_diff_sha256": "2f676708f97b3120b589613020420c5721a97ce1f8a9ad63250cfd6b687ff6f8"
}