DF-5222 / manifest.json
{ "finding_id": "DF-5222", "file": "sys/dev/drm/drm_memory.c", "verdict": "untested", "impact": "none", "severity": "Info", "confidence": "certain", "poc_intentionally_skipped": true, "skip_reason": "Info hardening finding; zero in-tree callers; only reachable by root-loaded kmods. Contract exempts Low/Info from PoC execution.", "reproduce": { "build": "n/a (no PoC built — conceptual kld proof described in README.md)", "run": "n/a", "expected": "A kmod pairing drm_legacy_ioremap()+drm_legacy_ioremapfree() would leave its struct iomap entry in iomap_list forever (linux_iomapping.c:55 insert; removal only at linux_iomapping.c:99 in iounmap) and skip PAT restore (linux_iomapping.c:88-91)." }, "kernel_refs": [ "sys/dev/drm/drm_memory.c:64-68", "sys/dev/drm/drm_memory.c:70-74", "sys/dev/drm/drm_memory.c:76-83", "sys/dev/drm/linux_iomapping.c:41-59", "sys/dev/drm/linux_iomapping.c:61-103", "sys/dev/drm/include/drm/drm_legacy.h:191-193", "sys/dev/drm/drm_bufs.c:219-222", "sys/dev/drm/drm_bufs.c:524", "sys/dev/drm/drm_ioctl.c:590", "sys/dev/drm/include/asm/io.h:129-132", "sys/dev/drm/include/asm/io.h:146", "sys/platform/pc64/x86_64/pmap.c:6223-6232" ], "artifacts": [ "README.md", "VERDICT.md", "fix.diff", "manifest.json", "verdict.json" ] } |