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

USB_SETDEBUG sets the global usb_debug level with no privilege check (only FWRITE on the fd) β€” unprivileged kernel-log flooding / console spam

Summary

usb_debug = *(int*)addr gated only by FWRITE: any unpriv 'libusb user' floods console/serial with every USB event's DPRINTF (hw.usb.debug sysctl is root-only). SYSCAP_NODRIVER gate fix.

Discussion (0)

No comments yet.

PoC verification

Evidence pack

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

Fix verification

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

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)