⬢ DragonFlyBSD Kernel Audit
DF-5157 / manifest.json
← back to finding ↓ download raw
{
  "finding_id": "DF-5157",
  "file": "sys/dev/netif/ath/ath/if_ath_led.c",
  "title": "ath LED blink callout re-armed by draining tx tasks after ath_stop()'s single cancel - UAF on softc/HAL after detach",
  "verdict": "untested",
  "impact": "none",
  "confidence": "likely",
  "reproduce": {
    "build": "n/a (requires real Atheros NIC; QEMU has no ath emulation)",
    "run": "hardware-lab: enable softled (auto on AR5212_DEVID_IBM/AR5211_DEVID or sysctl dev.ath.X.softled=1), run tx traffic, kldunload if_ath / hot-unplug mid-blink; expect ath_led_off into freed softc/HAL within one ledon period",
    "expected": "use-after-free: ath_led_off (if_ath_led.c:166) fires after ath_hal_detach/newbus softc free"
  },
  "kernel_refs": [
    "sys/dev/netif/ath/ath/if_ath_led.c:166",
    "sys/dev/netif/ath/ath/if_ath_led.c:185",
    "sys/dev/netif/ath/ath/if_ath.c:2703",
    "sys/dev/netif/ath/ath/if_ath.c:1416",
    "sys/dev/netif/ath/ath/if_ath.c:4570",
    "sys/kern/subr_taskqueue.c:151"
  ],
  "artifacts": [
    "README.md",
    "VERDICT.md",
    "env.txt",
    "fix.diff",
    "verdict.json",
    "manifest.json"
  ]
}