# DF-4418 — e1000_82541: unchecked `read_reg()` in `e1000_phy_init_script_82541()` → uninitialized stack written to PHY registers

- **File**: sys/dev/netif/ig_hal/e1000_82541.c:1108,1153,1159-1164,1180-1182
- **Severity**: Low · **CWE**: CWE-457 · **Confidence**: certain (defect)
- **Status**: untested — no Intel 82541/82547 NIC in the audit QEMU guest;
  trigger additionally requires a failing MDIO read at reset time.

## Build / Run / Expected
Requires 82541/82547 hardware with a faulting MDIO bus during
`e1000_reset_hw_82541()`/`e1000_phy_hw_reset_82541()`. Baseline: init script
continues after failed read and rewrites PHY reg 0x2F5B with uninitialized
stack. Patched: init script aborts to `out:` returning the read error.
See VERDICT.md (also contains the full pass-2 family checklist for this file).

## Artifacts
VERDICT.md · verdict.json · fix.diff · manifest.json
