DF-5315 / run.log
# DF-5315 baseline, UNPATCHED kernel (fresh boot #2), unprivileged maxx
# (uid 1001, not in operator, /dev/usb/0.2.0 chmod 0666):
# before: USB 16 allocs / 19.8K (vmstat -m)
$ timeout 90 ./df5315 20
[*] t+ 1s: successful opens: 4 + 4
[*] t+ 2s: successful opens: 9 + 9
[*] t+ 3s: successful opens: 14 + 14
[*] t+ 4s: successful opens: 18 + 19
[*] t+ 5s: successful opens: 23 + 24
[*] t+ 6s: successful opens: 30 + 31
[*] t+ 7s: successful opens: 60 + 61 <-- counters freeze here:
[*] t+20s: successful opens: 60 + 61 endpoint refcount_alloc
reached USB_EP_REF_MAX (0x3F)
[+] race done: successful opens: 60 + 61
POST-CLEANUP USB_FS_OPEN FAILED: Cannot allocate memory
=> control-endpoint refcount_alloc exhausted by orphaned xfers
(USB_EP_REF_MAX=0x3f): endpoint dead for ALL consumers until
replug/reboot
RUN_RC=0
# after: USB 331 allocs / 1.02M (+61 orphaned usb_xfer root blocks,
# ~1 MB never-freeable kernel memory; endpoint permanently dead
# even after CLOSE + UNINIT + re-INIT)
# (exploratory run on the previous boot showed the identical signature:
# counters frozen at 60+61 after ~13 s, USB 270->331 allocs, 844K->1.02M)