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

USB_FS_STOP bounds-checks u.pstop->ep_index but indexes the array with u.pstart->ep_index β€” latent union type-confusion, benign only because the two ioctl structs are layout-identical

Summary

Copy-paste union-member mixup: benign today (both structs are a single uint8_t), any divergence turns it into an unchecked index. Use-the-checked-member fix.

Discussion (0)

No comments yet.

PoC verification

Evidence pack

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

Fix verification

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

Confirmed kernel references

Detail

Evidence (decisive lines)

static trace (DF-5317 hunk included in findings/poc/DF-5314/fix.diff)

Verified recommended fix

see finding markdown

Verdict

untested (Info; latent union confusion / one-liner log-flood gate)