⬢ DragonFlyBSD Kernel Audit
DF-4811 / manifest.json
← back to finding ↓ download raw
{
  "finding_id": "DF-4811",
  "file": "sys/dev/powermng/aps/aps.c",
  "title": "aps(4) touches I/O port 0x161F in every EC transaction, one byte outside its allocated 0x1f-byte resource window",
  "severity": "Info",
  "confidence": "certain",
  "verdict": "untested",
  "impact": "none",
  "reproduce": {
    "build": "n/a (no PoC binary; static proof)",
    "run": "requires ThinkPad with H8S EC: kldload aps; sysctl hw.sensors.aps0 — every poll touches port 0x161F (outside [0x1600,0x161E])",
    "expected": "no observable failure on real EC hardware; violation is of the rman allocation, detectable only by inspection or a port-tracing hypervisor"
  },
  "kernel_refs": [
    "sys/dev/powermng/aps/aps.c:102",
    "sys/dev/powermng/aps/aps.c:193",
    "sys/dev/powermng/aps/aps.c:210",
    "sys/dev/powermng/aps/aps.c:215",
    "sys/dev/powermng/aps/aps.c:238",
    "sys/dev/powermng/aps/aps.c:284"
  ],
  "artifacts": [
    "README.md",
    "VERDICT.md",
    "verdict.json",
    "fix.diff",
    "manifest.json"
  ]
}