β¬’ DragonFlyBSD Kernel Audit
← triage Β· dashboard
DF-5130

ecc_amd8000_attach() executes rdmsr(0x017B)/wrmsr(0x17B) with no CPU vendor/family validation β€” chipset-ID-gated #GP kernel panic (coretemp DF-4735 shape, hardware-gated)

Summary

The only platform gate is the PCI chipset ID match; on a platform-lying config (VMM faking the AMD-8000 memory-controller IDs, passthrough tricks) the rdmsr #GP-panics at attach. Same shape as DF-4735 (coretemp) but the gate device is not emulated by mainstream VMMs - speculative. Compiled into GENERIC (nm-verified). Vendor/family-gate fix.

Discussion (0)

No comments yet.

PoC verification

Evidence pack

findings/poc/DF-5130 Β· 1 files
FileTypeDescriptionSize
verdict.json file 1.0 KB view raw

Fix verification

not_testable
baseline no→ patch + rebuild →patched clean
per-fix-DF-5130

Confirmed kernel references

Detail

Evidence (decisive lines)

source trace in finding markdown

Verified recommended fix

gate MSR access on CPU_VENDOR_AMD + K8 family before ecc_amd8000.c:165

Verdict

untested (Low, latent/speculative; no in-tree trigger or absent hardware - pack minimal, evidence in finding markdown)