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)
PoC verification
Evidence pack
findings/poc/DF-5318 Β· 1 files| File | Type | Description | Size | |
|---|---|---|---|---|
| verdict.json | file | 937 B | view raw |
Fix verification
not_testablebaseline 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)
No comments yet.