⬢ DragonFlyBSD Kernel Audit
DF-5075 / manifest.json
← back to finding ↓ download raw
{
  "finding_id": "DF-5075",
  "title": "v1 command-table helper hub leaves bp->cmd_helper NULL for DCE12/DCN generations on the legacy BIOS parser; construct ignores the failure -- whole-vtable NULL dereference at first BIOS command",
  "verdict": "pass2_confirmed_latent_low",
  "impact_class": "kernel NULL-deref panic (display bring-up), VBIOS/ASIC-mismatch-gated",
  "kernel_refs": [
    "sys/dev/drm/amd/display/dc/bios/command_table_helper.c:34-63",
    "sys/dev/drm/amd/display/dc/bios/command_table_helper.c:58-61",
    "sys/dev/drm/amd/display/dc/bios/bios_parser.c:2936",
    "sys/dev/drm/amd/display/dc/bios/bios_parser.c:100",
    "sys/dev/drm/amd/display/dc/bios/bios_parser.c:2895",
    "sys/dev/drm/amd/display/dc/bios/bios_parser2.c:1948",
    "sys/dev/drm/amd/display/dc/bios/bios_parser_interface.c:41-45",
    "sys/dev/drm/amd/display/dc/core/dc.c:626",
    "sys/dev/drm/amd/display/dc/core/dc.c:641",
    "sys/dev/drm/amd/display/dc/core/dc_resource.c:84-95",
    "sys/dev/drm/amd/display/dc/core/dc_resource.c:138-146",
    "sys/dev/drm/amd/display/dc/bios/command_table_helper2.c:63-75",
    "sys/dev/drm/amd/display/dc/bios/command_table.c:204",
    "sys/dev/drm/amd/display/dc/bios/command_table.c:507"
  ],
  "reproduce": {
    "build": "sh build.sh",
    "run": "sh run.sh",
    "expected": "child dies SIGSEGV at the unguarded indirect call through the NULL vtable; harness exits 42 (userspace semantics demo of the kernel defect chain)"
  },
  "artifacts": [
    "README.md", "VERDICT.md", "trigger_nullhelper.c", "build.sh", "run.sh",
    "build.log", "run.log", "env.txt", "fix.diff", "manifest.json", "verdict.json"
  ]
}