DF-5310
usb_open() error path after successful fifo opens leaks the opened fifos with curr_cpd pointing at the freed cpd (latent β devfs_set_cdevpriv cannot currently fail for a fresh open)
Summary
If devfs_set_cdevpriv failed, usb_open kfrees cpd without fifo_close - f->curr_cpd dangles and the endpoint is EBUSY forever; a groomed replacement cpd would pointer-match and pass the ownership check. Currently unreachable (fresh-open cdevpriv cannot fail). Close-fifos-then-free hardening.
Discussion (0)
PoC verification
Evidence pack
findings/poc/DF-5310 Β· 1 files| File | Type | Description | Size | |
|---|---|---|---|---|
| verdict.json | file | 931 B | view raw |
Fix verification
not_testablebaseline noβ patch + rebuild βpatched clean
per-fix-DF-5310
Confirmed kernel references
Detail
Evidence (decisive lines)
static trace in finding markdown
Verified recommended fix
see finding markdown
Verdict
untested (Medium ms-window TOCTOU overlapping the verified DF-5287 sink / Info latent)
No comments yet.