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

run_stop early-return on failed USB read skips run_unsetup_tx_list; the next run_init_locked->run_setup_tx_list memsets the queues, orphaning all queued mbufs and node references (repeatable leak with a wedged/hostile device)

Summary

Three early returns on run_read failure skip the ONLY release of pending data->m/data->ni on the tx rings; next ifconfig up's run_setup_tx_list memsets the queues discarding the pointers wholesale - each up/down cycle on a wedged/hostile device leaks the whole tx backlog -> mbuf/node exhaustion DoS. goto-teardown fix.

Discussion (0)

No comments yet.

PoC verification

Evidence pack

findings/poc/DF-5251 Β· 1 files
FileTypeDescriptionSize
verdict.json file 979 B view raw

Fix verification

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

Confirmed kernel references

Detail

Evidence (decisive lines)

static trace in finding markdown

Verified recommended fix

see finding markdown

Verdict

untested (hardware-gated; static trace + sibling DF-5247 mechanism guest-demonstrated)